xref: /openbmc/linux/drivers/hwmon/occ/Kconfig (revision b830f94f)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# On-Chip Controller configuration
4#
5
6config SENSORS_OCC_P8_I2C
7	tristate "POWER8 OCC through I2C"
8	depends on I2C
9	depends on ARM || ARM64 || COMPILE_TEST
10	select SENSORS_OCC
11	help
12	 This option enables support for monitoring sensors provided by the
13	 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.
17
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
24	depends on ARM || ARM64 || COMPILE_TEST
25	select SENSORS_OCC
26	help
27	 This option enables support for monitoring sensors provided by the
28	 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.
32
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
37	tristate
38