Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # FSI subsystem
  4. #
  5. menuconfig FSI
  6. tristate "FSI support"
  7. depends on OF
  8. select CRC4
  9. help
  10. FSI - the FRU Support Interface - is a simple bus for low-level
  11. access to POWER-based hardware.
  12. if FSI
  13. config FSI_NEW_DEV_NODE
  14. bool "Create '/dev/fsi' directory for char devices"
  15. default n
  16. help
  17. This option causes char devices created for FSI devices to be
  18. located under a common /dev/fsi/ directory. Set to N unless your
  19. userspace has been updated to handle the new location.
  20. Additionally, it also causes the char device names to be offset
  21. by one so that chip 0 will have /dev/scom1 and chip1 /dev/scom2
  22. to match old userspace expectations.
  23. New userspace will use udev rules to generate predictable access
  24. symlinks in /dev/fsi/by-path when this option is enabled.
  25. config FSI_MASTER_GPIO
  26. tristate "GPIO-based FSI master"
  27. depends on GPIOLIB
  28. select CRC4
  29. help
  30. This option enables a FSI master driver using GPIO lines.
  31. config FSI_MASTER_HUB
  32. tristate "FSI hub master"
  33. help
  34. This option enables a FSI hub master driver. Hub is a type of FSI
  35. master that is connected to the upstream master via a slave. Hubs
  36. allow chaining of FSI links to an arbitrary depth. This allows for
  37. a high target device fanout.
  38. config FSI_MASTER_AST_CF
  39. tristate "FSI master based on Aspeed ColdFire coprocessor"
  40. depends on GPIOLIB
  41. depends on GPIO_ASPEED
  42. select GENERIC_ALLOCATOR
  43. help
  44. This option enables a FSI master using the AST2400 and AST2500 GPIO
  45. lines driven by the internal ColdFire coprocessor. This requires
  46. the corresponding machine specific ColdFire firmware to be available.
  47. config FSI_MASTER_ASPEED
  48. tristate "FSI ASPEED master"
  49. depends on HAS_IOMEM
  50. help
  51. This option enables a FSI master that is present behind an OPB bridge
  52. in the AST2600.
  53. Enable it for your BMC kernel in an OpenPower or IBM Power system.
  54. config FSI_MASTER_I2CR
  55. tristate "IBM I2C Responder virtual FSI master"
  56. depends on I2C
  57. help
  58. This option enables a virtual FSI master in order to access a CFAM
  59. behind an IBM I2C Responder (I2CR) chip. The I2CR is an I2C device
  60. that translates I2C commands to CFAM or SCOM operations, effectively
  61. implementing an FSI master and bus.
  62. config FSI_SCOM
  63. tristate "SCOM FSI client device driver"
  64. help
  65. This option enables an FSI based SCOM device driver.
  66. config FSI_SBEFIFO
  67. tristate "SBEFIFO FSI client device driver"
  68. depends on OF_ADDRESS
  69. help
  70. This option enables an FSI based SBEFIFO device driver. The SBEFIFO is
  71. a pipe-like FSI device for communicating with the self boot engine
  72. (SBE) on POWER processors.
  73. config FSI_OCC
  74. tristate "OCC SBEFIFO client device driver"
  75. depends on FSI_SBEFIFO
  76. help
  77. This option enables an SBEFIFO based On-Chip Controller (OCC) device
  78. driver. The OCC is a device embedded on a POWER processor that collects
  79. and aggregates sensor data from the processor and system. The OCC can
  80. provide the raw sensor data as well as perform thermal and power
  81. management on the system.
  82. config I2CR_SCOM
  83. tristate "IBM I2C Responder SCOM driver"
  84. depends on FSI_MASTER_I2CR
  85. help
  86. This option enables an I2C Responder based SCOM device driver. The
  87. I2CR has the capability to directly perform SCOM operations instead
  88. of using the FSI2PIB engine.
  89. endif