ABI: sysfs-devices-power: add some debug sysfs files
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 27 Sep 2021 13:59:42 +0000 (15:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Sep 2021 10:48:15 +0000 (12:48 +0200)
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@kernel.org>
Link: https://lore.kernel.org/r/df6c3ae0ffc2dddf73d7a5baf696a4aa260fb576.1632750608.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-devices-power

index 84694b8fec8ee253084dd2f74024690772b013df..1b2a2d41ff8013f5509a657dd9c54e0f8e7b4a67 100644 (file)
@@ -283,3 +283,25 @@ Contact:   Arjan van de Ven <arjan@linux.intel.com>
 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@dominikbrodowski.net>
+Description:
+               Reports the runtime PM usage count of a device.
+
+What:          /sys/devices/.../power/runtime_enabled
+Date:          Apr 2010
+Contact:       Dominik Brodowski <linux@dominikbrodowski.net>
+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@dominikbrodowski.net>
+Description:
+               Reports the runtime PM children usage count of a device, or
+               0 if the the children will be ignored.
+