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