xref: /linux/drivers/base/regmap/Kconfig (revision 890ca861f868a10617029ffc87eae7d48ea6876c)
1# Generic register map support.  There are no user servicable options here,
2# this is an API intended to be used by other kernel subsystems.  These
3# subsystems should select the appropriate symbols.
4
5config REGMAP
6	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_MMIO || REGMAP_IRQ)
7	select LZO_COMPRESS
8	select LZO_DECOMPRESS
9	select IRQ_DOMAIN if REGMAP_IRQ
10	bool
11
12config REGMAP_I2C
13	tristate
14	depends on I2C
15
16config REGMAP_SPI
17	tristate
18	depends on SPI
19
20config REGMAP_SPMI
21	tristate
22	depends on SPMI
23
24config REGMAP_MMIO
25	tristate
26
27config REGMAP_IRQ
28	bool
29