xref: /openbmc/linux/drivers/base/regmap/Kconfig (revision a01779f89fc8a2225cb82dca0fc7b8451851cb7b)
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*a01779f8SJosh 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
14a676f083SMark Brown
15a676f083SMark Brownconfig REGMAP_SPI
16a676f083SMark Brown	tristate
17f8beab2bSMark Brown
18*a01779f8SJosh Cartwrightconfig REGMAP_SPMI
19*a01779f8SJosh Cartwright	tristate
20*a01779f8SJosh Cartwright
2145f5ff81SStephen Warrenconfig REGMAP_MMIO
2245f5ff81SStephen Warren	tristate
2345f5ff81SStephen Warren
24f8beab2bSMark Brownconfig REGMAP_IRQ
25f8beab2bSMark Brown	bool
26