Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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)
8 select IRQ_DOMAIN if REGMAP_IRQ
9 select REGMAP_HWSPINLOCK if HWSPINLOCK=y
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_SPI
25 tristate
26 depends on SPI
27
28config REGMAP_SPMI
29 tristate
30 depends on SPMI
31
32config REGMAP_W1
33 tristate
34 depends on W1
35
36config REGMAP_MMIO
37 tristate
38
39config REGMAP_IRQ
40 bool
41
42config REGMAP_HWSPINLOCK
43 bool