linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] PM-runtime: Documentation: add runtime_status ABI document
@ 2019-09-01 14:08 Akinobu Mita
  2019-09-01 14:08 ` [PATCH 2/2] PM-runtime: allow userspace to monitor runtime_status changes Akinobu Mita
  2019-09-01 14:23 ` [PATCH 1/2] PM-runtime: Documentation: add runtime_status ABI document Dominik Brodowski
  0 siblings, 2 replies; 7+ messages in thread
From: Akinobu Mita @ 2019-09-01 14:08 UTC (permalink / raw)
  To: linux-leds, linux-pm
  Cc: Akinobu Mita, Alan Stern, Dominik Brodowski, Rafael J. Wysocki

/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 <stern@rowland.harvard.edu>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
 Documentation/ABI/testing/sysfs-devices-power | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power
index 80a00f7..3e50536 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:	Dominik Brodowski <linux@dominikbrodowski.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).
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-03 14:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-01 14:08 [PATCH 1/2] PM-runtime: Documentation: add runtime_status ABI document Akinobu Mita
2019-09-01 14:08 ` [PATCH 2/2] PM-runtime: allow userspace to monitor runtime_status changes Akinobu Mita
2019-09-02 21:47   ` Rafael J. Wysocki
2019-09-03 13:13     ` Akinobu Mita
2019-09-03 14:31       ` Alan Stern
2019-09-01 14:23 ` [PATCH 1/2] PM-runtime: Documentation: add runtime_status ABI document Dominik Brodowski
2019-09-02 21:39   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).