hwmon (occ): Add command transport method for P8 and P9
authorEddie James <eajames@linux.vnet.ibm.com>
Thu, 8 Nov 2018 21:05:25 +0000 (15:05 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 Dec 2018 23:13:08 +0000 (15:13 -0800)
commit88be37c07c1524102aed5736094cfacf24407b46
treebd8e64a1e06307ef79cc4ef34c04134fd5f514b1
parent5b5513b8800291226a8fa63fd22a14cc235b313e
hwmon (occ): Add command transport method for P8 and P9

For the P8 OCC, add the procedure to send a command to the OCC over I2C
bus. This involves writing the OCC command registers with serial
communication operations (SCOMs) interpreted by the I2C slave. For the
P9 OCC, add a procedure to use the OCC in-kernel API to send a command
to the OCC through the SBE.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/occ/p8_i2c.c
drivers/hwmon/occ/p9_sbe.c