blob: 4251570610c9fbcebf1e6903999d508d8949ea70 [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
Mark Browna676f082011-05-12 11:42:10 +020014
15config REGMAP_SPI
16 tristate
Mark Brownf8beab22011-10-28 23:50:49 +020017
Josh Cartwrighta01779f2013-10-28 13:12:35 -050018config REGMAP_SPMI
19 tristate
20
Stephen Warren45f5ff82012-04-04 15:48:31 -060021config REGMAP_MMIO
22 tristate
23
Mark Brownf8beab22011-10-28 23:50:49 +020024config REGMAP_IRQ
25 bool