0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # FSI subsystem
0004 #
0005
0006 menuconfig FSI
0007 tristate "FSI support"
0008 depends on OF
0009 select CRC4
0010 help
0011 FSI - the FRU Support Interface - is a simple bus for low-level
0012 access to POWER-based hardware.
0013
0014 if FSI
0015
0016 config FSI_NEW_DEV_NODE
0017 bool "Create '/dev/fsi' directory for char devices"
0018 default n
0019 help
0020 This option causes char devices created for FSI devices to be
0021 located under a common /dev/fsi/ directory. Set to N unless your
0022 userspace has been updated to handle the new location.
0023
0024 Additionally, it also causes the char device names to be offset
0025 by one so that chip 0 will have /dev/scom1 and chip1 /dev/scom2
0026 to match old userspace expectations.
0027
0028 New userspace will use udev rules to generate predictable access
0029 symlinks in /dev/fsi/by-path when this option is enabled.
0030
0031 config FSI_MASTER_GPIO
0032 tristate "GPIO-based FSI master"
0033 depends on GPIOLIB
0034 select CRC4
0035 help
0036 This option enables a FSI master driver using GPIO lines.
0037
0038 config FSI_MASTER_HUB
0039 tristate "FSI hub master"
0040 help
0041 This option enables a FSI hub master driver. Hub is a type of FSI
0042 master that is connected to the upstream master via a slave. Hubs
0043 allow chaining of FSI links to an arbitrary depth. This allows for
0044 a high target device fanout.
0045
0046 config FSI_MASTER_AST_CF
0047 tristate "FSI master based on Aspeed ColdFire coprocessor"
0048 depends on GPIOLIB
0049 depends on GPIO_ASPEED
0050 select GENERIC_ALLOCATOR
0051 help
0052 This option enables a FSI master using the AST2400 and AST2500 GPIO
0053 lines driven by the internal ColdFire coprocessor. This requires
0054 the corresponding machine specific ColdFire firmware to be available.
0055
0056 config FSI_MASTER_ASPEED
0057 tristate "FSI ASPEED master"
0058 depends on HAS_IOMEM
0059 help
0060 This option enables a FSI master that is present behind an OPB bridge
0061 in the AST2600.
0062
0063 Enable it for your BMC kernel in an OpenPower or IBM Power system.
0064
0065 config FSI_SCOM
0066 tristate "SCOM FSI client device driver"
0067 help
0068 This option enables an FSI based SCOM device driver.
0069
0070 config FSI_SBEFIFO
0071 tristate "SBEFIFO FSI client device driver"
0072 depends on OF_ADDRESS
0073 help
0074 This option enables an FSI based SBEFIFO device driver. The SBEFIFO is
0075 a pipe-like FSI device for communicating with the self boot engine
0076 (SBE) on POWER processors.
0077
0078 config FSI_OCC
0079 tristate "OCC SBEFIFO client device driver"
0080 depends on FSI_SBEFIFO
0081 help
0082 This option enables an SBEFIFO based On-Chip Controller (OCC) device
0083 driver. The OCC is a device embedded on a POWER processor that collects
0084 and aggregates sensor data from the processor and system. The OCC can
0085 provide the raw sensor data as well as perform thermal and power
0086 management on the system.
0087
0088 endif