From: Mauro Carvalho Chehab Date: Mon, 27 Sep 2021 13:59:42 +0000 (+0200) Subject: ABI: sysfs-devices-power: add some debug sysfs files X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5e58808871c1ed9a209bdd38be2b850941ee3aee;p=linux.git 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 Link: https://lore.kernel.org/r/df6c3ae0ffc2dddf73d7a5baf696a4aa260fb576.1632750608.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power index 84694b8fec8ee..1b2a2d41ff801 100644 --- a/Documentation/ABI/testing/sysfs-devices-power +++ b/Documentation/ABI/testing/sysfs-devices-power @@ -283,3 +283,25 @@ Contact: Arjan van de Ven 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 +Description: + Reports the runtime PM usage count of a device. + +What: /sys/devices/.../power/runtime_enabled +Date: Apr 2010 +Contact: Dominik Brodowski +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 +Description: + Reports the runtime PM children usage count of a device, or + 0 if the the children will be ignored. +