summary refs log tree commit diff
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2019-09-03 22:12:22 +0900
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-09-06 14:11:13 +0200
commit0760bb9ac9e71e7799e377ef7d31302c60c3418d (patch)
tree80003dcc40bd2b63436123746c1add3136242351
parent089cf7f6ecb266b6a4164919a2e69bd2f938374a (diff)
downloadlinux-0760bb9ac9e71e7799e377ef7d31302c60c3418d.tar.gz
PM: runtime: Documentation: add runtime_status ABI document
/sys/devices/.../power/runtime_status is introduced by commit c92445fadb91
("PM / Runtime: Add sysfs debug files").  Then commit 0fcb4eef8294 ("PM /
Runtime: Make runtime_status attribute not debug-only (v. 2)") made the
runtime_status attribute available without CONFIG_PM_ADVANCED_DEBUG.

This adds missing runtime_status ABI document.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--Documentation/ABI/testing/sysfs-devices-power9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power
index 80a00f7b6667..1763e64dd152 100644
--- a/Documentation/ABI/testing/sysfs-devices-power
+++ b/Documentation/ABI/testing/sysfs-devices-power
@@ -260,3 +260,12 @@ Description:
 
 		This attribute has no effect on system-wide suspend/resume and
 		hibernation.
+
+What:		/sys/devices/.../power/runtime_status
+Date:		April 2010
+Contact:	Rafael J. Wysocki <rjw@rjwysocki.net>
+Description:
+		The /sys/devices/.../power/runtime_status attribute contains
+		the current runtime PM status of the device, which may be
+		"suspended", "suspending", "resuming", "active", "error" (fatal
+		error), or "unsupported" (runtime PM is disabled).