xref: /linux/drivers/base/regmap/Kconfig (revision 9ba1e456e1fa3729fc6be73403a7b2083f9590eb)
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
6a01779f8SJosh Cartwright	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || 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
129943fa30SMark Brownconfig REGMAP_I2C
139943fa30SMark Brown	tristate
14*9ba1e456SGeert Uytterhoeven	depends on I2C
15a676f083SMark Brown
16a676f083SMark Brownconfig REGMAP_SPI
17a676f083SMark Brown	tristate
18*9ba1e456SGeert Uytterhoeven	depends on SPI
19f8beab2bSMark Brown
20a01779f8SJosh Cartwrightconfig REGMAP_SPMI
21a01779f8SJosh Cartwright	tristate
22*9ba1e456SGeert Uytterhoeven	depends on SPMI
23a01779f8SJosh Cartwright
2445f5ff81SStephen Warrenconfig REGMAP_MMIO
2545f5ff81SStephen Warren	tristate
2645f5ff81SStephen Warren
27f8beab2bSMark Brownconfig REGMAP_IRQ
28f8beab2bSMark Brown	bool
29