Skip to contentSkip to conversation

PM-runtime: Documentation: add runtime_status ABI document

PATCH New Akinobu Mita 1 participant 1 message Sep 3, 2019 LED

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

Cc Alan Stern <[email protected]>
Cc Dominik Brodowski <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>

---
* v2
- Change the contact person

 Documentation/ABI/testing/sysfs-devices-power | 9 +++++++++
 1 file changed, 9 insertions(+)
Documentation/ABI/testing/sysfs-devices-power +9 -0
index 80a00f7..1763e64 100644
@@ -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 <[email protected]>
+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).
Signature · 1 line
2.7.4