blob: 35a7070db82776f3b6efd72b2c47c403f7ff8dda [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Eddie James5b5513b2018-11-08 15:05:24 -06002#
3# On-Chip Controller configuration
4#
5
6config SENSORS_OCC_P8_I2C
7 tristate "POWER8 OCC through I2C"
8 depends on I2C
Jean Delvarec112d752019-04-10 12:56:35 +02009 depends on ARM || ARM64 || COMPILE_TEST
Eddie James5b5513b2018-11-08 15:05:24 -060010 select SENSORS_OCC
11 help
12 This option enables support for monitoring sensors provided by the
Eddie Jamesd2a9b012019-04-16 15:54:28 +000013 On-Chip Controller (OCC) on a POWER8 processor. However, this driver
14 can only run on a baseboard management controller (BMC) connected to
15 the P8, not the POWER processor itself. Communications with the OCC are
16 established through I2C bus.
Eddie James5b5513b2018-11-08 15:05:24 -060017
18 This driver can also be built as a module. If so, the module will be
19 called occ-p8-hwmon.
20
21config SENSORS_OCC_P9_SBE
22 tristate "POWER9 OCC through SBE"
23 depends on FSI_OCC
Jean Delvarec112d752019-04-10 12:56:35 +020024 depends on ARM || ARM64 || COMPILE_TEST
Eddie James5b5513b2018-11-08 15:05:24 -060025 select SENSORS_OCC
26 help
27 This option enables support for monitoring sensors provided by the
Eddie Jamesd2a9b012019-04-16 15:54:28 +000028 On-Chip Controller (OCC) on a POWER9 processor. However, this driver
29 can only run on a baseboard management controller (BMC) connected to
30 the P9, not the POWER processor itself. Communications with the OCC are
31 established through SBE fifo on an FSI bus.
Eddie James5b5513b2018-11-08 15:05:24 -060032
33 This driver can also be built as a module. If so, the module will be
34 called occ-p9-hwmon.
35
36config SENSORS_OCC
Jean Delvare5679ed92019-04-10 12:47:26 +020037 tristate