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