summaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay/panel.c
diff options
context:
space:
mode:
authorBartosz Golaszewski2018-12-07 14:04:52 +0100
committerMark Brown2018-12-13 18:07:46 +0100
commitbc998a730367a69a1449320d321187d7414668fa (patch)
tree5229268e52f3dedd06da31bb9aabe430a6aeeac4 /drivers/auxdisplay/panel.c
parentregmap: add a new macro:REGMAP_IRQ_REG_LINE(_id, _reg_bits) (diff)
downloadkernel-qcow2-linux-bc998a730367a69a1449320d321187d7414668fa.tar.gz
kernel-qcow2-linux-bc998a730367a69a1449320d321187d7414668fa.tar.xz
kernel-qcow2-linux-bc998a730367a69a1449320d321187d7414668fa.zip
regmap: irq: handle HW using separate rising/falling edge interrupts
Some interrupt controllers use separate bits for controlling rising and falling edge interrupts in the mask register i.e. they have one interrupt for rising edge and one for falling. We already handle the case where we have a single interrupt in the mask register and a separate type configuration register. Add a new switch to regmap_irq_chip which tells the framework to use the mask_base address for configuring the edge of the interrupts that define type_falling/rising_mask values. For such interrupts we never update the type_base bits. For interrupts that don't define type masks or their regmap irq chip doesn't set the type_in_mask to true everything stays the same. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/auxdisplay/panel.c')
0 files changed, 0 insertions, 0 deletions