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

From: Mauro Carvalho Chehab
Date: Mon Sep 27 2021 - 10:00:04 EST


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 <mchehab+huawei@xxxxxxxxxx>
---

See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@xxxxxxxxxx/

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 <arjan@xxxxxxxxxxxxxxx>
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 <linux@xxxxxxxxxxxxxxxxxxxx>
+Description:
+ Reports the runtime PM usage count of a device.
+
+What: /sys/devices/.../power/runtime_enabled
+Date: Apr 2010
+Contact: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
+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 <linux@xxxxxxxxxxxxxxxxxxxx>
+Description:
+ Reports the runtime PM children usage count of a device, or
+ 0 if the the children will be ignored.
+
--
2.31.1