blob: 159bac6c50466cc7dca5b2f97e6592bcc157166b [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
Sander Vanheule1f89d2f2021-05-17 21:28:03 +02007 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)
Jonas Gorski34a730aa2017-06-02 15:15:37 +02008 select IRQ_DOMAIN if REGMAP_IRQ
Sander Vanheule1f89d2f2021-05-17 21:28:03 +02009 select MDIO_BUS if REGMAP_MDIO
Jonas Gorski34a730aa2017-06-02 15:15:37 +020010 bool
11
12config REGCACHE_COMPRESSED
Dimitris Papastamos2cbbb572011-09-19 14:34:03 +010013 select LZO_COMPRESS
14 select LZO_DECOMPRESS
Mark Brownb83a3132011-05-11 19:59:58 +020015 bool
Mark Brown9943fa32011-06-20 19:02:29 +010016
Mark Brown22853222014-11-18 19:45:51 +010017config REGMAP_AC97
18 tristate
19
Mark Brown9943fa32011-06-20 19:02:29 +010020config REGMAP_I2C
21 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020022 depends on I2C
Mark Browna676f082011-05-12 11:42:10 +020023
Srinivas Kandagatla7d6f7fb2017-12-11 23:43:02 +000024config REGMAP_SLIMBUS
25 tristate
26 depends on SLIMBUS
27
Mark Browna676f082011-05-12 11:42:10 +020028config REGMAP_SPI
29 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020030 depends on SPI
Mark Brownf8beab22011-10-28 23:50:49 +020031
Josh Cartwrighta01779f2013-10-28 13:12:35 -050032config REGMAP_SPMI
33 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020034 depends on SPMI
Josh Cartwrighta01779f2013-10-28 13:12:35 -050035
Alex A. Mihaylovcc5d0db2017-06-02 10:06:27 +030036config REGMAP_W1
37 tristate
38 depends on W1
39
Sander Vanheule1f89d2f2021-05-17 21:28:03 +020040config REGMAP_MDIO
41 tristate
42
Stephen Warren45f5ff82012-04-04 15:48:31 -060043config REGMAP_MMIO
44 tristate
45
Mark Brownf8beab22011-10-28 23:50:49 +020046config REGMAP_IRQ
47 bool
Vinod Koul7c22ce62018-01-08 15:50:59 +053048
49config REGMAP_SOUNDWIRE
50 tristate
Pierre-Louis Bossart8676b3c2019-07-18 18:02:15 -050051 depends on SOUNDWIRE
Akinobu Mitabcf7eac2018-07-17 00:47:48 +090052
Pierre-Louis Bossartfb5103f2020-11-04 01:22:23 +080053config REGMAP_SOUNDWIRE_MBQ
54 tristate
55 depends on SOUNDWIRE
56
Akinobu Mitabcf7eac2018-07-17 00:47:48 +090057config REGMAP_SCCB
58 tristate
59 depends on I2C
Vitor Soares64455002019-06-06 17:12:02 +020060
61config REGMAP_I3C
62 tristate
63 depends on I3C
Xu Yilun7f9fb672020-08-19 15:34:56 +080064
65config REGMAP_SPI_AVMM
66 tristate
67 depends on SPI