Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Mark Brown | b83a313 | 2011-05-11 19:59:58 +0200 | [diff] [blame] | 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 | |
| 6 | config REGMAP |
Sander Vanheule | 1f89d2f | 2021-05-17 21:28:03 +0200 | [diff] [blame] | 7 | 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 Gorski | 34a730aa | 2017-06-02 15:15:37 +0200 | [diff] [blame] | 8 | select IRQ_DOMAIN if REGMAP_IRQ |
Sander Vanheule | 1f89d2f | 2021-05-17 21:28:03 +0200 | [diff] [blame] | 9 | select MDIO_BUS if REGMAP_MDIO |
Jonas Gorski | 34a730aa | 2017-06-02 15:15:37 +0200 | [diff] [blame] | 10 | bool |
| 11 | |
| 12 | config REGCACHE_COMPRESSED |
Dimitris Papastamos | 2cbbb57 | 2011-09-19 14:34:03 +0100 | [diff] [blame] | 13 | select LZO_COMPRESS |
| 14 | select LZO_DECOMPRESS |
Mark Brown | b83a313 | 2011-05-11 19:59:58 +0200 | [diff] [blame] | 15 | bool |
Mark Brown | 9943fa3 | 2011-06-20 19:02:29 +0100 | [diff] [blame] | 16 | |
Mark Brown | 2285322 | 2014-11-18 19:45:51 +0100 | [diff] [blame] | 17 | config REGMAP_AC97 |
| 18 | tristate |
| 19 | |
Mark Brown | 9943fa3 | 2011-06-20 19:02:29 +0100 | [diff] [blame] | 20 | config REGMAP_I2C |
| 21 | tristate |
Geert Uytterhoeven | 9ba1e45 | 2014-08-17 12:08:57 +0200 | [diff] [blame] | 22 | depends on I2C |
Mark Brown | a676f08 | 2011-05-12 11:42:10 +0200 | [diff] [blame] | 23 | |
Srinivas Kandagatla | 7d6f7fb | 2017-12-11 23:43:02 +0000 | [diff] [blame] | 24 | config REGMAP_SLIMBUS |
| 25 | tristate |
| 26 | depends on SLIMBUS |
| 27 | |
Mark Brown | a676f08 | 2011-05-12 11:42:10 +0200 | [diff] [blame] | 28 | config REGMAP_SPI |
| 29 | tristate |
Geert Uytterhoeven | 9ba1e45 | 2014-08-17 12:08:57 +0200 | [diff] [blame] | 30 | depends on SPI |
Mark Brown | f8beab2 | 2011-10-28 23:50:49 +0200 | [diff] [blame] | 31 | |
Josh Cartwright | a01779f | 2013-10-28 13:12:35 -0500 | [diff] [blame] | 32 | config REGMAP_SPMI |
| 33 | tristate |
Geert Uytterhoeven | 9ba1e45 | 2014-08-17 12:08:57 +0200 | [diff] [blame] | 34 | depends on SPMI |
Josh Cartwright | a01779f | 2013-10-28 13:12:35 -0500 | [diff] [blame] | 35 | |
Alex A. Mihaylov | cc5d0db | 2017-06-02 10:06:27 +0300 | [diff] [blame] | 36 | config REGMAP_W1 |
| 37 | tristate |
| 38 | depends on W1 |
| 39 | |
Sander Vanheule | 1f89d2f | 2021-05-17 21:28:03 +0200 | [diff] [blame] | 40 | config REGMAP_MDIO |
| 41 | tristate |
| 42 | |
Stephen Warren | 45f5ff8 | 2012-04-04 15:48:31 -0600 | [diff] [blame] | 43 | config REGMAP_MMIO |
| 44 | tristate |
| 45 | |
Mark Brown | f8beab2 | 2011-10-28 23:50:49 +0200 | [diff] [blame] | 46 | config REGMAP_IRQ |
| 47 | bool |
Vinod Koul | 7c22ce6 | 2018-01-08 15:50:59 +0530 | [diff] [blame] | 48 | |
| 49 | config REGMAP_SOUNDWIRE |
| 50 | tristate |
Pierre-Louis Bossart | 8676b3c | 2019-07-18 18:02:15 -0500 | [diff] [blame] | 51 | depends on SOUNDWIRE |
Akinobu Mita | bcf7eac | 2018-07-17 00:47:48 +0900 | [diff] [blame] | 52 | |
Pierre-Louis Bossart | fb5103f | 2020-11-04 01:22:23 +0800 | [diff] [blame] | 53 | config REGMAP_SOUNDWIRE_MBQ |
| 54 | tristate |
| 55 | depends on SOUNDWIRE |
| 56 | |
Akinobu Mita | bcf7eac | 2018-07-17 00:47:48 +0900 | [diff] [blame] | 57 | config REGMAP_SCCB |
| 58 | tristate |
| 59 | depends on I2C |
Vitor Soares | 6445500 | 2019-06-06 17:12:02 +0200 | [diff] [blame] | 60 | |
| 61 | config REGMAP_I3C |
| 62 | tristate |
| 63 | depends on I3C |
Xu Yilun | 7f9fb67 | 2020-08-19 15:34:56 +0800 | [diff] [blame] | 64 | |
| 65 | config REGMAP_SPI_AVMM |
| 66 | tristate |
| 67 | depends on SPI |