xref: /linux/drivers/base/regmap/Kconfig (revision 22853223d15b3a626de62cf9e40ce2d3881bc0a8)
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
6*22853223SMark Brown	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
72cbbb579SDimitris Papastamos	select LZO_COMPRESS
82cbbb579SDimitris Papastamos	select LZO_DECOMPRESS
918d5eacbSMark Brown	select IRQ_DOMAIN if REGMAP_IRQ
10b83a313bSMark Brown	bool
119943fa30SMark Brown
12*22853223SMark Brownconfig REGMAP_AC97
13*22853223SMark Brown	tristate
14*22853223SMark Brown
159943fa30SMark Brownconfig REGMAP_I2C
169943fa30SMark Brown	tristate
179ba1e456SGeert Uytterhoeven	depends on I2C
18a676f083SMark Brown
19a676f083SMark Brownconfig REGMAP_SPI
20a676f083SMark Brown	tristate
219ba1e456SGeert Uytterhoeven	depends on SPI
22f8beab2bSMark Brown
23a01779f8SJosh Cartwrightconfig REGMAP_SPMI
24a01779f8SJosh Cartwright	tristate
259ba1e456SGeert Uytterhoeven	depends on SPMI
26a01779f8SJosh Cartwright
2745f5ff81SStephen Warrenconfig REGMAP_MMIO
2845f5ff81SStephen Warren	tristate
2945f5ff81SStephen Warren
30f8beab2bSMark Brownconfig REGMAP_IRQ
31f8beab2bSMark Brown	bool
32