2021-09-27 14:02:01

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH 09/17] ABI: sysfs-devices-power: add some debug sysfs files

Those files were added back in Apr 2010, but there's no
documentation for them yet.

Fixes: c92445fadb91 ("PM / Runtime: Add sysfs debug files")
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---

See [PATCH 00/17] at: https://lore.kernel.org/all/[email protected]/

Documentation/ABI/testing/sysfs-devices-power | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power
index 84694b8fec8e..1b2a2d41ff80 100644
--- a/Documentation/ABI/testing/sysfs-devices-power
+++ b/Documentation/ABI/testing/sysfs-devices-power
@@ -283,3 +283,25 @@ Contact: Arjan van de Ven <[email protected]>
Description:
Reports total time that the device has been suspended.
Used for runtime PM statistics.
+
+What: /sys/devices/.../power/runtime_usage
+Date: Apr 2010
+Contact: Dominik Brodowski <[email protected]>
+Description:
+ Reports the runtime PM usage count of a device.
+
+What: /sys/devices/.../power/runtime_enabled
+Date: Apr 2010
+Contact: Dominik Brodowski <[email protected]>
+Description:
+ Is runtime PM enabled for this device?
+ States are "enabled", "disabled", "forbidden" or a
+ combination of the latter two.
+
+What: /sys/devices/.../power/runtime_active_kids
+Date: Apr 2010
+Contact: Dominik Brodowski <[email protected]>
+Description:
+ Reports the runtime PM children usage count of a device, or
+ 0 if the the children will be ignored.
+
--
2.31.1