aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/regmap/Kconfig
diff options
context:
space:
mode:
authorGravatar Mark Brown <broonie@opensource.wolfsonmicro.com> 2011-10-28 23:50:49 +0200
committerGravatar Mark Brown <broonie@opensource.wolfsonmicro.com> 2011-11-08 11:29:48 +0000
commitf8beab2bb611d735767871e0e1a12dc6a0def7b1 (patch)
treea30103e40ae9d4473025edad6a2b3a28e3133fb5 /drivers/base/regmap/Kconfig
parentLinux 3.2-rc1 (diff)
downloadlinux-f8beab2bb611d735767871e0e1a12dc6a0def7b1.tar.gz
linux-f8beab2bb611d735767871e0e1a12dc6a0def7b1.tar.bz2
linux-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/Kconfig')
-rw-r--r--drivers/base/regmap/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index 2fc6a66f39a4..0f6c7fb418e8 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -13,3 +13,6 @@ config REGMAP_I2C
config REGMAP_SPI
tristate
+
+config REGMAP_IRQ
+ bool