mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
6d270868cd
Commit c112d75840
("hwmon: OCC drivers are ARM-only") made the OCC
sensor drivers not selectable on powerpc64:
These drivers are for a BMC inside PowerPC servers. The BMC runs on
ARM hardware, so only propose the drivers on this architecture, unless
build-testing.
... but we now have a powerpc64 BMC (still for a powerpc64 host), so
drop the `depends on` that excludes building for this platform.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Acked-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20221024081527.3842565-1-jk@codeconstruct.com.au
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# On-Chip Controller configuration
|
|
#
|
|
|
|
config SENSORS_OCC_P8_I2C
|
|
tristate "POWER8 OCC through I2C"
|
|
depends on I2C
|
|
select SENSORS_OCC
|
|
help
|
|
This option enables support for monitoring sensors provided by the
|
|
On-Chip Controller (OCC) on a POWER8 processor. However, this driver
|
|
can only run on a baseboard management controller (BMC) connected to
|
|
the P8, not the POWER processor itself. Communications with the OCC are
|
|
established through I2C bus.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called occ-p8-hwmon.
|
|
|
|
config SENSORS_OCC_P9_SBE
|
|
tristate "POWER9 OCC through SBE"
|
|
depends on FSI_OCC
|
|
select SENSORS_OCC
|
|
help
|
|
This option enables support for monitoring sensors provided by the
|
|
On-Chip Controller (OCC) on a POWER9 processor. However, this driver
|
|
can only run on a baseboard management controller (BMC) connected to
|
|
the P9, not the POWER processor itself. Communications with the OCC are
|
|
established through SBE fifo on an FSI bus.
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
called occ-p9-hwmon.
|
|
|
|
config SENSORS_OCC
|
|
tristate
|