blob: f0d30543fcce0944d3e619031ea0a828a179e852 [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
Dong Aisheng5784ee42012-10-15 15:50:25 +08006 default y if (REGMAP_I2C || REGMAP_SPI || 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
Stephen Warren45f5ff82012-04-04 15:48:31 -060018config REGMAP_MMIO
19 tristate
20
Mark Brownf8beab22011-10-28 23:50:49 +020021config REGMAP_IRQ
22 bool