18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# On-Chip Controller configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig SENSORS_OCC_P8_I2C
78c2ecf20Sopenharmony_ci	tristate "POWER8 OCC through I2C"
88c2ecf20Sopenharmony_ci	depends on I2C
98c2ecf20Sopenharmony_ci	depends on ARM || ARM64 || COMPILE_TEST
108c2ecf20Sopenharmony_ci	select SENSORS_OCC
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	 This option enables support for monitoring sensors provided by the
138c2ecf20Sopenharmony_ci	 On-Chip Controller (OCC) on a POWER8 processor. However, this driver
148c2ecf20Sopenharmony_ci	 can only run on a baseboard management controller (BMC) connected to
158c2ecf20Sopenharmony_ci	 the P8, not the POWER processor itself. Communications with the OCC are
168c2ecf20Sopenharmony_ci	 established through I2C bus.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci	 This driver can also be built as a module. If so, the module will be
198c2ecf20Sopenharmony_ci	 called occ-p8-hwmon.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciconfig SENSORS_OCC_P9_SBE
228c2ecf20Sopenharmony_ci	tristate "POWER9 OCC through SBE"
238c2ecf20Sopenharmony_ci	depends on FSI_OCC
248c2ecf20Sopenharmony_ci	depends on ARM || ARM64 || COMPILE_TEST
258c2ecf20Sopenharmony_ci	select SENSORS_OCC
268c2ecf20Sopenharmony_ci	help
278c2ecf20Sopenharmony_ci	 This option enables support for monitoring sensors provided by the
288c2ecf20Sopenharmony_ci	 On-Chip Controller (OCC) on a POWER9 processor. However, this driver
298c2ecf20Sopenharmony_ci	 can only run on a baseboard management controller (BMC) connected to
308c2ecf20Sopenharmony_ci	 the P9, not the POWER processor itself. Communications with the OCC are
318c2ecf20Sopenharmony_ci	 established through SBE fifo on an FSI bus.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	 This driver can also be built as a module. If so, the module will be
348c2ecf20Sopenharmony_ci	 called occ-p9-hwmon.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciconfig SENSORS_OCC
378c2ecf20Sopenharmony_ci	tristate
38