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*1f89d2feSSander Vanheule 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 || REGMAP_MDIO) 834a730aaSJonas Gorski select IRQ_DOMAIN if REGMAP_IRQ 9*1f89d2feSSander Vanheule select MDIO_BUS if REGMAP_MDIO 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 247d6f7fb0SSrinivas Kandagatlaconfig REGMAP_SLIMBUS 257d6f7fb0SSrinivas Kandagatla tristate 267d6f7fb0SSrinivas Kandagatla depends on SLIMBUS 277d6f7fb0SSrinivas 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 40*1f89d2feSSander Vanheuleconfig REGMAP_MDIO 41*1f89d2feSSander Vanheule tristate 42*1f89d2feSSander Vanheule 4345f5ff81SStephen Warrenconfig REGMAP_MMIO 4445f5ff81SStephen Warren tristate 4545f5ff81SStephen Warren 46f8beab2bSMark Brownconfig REGMAP_IRQ 47f8beab2bSMark Brown bool 487c22ce6eSVinod Koul 497c22ce6eSVinod Koulconfig REGMAP_SOUNDWIRE 507c22ce6eSVinod Koul tristate 518676b3caSPierre-Louis Bossart depends on SOUNDWIRE 52bcf7eac3SAkinobu Mita 53fb5103f9SPierre-Louis Bossartconfig REGMAP_SOUNDWIRE_MBQ 54fb5103f9SPierre-Louis Bossart tristate 55fb5103f9SPierre-Louis Bossart depends on SOUNDWIRE 56fb5103f9SPierre-Louis Bossart 57bcf7eac3SAkinobu Mitaconfig REGMAP_SCCB 58bcf7eac3SAkinobu Mita tristate 59bcf7eac3SAkinobu Mita depends on I2C 606445500bSVitor Soares 616445500bSVitor Soaresconfig REGMAP_I3C 626445500bSVitor Soares tristate 636445500bSVitor Soares depends on I3C 647f9fb673SXu Yilun 657f9fb673SXu Yilunconfig REGMAP_SPI_AVMM 667f9fb673SXu Yilun tristate 677f9fb673SXu Yilun depends on SPI 68