]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bd3607a918a683b760edfc2bdf245306b1c566e
treebd8e64a1e06307ef79cc4ef34c04134fd5f514b1
parenta20019ce92b060fa2bbfc21a721734f10876fb3d
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