]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (occ) Add sysfs entries for additional extended status bits
authorEddie James <eajames@linux.ibm.com>
Tue, 15 Feb 2022 15:10:21 +0000 (09:10 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:19 +0000 (17:03 -0800)
commit9b5c9e0e3ee4ad4cf92480a2286d43ccbd95eaeb
tree20911a6a85ef6fcfdbb68fa89bbac2f64a0e0c17
parent2a6a70b49cc2ae78e2785d996c79796f4168fc28
hwmon: (occ) Add sysfs entries for additional extended status bits

Add sysfs entries for DVFS due to a VRM Vdd over-temperature condition,
and add the GPU throttling condition bits (such that if bit 1 is set,
GPU1 is throttling).

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220215151022.7498-4-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/occ/sysfs.c