Kconfig 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # SPDX-License-Identifier: GPL-2.0
  2. # Generic register map support. There are no user servicable options here,
  3. # this is an API intended to be used by other kernel subsystems. These
  4. # subsystems should select the appropriate symbols.
  5. config REGMAP
  6. default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SOUNDWIRE || REGMAP_SOUNDWIRE_MBQ || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM || REGMAP_MDIO)
  7. select IRQ_DOMAIN if REGMAP_IRQ
  8. select MDIO_BUS if REGMAP_MDIO
  9. bool
  10. config REGCACHE_COMPRESSED
  11. select LZO_COMPRESS
  12. select LZO_DECOMPRESS
  13. bool
  14. config REGMAP_AC97
  15. tristate
  16. config REGMAP_I2C
  17. tristate
  18. depends on I2C
  19. config REGMAP_SLIMBUS
  20. tristate
  21. depends on SLIMBUS
  22. config REGMAP_SPI
  23. tristate
  24. depends on SPI
  25. config REGMAP_SPMI
  26. tristate
  27. depends on SPMI
  28. config REGMAP_W1
  29. tristate
  30. depends on W1
  31. config REGMAP_MDIO
  32. tristate
  33. config REGMAP_MMIO
  34. tristate
  35. config REGMAP_IRQ
  36. bool
  37. config REGMAP_SOUNDWIRE
  38. tristate
  39. depends on SOUNDWIRE
  40. config REGMAP_SOUNDWIRE_MBQ
  41. tristate
  42. depends on SOUNDWIRE
  43. config REGMAP_SCCB
  44. tristate
  45. depends on I2C
  46. config REGMAP_I3C
  47. tristate
  48. depends on I3C
  49. config REGMAP_SPI_AVMM
  50. tristate
  51. depends on SPI
  52. config REGMAP_QTI_DEBUGFS
  53. tristate "Regmap QTI debug feature support"
  54. depends on REGMAP && DEBUG_FS
  55. help
  56. This library provides a runtime debugfs interface to read and write a
  57. subset of regmap registers. This interface is more performant and
  58. easier to use than the traditional method which dumps all registers
  59. defined in a given regmap.
  60. config REGMAP_QTI_DEBUGFS_ALLOW_WRITE
  61. bool "Allow QTI regmap debugfs write"
  62. depends on REGMAP_QTI_DEBUGFS
  63. help
  64. Say 'y' here to allow regmap debugfs writes within the QTI debugfs
  65. regmap library. Regmap debugfs write could be risky when accessing
  66. essential hardware components, so it is not recommended to enable this
  67. option on production devices.