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*fb5103f9SPierre-Louis Bossart default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SOUNDWIRE || REGMAP_SOUNDWIRE_MBQ || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM) 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 478676b3caSPierre-Louis Bossart depends on SOUNDWIRE 48bcf7eac3SAkinobu Mita 49*fb5103f9SPierre-Louis Bossartconfig REGMAP_SOUNDWIRE_MBQ 50*fb5103f9SPierre-Louis Bossart tristate 51*fb5103f9SPierre-Louis Bossart depends on SOUNDWIRE 52*fb5103f9SPierre-Louis Bossart 53bcf7eac3SAkinobu Mitaconfig REGMAP_SCCB 54bcf7eac3SAkinobu Mita tristate 55bcf7eac3SAkinobu Mita depends on I2C 566445500bSVitor Soares 576445500bSVitor Soaresconfig REGMAP_I3C 586445500bSVitor Soares tristate 596445500bSVitor Soares depends on I3C 607f9fb673SXu Yilun 617f9fb673SXu Yilunconfig REGMAP_SPI_AVMM 627f9fb673SXu Yilun tristate 637f9fb673SXu Yilun depends on SPI 64