regmap: Add a reusable irq_chip for regmap based interrupt controllers
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 28 Oct 2011 21:50:49 +0000 (23:50 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Nov 2011 11:29:48 +0000 (11:29 +0000)
commitf8beab2bb611d735767871e0e1a12dc6a0def7b1
treea30103e40ae9d4473025edad6a2b3a28e3133fb5
parent1ea6b8f48918282bdca0b32a34095504ee65bab5
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>
drivers/base/regmap/Kconfig
drivers/base/regmap/Makefile
drivers/base/regmap/regmap-irq.c [new file with mode: 0644]
include/linux/regmap.h
This page took 0.028133 seconds and 5 git commands to generate.