xref: /linux/drivers/base/regmap/Kconfig (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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_AC97 || REGMAP_MMIO || REGMAP_IRQ)
7	select LZO_COMPRESS
8	select LZO_DECOMPRESS
9	select IRQ_DOMAIN if REGMAP_IRQ
10	bool
11
12config REGMAP_AC97
13	tristate
14
15config REGMAP_I2C
16	tristate
17	depends on I2C
18
19config REGMAP_SPI
20	tristate
21	depends on SPI
22
23config REGMAP_SPMI
24	tristate
25	depends on SPMI
26
27config REGMAP_MMIO
28	tristate
29
30config REGMAP_IRQ
31	bool
32