fsi: Add On-Chip Controller (OCC) driver
authorEddie James <eajames@linux.vnet.ibm.com>
Thu, 8 Nov 2018 21:05:21 +0000 (15:05 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 3 Dec 2018 00:25:28 +0000 (16:25 -0800)
commit7ed98dddb764eebf2783881a17dc4980181a6e1a
tree10c7ed7ed71f7f0b07172aa7661712932eb3b13c
parent6021c48f3acd68301eacd99ff5dd4744f7b2f288
fsi: Add On-Chip Controller (OCC) driver

The OCC is a device embedded on a POWER processor that collects and
aggregates sensor data from the processor and system. The OCC can
provide the raw sensor data as well as perform thermal and power
management on the system.

This driver provides an atomic communications channel between a service
processor (e.g. a BMC) and the OCC. The driver is dependent on the FSI
SBEFIFO driver to get hardware access through the SBE to the OCC SRAM.
Commands are issued to the SBE to send or fetch data to the SRAM.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/fsi/Kconfig
drivers/fsi/Makefile
drivers/fsi/fsi-occ.c [new file with mode: 0644]
include/linux/fsi-occ.h [new file with mode: 0644]