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 934a730aaSJonas Gorski bool 1034a730aaSJonas Gorski 1134a730aaSJonas Gorskiconfig REGCACHE_COMPRESSED 122cbbb579SDimitris Papastamos select LZO_COMPRESS 132cbbb579SDimitris Papastamos select LZO_DECOMPRESS 14b83a313bSMark Brown bool 159943fa30SMark Brown 1622853223SMark Brownconfig REGMAP_AC97 1722853223SMark Brown tristate 1822853223SMark Brown 199943fa30SMark Brownconfig REGMAP_I2C 209943fa30SMark Brown tristate 219ba1e456SGeert Uytterhoeven depends on I2C 22a676f083SMark Brown 23a676f083SMark Brownconfig REGMAP_SPI 24a676f083SMark Brown tristate 259ba1e456SGeert Uytterhoeven depends on SPI 26f8beab2bSMark Brown 27a01779f8SJosh Cartwrightconfig REGMAP_SPMI 28a01779f8SJosh Cartwright tristate 299ba1e456SGeert Uytterhoeven depends on SPMI 30a01779f8SJosh Cartwright 31cc5d0db3SAlex A. Mihaylovconfig REGMAP_W1 32cc5d0db3SAlex A. Mihaylov tristate 33cc5d0db3SAlex A. Mihaylov depends on W1 34cc5d0db3SAlex A. Mihaylov 3545f5ff81SStephen Warrenconfig REGMAP_MMIO 3645f5ff81SStephen Warren tristate 3745f5ff81SStephen Warren 38f8beab2bSMark Brownconfig REGMAP_IRQ 39f8beab2bSMark Brown bool 40*7c22ce6eSVinod Koul 41*7c22ce6eSVinod Koulconfig REGMAP_SOUNDWIRE 42*7c22ce6eSVinod Koul tristate 43*7c22ce6eSVinod Koul depends on SOUNDWIRE_BUS 44