summaryrefslogtreecommitdiffstats
path: root/i2c_occ.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Add I2C OCC support for P8 systemsLei YU2017-08-281-0/+69
P8 system uses I2C OCC and it uses different driver for occ-hwmon. Add `--enable-i2c-occ` configure option to enable the support. It searches i2c device names in sysfs to get all occ-hwmon devices and use the i2c device name to bind/unbind the driver. The occ control object path for I2C OCC hwmon becomes something like /org/open_power/control/3_0050, where 3_0050 is the i2c address. Change-Id: I8b9d8d4429c563528dc88fb2679b265c53d7a2d5 Signed-off-by: Lei YU <mine260309@gmail.com>
OpenPOWER on IntegriCloud