Mark Brown | b83a313 | 2011-05-11 19:59:58 +0200 | [diff] [blame] | 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 |
Josh Cartwright | a01779f | 2013-10-28 13:12:35 -0500 | [diff] [blame] | 6 | default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_MMIO || REGMAP_IRQ) |
Dimitris Papastamos | 2cbbb57 | 2011-09-19 14:34:03 +0100 | [diff] [blame] | 7 | select LZO_COMPRESS |
| 8 | select LZO_DECOMPRESS |
Mark Brown | 18d5eac | 2012-05-23 10:15:42 +0100 | [diff] [blame] | 9 | select IRQ_DOMAIN if REGMAP_IRQ |
Mark Brown | b83a313 | 2011-05-11 19:59:58 +0200 | [diff] [blame] | 10 | bool |
Mark Brown | 9943fa3 | 2011-06-20 19:02:29 +0100 | [diff] [blame] | 11 | |
| 12 | config REGMAP_I2C |
| 13 | tristate |
Geert Uytterhoeven | 9ba1e45 | 2014-08-17 12:08:57 +0200 | [diff] [blame] | 14 | depends on I2C |
Mark Brown | a676f08 | 2011-05-12 11:42:10 +0200 | [diff] [blame] | 15 | |
| 16 | config REGMAP_SPI |
| 17 | tristate |
Geert Uytterhoeven | 9ba1e45 | 2014-08-17 12:08:57 +0200 | [diff] [blame] | 18 | depends on SPI |
Mark Brown | f8beab2 | 2011-10-28 23:50:49 +0200 | [diff] [blame] | 19 | |
Josh Cartwright | a01779f | 2013-10-28 13:12:35 -0500 | [diff] [blame] | 20 | config REGMAP_SPMI |
| 21 | tristate |
Geert Uytterhoeven | 9ba1e45 | 2014-08-17 12:08:57 +0200 | [diff] [blame] | 22 | depends on SPMI |
Josh Cartwright | a01779f | 2013-10-28 13:12:35 -0500 | [diff] [blame] | 23 | |
Stephen Warren | 45f5ff8 | 2012-04-04 15:48:31 -0600 | [diff] [blame] | 24 | config REGMAP_MMIO |
| 25 | tristate |
| 26 | |
Mark Brown | f8beab2 | 2011-10-28 23:50:49 +0200 | [diff] [blame] | 27 | config REGMAP_IRQ |
| 28 | bool |