]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
b83a313b MB |
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 | ||
6 | config REGMAP | |
cc5d0db3 | 7 | default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ) |
34a730aa | 8 | select IRQ_DOMAIN if REGMAP_IRQ |
ca0db18d | 9 | select REGMAP_HWSPINLOCK if HWSPINLOCK=y |
34a730aa JG |
10 | bool |
11 | ||
12 | config REGCACHE_COMPRESSED | |
2cbbb579 DP |
13 | select LZO_COMPRESS |
14 | select LZO_DECOMPRESS | |
b83a313b | 15 | bool |
9943fa30 | 16 | |
22853223 MB |
17 | config REGMAP_AC97 |
18 | tristate | |
19 | ||
9943fa30 MB |
20 | config REGMAP_I2C |
21 | tristate | |
9ba1e456 | 22 | depends on I2C |
a676f083 MB |
23 | |
24 | config REGMAP_SPI | |
25 | tristate | |
9ba1e456 | 26 | depends on SPI |
f8beab2b | 27 | |
a01779f8 JC |
28 | config REGMAP_SPMI |
29 | tristate | |
9ba1e456 | 30 | depends on SPMI |
a01779f8 | 31 | |
cc5d0db3 AM |
32 | config REGMAP_W1 |
33 | tristate | |
34 | depends on W1 | |
35 | ||
45f5ff81 SW |
36 | config REGMAP_MMIO |
37 | tristate | |
38 | ||
f8beab2b MB |
39 | config REGMAP_IRQ |
40 | bool | |
f25637a6 MB |
41 | |
42 | config REGMAP_HWSPINLOCK | |
43 | bool |