blob: 0368fd7b3a414796f78db5e5d91788a3069358ca [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Mark Brownb83a3132011-05-11 19:59:58 +02002# 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
Alex A. Mihaylovcc5d0db2017-06-02 10:06:27 +03007 default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
Jonas Gorski34a730aa2017-06-02 15:15:37 +02008 select IRQ_DOMAIN if REGMAP_IRQ
9 bool
10
11config REGCACHE_COMPRESSED
Dimitris Papastamos2cbbb572011-09-19 14:34:03 +010012 select LZO_COMPRESS
13 select LZO_DECOMPRESS
Mark Brownb83a3132011-05-11 19:59:58 +020014 bool
Mark Brown9943fa32011-06-20 19:02:29 +010015
Mark Brown22853222014-11-18 19:45:51 +010016config REGMAP_AC97
17 tristate
18
Mark Brown9943fa32011-06-20 19:02:29 +010019config REGMAP_I2C
20 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020021 depends on I2C
Mark Browna676f082011-05-12 11:42:10 +020022
23config REGMAP_SPI
24 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020025 depends on SPI
Mark Brownf8beab22011-10-28 23:50:49 +020026
Josh Cartwrighta01779f2013-10-28 13:12:35 -050027config REGMAP_SPMI
28 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020029 depends on SPMI
Josh Cartwrighta01779f2013-10-28 13:12:35 -050030
Alex A. Mihaylovcc5d0db2017-06-02 10:06:27 +030031config REGMAP_W1
32 tristate
33 depends on W1
34
Stephen Warren45f5ff82012-04-04 15:48:31 -060035config REGMAP_MMIO
36 tristate
37
Mark Brownf8beab22011-10-28 23:50:49 +020038config REGMAP_IRQ
39 bool