2019-05-19 13:07:45 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-02-01 10:53:41 -06:00
|
|
|
#
|
|
|
|
# FSI subsystem
|
|
|
|
#
|
|
|
|
|
2017-12-03 12:09:26 +01:00
|
|
|
menuconfig FSI
|
2017-02-01 10:53:41 -06:00
|
|
|
tristate "FSI support"
|
2018-02-12 15:45:45 +10:30
|
|
|
depends on OF
|
2017-06-06 16:08:42 -05:00
|
|
|
select CRC4
|
2020-06-14 01:50:22 +09:00
|
|
|
help
|
2017-02-01 10:53:41 -06:00
|
|
|
FSI - the FRU Support Interface - is a simple bus for low-level
|
|
|
|
access to POWER-based hardware.
|
2017-06-06 16:08:54 -05:00
|
|
|
|
|
|
|
if FSI
|
|
|
|
|
2018-06-20 15:22:52 +10:00
|
|
|
config FSI_NEW_DEV_NODE
|
|
|
|
bool "Create '/dev/fsi' directory for char devices"
|
|
|
|
default n
|
2020-06-14 01:50:22 +09:00
|
|
|
help
|
2018-06-20 15:22:52 +10:00
|
|
|
This option causes char devices created for FSI devices to be
|
|
|
|
located under a common /dev/fsi/ directory. Set to N unless your
|
|
|
|
userspace has been updated to handle the new location.
|
|
|
|
|
|
|
|
Additionally, it also causes the char device names to be offset
|
|
|
|
by one so that chip 0 will have /dev/scom1 and chip1 /dev/scom2
|
|
|
|
to match old userspace expectations.
|
|
|
|
|
|
|
|
New userspace will use udev rules to generate predictable access
|
|
|
|
symlinks in /dev/fsi/by-path when this option is enabled.
|
|
|
|
|
2017-06-06 16:08:54 -05:00
|
|
|
config FSI_MASTER_GPIO
|
|
|
|
tristate "GPIO-based FSI master"
|
|
|
|
depends on GPIOLIB
|
|
|
|
select CRC4
|
2020-06-14 01:50:22 +09:00
|
|
|
help
|
2017-06-06 16:08:54 -05:00
|
|
|
This option enables a FSI master driver using GPIO lines.
|
|
|
|
|
2017-06-06 16:08:57 -05:00
|
|
|
config FSI_MASTER_HUB
|
|
|
|
tristate "FSI hub master"
|
2020-06-14 01:50:22 +09:00
|
|
|
help
|
2017-06-06 16:08:57 -05:00
|
|
|
This option enables a FSI hub master driver. Hub is a type of FSI
|
|
|
|
master that is connected to the upstream master via a slave. Hubs
|
|
|
|
allow chaining of FSI links to an arbitrary depth. This allows for
|
|
|
|
a high target device fanout.
|
|
|
|
|
2018-06-12 09:55:04 +10:00
|
|
|
config FSI_MASTER_AST_CF
|
|
|
|
tristate "FSI master based on Aspeed ColdFire coprocessor"
|
|
|
|
depends on GPIOLIB
|
|
|
|
depends on GPIO_ASPEED
|
2018-08-14 00:37:18 +02:00
|
|
|
select GENERIC_ALLOCATOR
|
2020-06-14 01:50:22 +09:00
|
|
|
help
|
2018-06-12 09:55:04 +10:00
|
|
|
This option enables a FSI master using the AST2400 and AST2500 GPIO
|
|
|
|
lines driven by the internal ColdFire coprocessor. This requires
|
|
|
|
the corresponding machine specific ColdFire firmware to be available.
|
|
|
|
|
2019-11-08 15:49:43 +10:30
|
|
|
config FSI_MASTER_ASPEED
|
|
|
|
tristate "FSI ASPEED master"
|
2020-01-31 14:18:32 +10:30
|
|
|
depends on HAS_IOMEM
|
2019-11-08 15:49:43 +10:30
|
|
|
help
|
|
|
|
This option enables a FSI master that is present behind an OPB bridge
|
|
|
|
in the AST2600.
|
|
|
|
|
|
|
|
Enable it for your BMC kernel in an OpenPower or IBM Power system.
|
|
|
|
|
2023-06-12 14:56:56 -05:00
|
|
|
config FSI_MASTER_I2CR
|
|
|
|
tristate "IBM I2C Responder virtual FSI master"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
This option enables a virtual FSI master in order to access a CFAM
|
|
|
|
behind an IBM I2C Responder (I2CR) chip. The I2CR is an I2C device
|
|
|
|
that translates I2C commands to CFAM or SCOM operations, effectively
|
|
|
|
implementing an FSI master and bus.
|
|
|
|
|
2017-06-06 16:08:56 -05:00
|
|
|
config FSI_SCOM
|
|
|
|
tristate "SCOM FSI client device driver"
|
2020-06-14 01:50:22 +09:00
|
|
|
help
|
2017-06-06 16:08:56 -05:00
|
|
|
This option enables an FSI based SCOM device driver.
|
|
|
|
|
2018-05-17 15:58:00 +10:00
|
|
|
config FSI_SBEFIFO
|
|
|
|
tristate "SBEFIFO FSI client device driver"
|
2018-07-03 06:43:49 -07:00
|
|
|
depends on OF_ADDRESS
|
2020-06-14 01:50:22 +09:00
|
|
|
help
|
2018-05-17 15:58:00 +10:00
|
|
|
This option enables an FSI based SBEFIFO device driver. The SBEFIFO is
|
|
|
|
a pipe-like FSI device for communicating with the self boot engine
|
|
|
|
(SBE) on POWER processors.
|
|
|
|
|
2018-11-08 15:05:21 -06:00
|
|
|
config FSI_OCC
|
|
|
|
tristate "OCC SBEFIFO client device driver"
|
|
|
|
depends on FSI_SBEFIFO
|
2020-06-14 01:50:22 +09:00
|
|
|
help
|
2018-11-08 15:05:21 -06:00
|
|
|
This option enables an SBEFIFO based On-Chip Controller (OCC) device
|
|
|
|
driver. The OCC is a device embedded on a POWER processor that collects
|
|
|
|
and aggregates sensor data from the processor and system. The OCC can
|
|
|
|
provide the raw sensor data as well as perform thermal and power
|
|
|
|
management on the system.
|
|
|
|
|
2023-06-12 14:56:57 -05:00
|
|
|
config I2CR_SCOM
|
|
|
|
tristate "IBM I2C Responder SCOM driver"
|
|
|
|
depends on FSI_MASTER_I2CR
|
|
|
|
help
|
|
|
|
This option enables an I2C Responder based SCOM device driver. The
|
|
|
|
I2CR has the capability to directly perform SCOM operations instead
|
|
|
|
of using the FSI2PIB engine.
|
|
|
|
|
2017-06-06 16:08:54 -05:00
|
|
|
endif
|