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