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 7*6445500bSVitor Soares default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_I3C) 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 237d6f7fb0SSrinivas Kandagatlaconfig REGMAP_SLIMBUS 247d6f7fb0SSrinivas Kandagatla tristate 257d6f7fb0SSrinivas Kandagatla depends on SLIMBUS 267d6f7fb0SSrinivas Kandagatla 27a676f083SMark Brownconfig REGMAP_SPI 28a676f083SMark Brown tristate 299ba1e456SGeert Uytterhoeven depends on SPI 30f8beab2bSMark Brown 31a01779f8SJosh Cartwrightconfig REGMAP_SPMI 32a01779f8SJosh Cartwright tristate 339ba1e456SGeert Uytterhoeven depends on SPMI 34a01779f8SJosh Cartwright 35cc5d0db3SAlex A. Mihaylovconfig REGMAP_W1 36cc5d0db3SAlex A. Mihaylov tristate 37cc5d0db3SAlex A. Mihaylov depends on W1 38cc5d0db3SAlex A. Mihaylov 3945f5ff81SStephen Warrenconfig REGMAP_MMIO 4045f5ff81SStephen Warren tristate 4145f5ff81SStephen Warren 42f8beab2bSMark Brownconfig REGMAP_IRQ 43f8beab2bSMark Brown bool 447c22ce6eSVinod Koul 457c22ce6eSVinod Koulconfig REGMAP_SOUNDWIRE 467c22ce6eSVinod Koul tristate 477c22ce6eSVinod Koul depends on SOUNDWIRE_BUS 48bcf7eac3SAkinobu Mita 49bcf7eac3SAkinobu Mitaconfig REGMAP_SCCB 50bcf7eac3SAkinobu Mita tristate 51bcf7eac3SAkinobu Mita depends on I2C 52*6445500bSVitor Soares 53*6445500bSVitor Soaresconfig REGMAP_I3C 54*6445500bSVitor Soares tristate 55*6445500bSVitor Soares depends on I3C 56