aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/Makefile
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-28 23:50:49 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-08 11:29:48 +0000
commitf8beab2bb611d735767871e0e1a12dc6a0def7b1 (patch)
treea30103e40ae9d4473025edad6a2b3a28e3133fb5 /drivers/base/regmap/Makefile
parentLinux 3.2-rc1 (diff)
downloadlinux-dev-f8beab2bb611d735767871e0e1a12dc6a0def7b1.tar.xz
linux-dev-f8beab2bb611d735767871e0e1a12dc6a0def7b1.zip
regmap: Add a reusable irq_chip for regmap based interrupt controllers
There seem to be lots of regmap-using devices with very similar interrupt controllers with a small bank of interrupt registers and mask registers with an interrupt per bit. This won't cover everything but it's a good start. Each chip supplies a base for the status registers, a base for the mask registers, an optional base for writing acknowledgements (which may be the same as the status registers) and an array of bits within each of these register banks which indicate the interrupt. There is an assumption that the bit for each interrupt will be the same in each of the register bank. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/Makefile')
-rw-r--r--drivers/base/regmap/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/regmap/Makefile b/drivers/base/regmap/Makefile
index 0573c8a9dacb..ce2d18a6465b 100644
--- a/drivers/base/regmap/Makefile
+++ b/drivers/base/regmap/Makefile
@@ -2,3 +2,4 @@ obj-$(CONFIG_REGMAP) += regmap.o regcache.o regcache-indexed.o regcache-rbtree.o
obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o
obj-$(CONFIG_REGMAP_I2C) += regmap-i2c.o
obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o
+obj-$(CONFIG_REGMAP_IRQ) += regmap-irq.o