]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon (occ): Add sysfs attributes for additional OCC data
authorEddie James <eajames@linux.vnet.ibm.com>
Thu, 8 Nov 2018 21:05:29 +0000 (15:05 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 Dec 2018 23:13:10 +0000 (15:13 -0800)
commitdf04ced684d48f6ec5729ccd034702952160c6b3
treec036e0a54bcbaf44c0d1a973646b3070f9623e69
parent54076cb3b5ff21f6474f5fd254a0b018b24771df
hwmon (occ): Add sysfs attributes for additional OCC data

The OCC provides a variety of additional information about the state of
the host processor, such as throttling, error conditions, and the number
of OCCs detected in the system. This information is essential to service
processor applications such as fan control and host management.
Therefore, export this data in the form of sysfs attributes attached to
the platform device (to which the hwmon device is also attached).

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/occ/Makefile
drivers/hwmon/occ/common.c
drivers/hwmon/occ/common.h
drivers/hwmon/occ/p8_i2c.c
drivers/hwmon/occ/p9_sbe.c
drivers/hwmon/occ/sysfs.c [new file with mode: 0644]