xref: /linux/drivers/base/regmap/Kconfig (revision 34a730aa74c7c743f4ca9635e0d0b2479d6ed53c)
1b83a313bSMark Brown# Generic register map support.  There are no user servicable options here,
2b83a313bSMark Brown# this is an API intended to be used by other kernel subsystems.  These
3b83a313bSMark Brown# subsystems should select the appropriate symbols.
4b83a313bSMark Brown
5b83a313bSMark Brownconfig REGMAP
622853223SMark Brown	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
7*34a730aaSJonas Gorski	select IRQ_DOMAIN if REGMAP_IRQ
8*34a730aaSJonas Gorski	bool
9*34a730aaSJonas Gorski
10*34a730aaSJonas Gorskiconfig REGCACHE_COMPRESSED
112cbbb579SDimitris Papastamos	select LZO_COMPRESS
122cbbb579SDimitris Papastamos	select LZO_DECOMPRESS
13b83a313bSMark Brown	bool
149943fa30SMark Brown
1522853223SMark Brownconfig REGMAP_AC97
1622853223SMark Brown	tristate
1722853223SMark Brown
189943fa30SMark Brownconfig REGMAP_I2C
199943fa30SMark Brown	tristate
209ba1e456SGeert Uytterhoeven	depends on I2C
21a676f083SMark Brown
22a676f083SMark Brownconfig REGMAP_SPI
23a676f083SMark Brown	tristate
249ba1e456SGeert Uytterhoeven	depends on SPI
25f8beab2bSMark Brown
26a01779f8SJosh Cartwrightconfig REGMAP_SPMI
27a01779f8SJosh Cartwright	tristate
289ba1e456SGeert Uytterhoeven	depends on SPMI
29a01779f8SJosh Cartwright
3045f5ff81SStephen Warrenconfig REGMAP_MMIO
3145f5ff81SStephen Warren	tristate
3245f5ff81SStephen Warren
33f8beab2bSMark Brownconfig REGMAP_IRQ
34f8beab2bSMark Brown	bool
35