Loading...
1# Generic register map support. There are no user servicable options here,
2# this is an API intended to be used by other kernel subsystems. These
3# subsystems should select the appropriate symbols.
4
5config REGMAP
6 default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_MMIO || REGMAP_IRQ)
7 select LZO_COMPRESS
8 select LZO_DECOMPRESS
9 select IRQ_DOMAIN if REGMAP_IRQ
10 bool
11
12config REGMAP_I2C
13 tristate
14
15config REGMAP_SPI
16 tristate
17
18config REGMAP_SPMI
19 tristate
20
21config REGMAP_MMIO
22 tristate
23
24config REGMAP_IRQ
25 bool
1# 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 || REGMAP_SOUNDWIRE || REGMAP_SOUNDWIRE_MBQ || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM || REGMAP_MDIO)
8 select IRQ_DOMAIN if REGMAP_IRQ
9 select MDIO_BUS if REGMAP_MDIO
10 bool
11
12config REGCACHE_COMPRESSED
13 select LZO_COMPRESS
14 select LZO_DECOMPRESS
15 bool
16
17config REGMAP_AC97
18 tristate
19
20config REGMAP_I2C
21 tristate
22 depends on I2C
23
24config REGMAP_SLIMBUS
25 tristate
26 depends on SLIMBUS
27
28config REGMAP_SPI
29 tristate
30 depends on SPI
31
32config REGMAP_SPMI
33 tristate
34 depends on SPMI
35
36config REGMAP_W1
37 tristate
38 depends on W1
39
40config REGMAP_MDIO
41 tristate
42
43config REGMAP_MMIO
44 tristate
45
46config REGMAP_IRQ
47 bool
48
49config REGMAP_SOUNDWIRE
50 tristate
51 depends on SOUNDWIRE
52
53config REGMAP_SOUNDWIRE_MBQ
54 tristate
55 depends on SOUNDWIRE
56
57config REGMAP_SCCB
58 tristate
59 depends on I2C
60
61config REGMAP_I3C
62 tristate
63 depends on I3C
64
65config REGMAP_SPI_AVMM
66 tristate
67 depends on SPI