blob: 0368fd7b3a414796f78db5e5d91788a3069358ca [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2# Generic register map support. There are no user servicable options here,
3# this is an API intended to be used by other kernel subsystems. These
4# subsystems should select the appropriate symbols.
5
6config REGMAP
7 default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
8 select IRQ_DOMAIN if REGMAP_IRQ
9 bool
10
11config REGCACHE_COMPRESSED
12 select LZO_COMPRESS
13 select LZO_DECOMPRESS
14 bool
15
16config REGMAP_AC97
17 tristate
18
19config REGMAP_I2C
20 tristate
21 depends on I2C
22
23config REGMAP_SPI
24 tristate
25 depends on SPI
26
27config REGMAP_SPMI
28 tristate
29 depends on SPMI
30
31config REGMAP_W1
32 tristate
33 depends on W1
34
35config REGMAP_MMIO
36 tristate
37
38config REGMAP_IRQ
39 bool