1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2b83a313bSMark Brown# Generic register map support. There are no user servicable options here, 3b83a313bSMark Brown# this is an API intended to be used by other kernel subsystems. These 4b83a313bSMark Brown# subsystems should select the appropriate symbols. 5b83a313bSMark Brown 6b83a313bSMark Brownconfig REGMAP 7cc5d0db3SAlex A. Mihaylov default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ) 834a730aaSJonas Gorski select IRQ_DOMAIN if REGMAP_IRQ 9ca0db18dSMark Brown select REGMAP_HWSPINLOCK if HWSPINLOCK=y 1034a730aaSJonas Gorski bool 1134a730aaSJonas Gorski 1234a730aaSJonas Gorskiconfig REGCACHE_COMPRESSED 132cbbb579SDimitris Papastamos select LZO_COMPRESS 142cbbb579SDimitris Papastamos select LZO_DECOMPRESS 15b83a313bSMark Brown bool 169943fa30SMark Brown 1722853223SMark Brownconfig REGMAP_AC97 1822853223SMark Brown tristate 1922853223SMark Brown 209943fa30SMark Brownconfig REGMAP_I2C 219943fa30SMark Brown tristate 229ba1e456SGeert Uytterhoeven depends on I2C 23a676f083SMark Brown 24*7d6f7fb0SSrinivas Kandagatlaconfig REGMAP_SLIMBUS 25*7d6f7fb0SSrinivas Kandagatla tristate 26*7d6f7fb0SSrinivas Kandagatla depends on SLIMBUS 27*7d6f7fb0SSrinivas Kandagatla 28a676f083SMark Brownconfig REGMAP_SPI 29a676f083SMark Brown tristate 309ba1e456SGeert Uytterhoeven depends on SPI 31f8beab2bSMark Brown 32a01779f8SJosh Cartwrightconfig REGMAP_SPMI 33a01779f8SJosh Cartwright tristate 349ba1e456SGeert Uytterhoeven depends on SPMI 35a01779f8SJosh Cartwright 36cc5d0db3SAlex A. Mihaylovconfig REGMAP_W1 37cc5d0db3SAlex A. Mihaylov tristate 38cc5d0db3SAlex A. Mihaylov depends on W1 39cc5d0db3SAlex A. Mihaylov 4045f5ff81SStephen Warrenconfig REGMAP_MMIO 4145f5ff81SStephen Warren tristate 4245f5ff81SStephen Warren 43f8beab2bSMark Brownconfig REGMAP_IRQ 44f8beab2bSMark Brown bool 45f25637a6SMark Brown 46f25637a6SMark Brownconfig REGMAP_HWSPINLOCK 47f25637a6SMark Brown bool 48