^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # On-Chip Controller configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config SENSORS_OCC_P8_I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) tristate "POWER8 OCC through I2C"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) depends on ARM || ARM64 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) select SENSORS_OCC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) This option enables support for monitoring sensors provided by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) On-Chip Controller (OCC) on a POWER8 processor. However, this driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) can only run on a baseboard management controller (BMC) connected to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) the P8, not the POWER processor itself. Communications with the OCC are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) established through I2C bus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) This driver can also be built as a module. If so, the module will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) called occ-p8-hwmon.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) config SENSORS_OCC_P9_SBE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) tristate "POWER9 OCC through SBE"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) depends on FSI_OCC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) depends on ARM || ARM64 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) select SENSORS_OCC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) This option enables support for monitoring sensors provided by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) On-Chip Controller (OCC) on a POWER9 processor. However, this driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) can only run on a baseboard management controller (BMC) connected to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) the P9, not the POWER processor itself. Communications with the OCC are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) established through SBE fifo on an FSI bus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) This driver can also be built as a module. If so, the module will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) called occ-p9-hwmon.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) config SENSORS_OCC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) tristate