[PATCH linux] [PATCH] HWMON: Add OCC hwmon driver
OpenBMC Patches
openbmc-patches at stwcx.xyz
Tue Jan 5 18:00:33 AEDT 2016
This patch add a hwmon driver for BMC to monitor POWER CPU sensors
via OCC (On-Chip-Controller).
Changes for this version:
1. Fixed checkpatch.pl warnings and errors.
2. Fixed issue from Joel Stanley's review
3. Add a new sysfs interface: '/sys/class/i2c-adaptor/i2c-x/x-yyyy/online',
to notify the driver OCC is active.
4. Use device table to instantiate the occ-i2c device.
Signed-off-by: Yi Li <adamliyi at msn.com>
https://github.com/openbmc/linux/pull/36
Yi Li (1):
HWMON: Add OCC hwmon driver
arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 10 +
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 7 +
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/occ_i2c.c | 1339 ++++++++++++++++++++++++
5 files changed, 1367 insertions(+)
create mode 100644 drivers/hwmon/occ_i2c.c
--
2.6.4
More information about the openbmc
mailing list