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 6config REGMAP 7 bool 8 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) 9 help 10 Enable support for the Register Map (regmap) access API. 11 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 16 If unsure, say N. 17 18config REGMAP_KUNIT 19 tristate "KUnit tests for regmap" 20 depends on KUNIT && REGMAP 21 default KUNIT_ALL_TESTS 22 select REGMAP_RAM 23 24config REGMAP_BUILD 25 bool "Enable regmap build" 26 depends on KUNIT 27 select REGMAP 28 help 29 This option exists purely to allow the regmap KUnit tests to 30 be enabled without having to enable some driver that uses 31 regmap due to unfortunate issues with how KUnit tests are 32 normally enabled. 33 34config REGMAP_AC97 35 tristate 36 37config REGMAP_I2C 38 tristate 39 depends on I2C 40 41config REGMAP_SLIMBUS 42 tristate 43 depends on SLIMBUS 44 45config REGMAP_SPI 46 tristate 47 depends on SPI 48 49config REGMAP_SPMI 50 tristate 51 depends on SPMI 52 53config REGMAP_W1 54 tristate 55 depends on W1 56 57config REGMAP_MDIO 58 tristate 59 select MDIO_BUS 60 61config REGMAP_MMIO 62 tristate 63 64config REGMAP_IRQ 65 bool 66 select IRQ_DOMAIN 67 68config REGMAP_RAM 69 tristate 70 71config REGMAP_SOUNDWIRE 72 tristate 73 depends on SOUNDWIRE 74 75config REGMAP_SOUNDWIRE_MBQ 76 tristate 77 depends on SOUNDWIRE 78 79config REGMAP_SCCB 80 tristate 81 depends on I2C 82 83config REGMAP_I3C 84 tristate 85 depends on I3C 86 87config REGMAP_SPI_AVMM 88 tristate 89 depends on SPI 90 91config REGMAP_FSI 92 tristate 93 depends on FSI 94