162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# On-Chip Controller configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig SENSORS_OCC_P8_I2C
762306a36Sopenharmony_ci	tristate "POWER8 OCC through I2C"
862306a36Sopenharmony_ci	depends on I2C
962306a36Sopenharmony_ci	select SENSORS_OCC
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	 This option enables support for monitoring sensors provided by the
1262306a36Sopenharmony_ci	 On-Chip Controller (OCC) on a POWER8 processor. However, this driver
1362306a36Sopenharmony_ci	 can only run on a baseboard management controller (BMC) connected to
1462306a36Sopenharmony_ci	 the P8, not the POWER processor itself. Communications with the OCC are
1562306a36Sopenharmony_ci	 established through I2C bus.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci	 This driver can also be built as a module. If so, the module will be
1862306a36Sopenharmony_ci	 called occ-p8-hwmon.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig SENSORS_OCC_P9_SBE
2162306a36Sopenharmony_ci	tristate "POWER9 OCC through SBE"
2262306a36Sopenharmony_ci	depends on FSI_OCC
2362306a36Sopenharmony_ci	select SENSORS_OCC
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	 This option enables support for monitoring sensors provided by the
2662306a36Sopenharmony_ci	 On-Chip Controller (OCC) on a POWER9 processor. However, this driver
2762306a36Sopenharmony_ci	 can only run on a baseboard management controller (BMC) connected to
2862306a36Sopenharmony_ci	 the P9, not the POWER processor itself. Communications with the OCC are
2962306a36Sopenharmony_ci	 established through SBE fifo on an FSI bus.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci	 This driver can also be built as a module. If so, the module will be
3262306a36Sopenharmony_ci	 called occ-p9-hwmon.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig SENSORS_OCC
3562306a36Sopenharmony_ci	tristate
36