Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. bool
  7. 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 || REGMAP_FSI)
  8. select IRQ_DOMAIN if REGMAP_IRQ
  9. select MDIO_BUS if REGMAP_MDIO
  10. help
  11. Enable support for the Register Map (regmap) access API.
  12. Usually, this option is automatically selected when needed.
  13. However, you may want to enable it manually for running the regmap
  14. KUnit tests.
  15. If unsure, say N.
  16. config REGMAP_KUNIT
  17. tristate "KUnit tests for regmap"
  18. depends on KUNIT && REGMAP
  19. default KUNIT_ALL_TESTS
  20. select REGMAP_RAM
  21. config REGMAP_BUILD
  22. bool "Enable regmap build"
  23. depends on KUNIT
  24. select REGMAP
  25. help
  26. This option exists purely to allow the regmap KUnit tests to
  27. be enabled without having to enable some driver that uses
  28. regmap due to unfortunate issues with how KUnit tests are
  29. normally enabled.
  30. config REGMAP_AC97
  31. tristate
  32. config REGMAP_I2C
  33. tristate
  34. depends on I2C
  35. config REGMAP_SLIMBUS
  36. tristate
  37. depends on SLIMBUS
  38. config REGMAP_SPI
  39. tristate
  40. depends on SPI
  41. config REGMAP_SPMI
  42. tristate
  43. depends on SPMI
  44. config REGMAP_W1
  45. tristate
  46. depends on W1
  47. config REGMAP_MDIO
  48. tristate
  49. config REGMAP_MMIO
  50. tristate
  51. config REGMAP_IRQ
  52. bool
  53. config REGMAP_RAM
  54. tristate
  55. config REGMAP_SOUNDWIRE
  56. tristate
  57. depends on SOUNDWIRE
  58. config REGMAP_SOUNDWIRE_MBQ
  59. tristate
  60. depends on SOUNDWIRE
  61. config REGMAP_SCCB
  62. tristate
  63. depends on I2C
  64. config REGMAP_I3C
  65. tristate
  66. depends on I3C
  67. config REGMAP_SPI_AVMM
  68. tristate
  69. depends on SPI
  70. config REGMAP_FSI
  71. tristate
  72. depends on FSI