blob: 8a3f51f7b1b9167b1a84788c5a3def482a4c205c [file] [log] [blame]
Mark Brownb83a3132011-05-11 19:59:58 +02001# 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
5config REGMAP
Josh Cartwrighta01779f2013-10-28 13:12:35 -05006 default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_MMIO || REGMAP_IRQ)
Dimitris Papastamos2cbbb572011-09-19 14:34:03 +01007 select LZO_COMPRESS
8 select LZO_DECOMPRESS
Mark Brown18d5eac2012-05-23 10:15:42 +01009 select IRQ_DOMAIN if REGMAP_IRQ
Mark Brownb83a3132011-05-11 19:59:58 +020010 bool
Mark Brown9943fa32011-06-20 19:02:29 +010011
12config REGMAP_I2C
13 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020014 depends on I2C
Mark Browna676f082011-05-12 11:42:10 +020015
16config REGMAP_SPI
17 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020018 depends on SPI
Mark Brownf8beab22011-10-28 23:50:49 +020019
Josh Cartwrighta01779f2013-10-28 13:12:35 -050020config REGMAP_SPMI
21 tristate
Geert Uytterhoeven9ba1e452014-08-17 12:08:57 +020022 depends on SPMI
Josh Cartwrighta01779f2013-10-28 13:12:35 -050023
Stephen Warren45f5ff82012-04-04 15:48:31 -060024config REGMAP_MMIO
25 tristate
26
Mark Brownf8beab22011-10-28 23:50:49 +020027config REGMAP_IRQ
28 bool