PM: runtime: Documentation: add runtime_status ABI document
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 3 Sep 2019 13:12:22 +0000 (22:12 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 6 Sep 2019 12:11:13 +0000 (14:11 +0200)
/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>
Documentation/ABI/testing/sysfs-devices-power

index 80a00f7b666709d7edf3c0296753959dd802bcf9..1763e64dd152e834de2c47d21fe6e48090886044 100644 (file)
@@ -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).