blob: 0fd6f97ee523fdec13623b859d76dc1dd3d0e355 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001# 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
David Brazdil0f672f62019-12-10 10:32:29 +00007 default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SCCB || REGMAP_I3C)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00008 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_SLIMBUS
24 tristate
25 depends on SLIMBUS
26
27config REGMAP_SPI
28 tristate
29 depends on SPI
30
31config REGMAP_SPMI
32 tristate
33 depends on SPMI
34
35config REGMAP_W1
36 tristate
37 depends on W1
38
39config REGMAP_MMIO
40 tristate
41
42config REGMAP_IRQ
43 bool
44
45config REGMAP_SOUNDWIRE
46 tristate
David Brazdil0f672f62019-12-10 10:32:29 +000047 depends on SOUNDWIRE
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000048
49config REGMAP_SCCB
50 tristate
51 depends on I2C
David Brazdil0f672f62019-12-10 10:32:29 +000052
53config REGMAP_I3C
54 tristate
55 depends on I3C