0001 # SPDX-License-Identifier: GPL-2.0
0002 # Generic register map support. There are no user servicable options here,
0003 # this is an API intended to be used by other kernel subsystems. These
0004 # subsystems should select the appropriate symbols.
0005
0006 config REGMAP
0007 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)
0008 select IRQ_DOMAIN if REGMAP_IRQ
0009 select MDIO_BUS if REGMAP_MDIO
0010 bool
0011
0012 config REGCACHE_COMPRESSED
0013 select LZO_COMPRESS
0014 select LZO_DECOMPRESS
0015 bool
0016
0017 config REGMAP_AC97
0018 tristate
0019
0020 config REGMAP_I2C
0021 tristate
0022 depends on I2C
0023
0024 config REGMAP_SLIMBUS
0025 tristate
0026 depends on SLIMBUS
0027
0028 config REGMAP_SPI
0029 tristate
0030 depends on SPI
0031
0032 config REGMAP_SPMI
0033 tristate
0034 depends on SPMI
0035
0036 config REGMAP_W1
0037 tristate
0038 depends on W1
0039
0040 config REGMAP_MDIO
0041 tristate
0042
0043 config REGMAP_MMIO
0044 tristate
0045
0046 config REGMAP_IRQ
0047 bool
0048
0049 config REGMAP_SOUNDWIRE
0050 tristate
0051 depends on SOUNDWIRE
0052
0053 config REGMAP_SOUNDWIRE_MBQ
0054 tristate
0055 depends on SOUNDWIRE
0056
0057 config REGMAP_SCCB
0058 tristate
0059 depends on I2C
0060
0061 config REGMAP_I3C
0062 tristate
0063 depends on I3C
0064
0065 config REGMAP_SPI_AVMM
0066 tristate
0067 depends on SPI