Loading...
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 || REGMAP_FSI)
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
68
69config REGMAP_FSI
70 tristate
71 depends on FSI
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 bool
8 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 || REGMAP_FSI)
9 select IRQ_DOMAIN if REGMAP_IRQ
10 select MDIO_BUS if REGMAP_MDIO
11 help
12 Enable support for the Register Map (regmap) access API.
13
14 Usually, this option is automatically selected when needed.
15 However, you may want to enable it manually for running the regmap
16 KUnit tests.
17
18 If unsure, say N.
19
20config REGMAP_KUNIT
21 tristate "KUnit tests for regmap"
22 depends on KUNIT && REGMAP
23 default KUNIT_ALL_TESTS
24 select REGMAP_RAM
25
26config REGMAP_BUILD
27 bool "Enable regmap build"
28 depends on KUNIT
29 select REGMAP
30 help
31 This option exists purely to allow the regmap KUnit tests to
32 be enabled without having to enable some driver that uses
33 regmap due to unfortunate issues with how KUnit tests are
34 normally enabled.
35
36config REGMAP_AC97
37 tristate
38
39config REGMAP_I2C
40 tristate
41 depends on I2C
42
43config REGMAP_SLIMBUS
44 tristate
45 depends on SLIMBUS
46
47config REGMAP_SPI
48 tristate
49 depends on SPI
50
51config REGMAP_SPMI
52 tristate
53 depends on SPMI
54
55config REGMAP_W1
56 tristate
57 depends on W1
58
59config REGMAP_MDIO
60 tristate
61
62config REGMAP_MMIO
63 tristate
64
65config REGMAP_IRQ
66 bool
67
68config REGMAP_RAM
69 tristate
70
71config REGMAP_SOUNDWIRE
72 tristate
73 depends on SOUNDWIRE
74
75config REGMAP_SOUNDWIRE_MBQ
76 tristate
77 depends on SOUNDWIRE
78
79config REGMAP_SCCB
80 tristate
81 depends on I2C
82
83config REGMAP_I3C
84 tristate
85 depends on I3C
86
87config REGMAP_SPI_AVMM
88 tristate
89 depends on SPI
90
91config REGMAP_FSI
92 tristate
93 depends on FSI