]> git.baikalelectronics.ru Git - kernel.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)
commitfb4966a7af09bf44b6ab00c2449becb9fda0d601
treec036e0a54bcbaf44c0d1a973646b3070f9623e69
parent7f7992ddbea645d2cebdea0976e9b3245a72822a
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]