summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>2019-01-22 11:42:24 +0200
committerMark Brown <broonie@kernel.org>2019-01-23 15:52:15 +0000
commita2d21848d9211dad5e786aa7368709ca8938834e (patch)
tree5fdba49cc44ebfa75bea56581e8ffa56196a22b4 /certs
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
regmap: regmap-irq: Add main status register support
There is bunch of devices with multiple logical blocks which can generate interrupts. It's not a rare case that the interrupt reason registers are arranged so that there is own status/ack/mask register for each logical block. In some devices there is also a 'main interrupt register(s)' which can indicate what sub blocks have interrupts pending. When such a device is connected via slow bus like i2c the main part of interrupt handling latency can be caused by bus accesses. On systems where it is expected that only one (or few) sub blocks have active interrupts we can reduce the latency by only reading the main register and those sub registers which have active interrupts. Support this with regmap-irq for simple cases where main register does not require acking or masking. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions