xref: /openbmc/linux/drivers/hwmon/occ/Kconfig (revision 023e4163)
1#
2# On-Chip Controller configuration
3#
4
5config SENSORS_OCC_P8_I2C
6	tristate "POWER8 OCC through I2C"
7	depends on I2C
8	select SENSORS_OCC
9	help
10	 This option enables support for monitoring sensors provided by the
11	 On-Chip Controller (OCC) on a POWER8 processor. Communications with
12	 the OCC are established through I2C bus.
13
14	 This driver can also be built as a module. If so, the module will be
15	 called occ-p8-hwmon.
16
17config SENSORS_OCC_P9_SBE
18	tristate "POWER9 OCC through SBE"
19	depends on FSI_OCC
20	select SENSORS_OCC
21	help
22	 This option enables support for monitoring sensors provided by the
23	 On-Chip Controller (OCC) on a POWER9 processor. Communications with
24	 the OCC are established through SBE fifo on an FSI bus.
25
26	 This driver can also be built as a module. If so, the module will be
27	 called occ-p9-hwmon.
28
29config SENSORS_OCC
30	bool "POWER On-Chip Controller"
31	depends on SENSORS_OCC_P8_I2C || SENSORS_OCC_P9_SBE
32