regmap: Add a config option for hwspinlock
[muen/linux.git] / drivers / base / regmap / Kconfig
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
5 config REGMAP
6         default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
7         select IRQ_DOMAIN if REGMAP_IRQ
8         select HWSPINLOCK if REGMAP_HWSPINLOCK
9         bool
10
11 config REGCACHE_COMPRESSED
12         select LZO_COMPRESS
13         select LZO_DECOMPRESS
14         bool
15
16 config REGMAP_AC97
17         tristate
18
19 config REGMAP_I2C
20         tristate
21         depends on I2C
22
23 config REGMAP_SPI
24         tristate
25         depends on SPI
26
27 config REGMAP_SPMI
28         tristate
29         depends on SPMI
30
31 config REGMAP_W1
32         tristate
33         depends on W1
34
35 config REGMAP_MMIO
36         tristate
37
38 config REGMAP_IRQ
39         bool
40
41 config REGMAP_HWSPINLOCK
42         bool