On Tue, Jan 31, 2017 at 09:43:56AM -0600, eajames@xxxxxxxxxxxxxxxxxx wrote:From: "Edward A. James" <eajames@xxxxxxxxxx>
Add code to tie the hwmon sysfs code and the POWER8 OCC code together, as
well as probe the entire driver from the I2C bus. I2C is the communication
method between the BMC and the P8 OCC.
Signed-off-by: Edward A. James <eajames@xxxxxxxxxx>
Signed-off-by: Andrew Jeffery <andrew@xxxxxxxx>
---
Documentation/devicetree/bindings/hwmon/occ.txt | 13 +++
Please add acks when posting new versions.
Acked-by: Rob Herring <robh@xxxxxxxxxx>
drivers/hwmon/occ/Kconfig | 14 ++++
drivers/hwmon/occ/Makefile | 1 +
drivers/hwmon/occ/p8_occ_i2c.c | 104 ++++++++++++++++++++++++
4 files changed, 132 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/occ.txt
create mode 100644 drivers/hwmon/occ/p8_occ_i2c.c