regmap-irq: Introduce virtual regs to handle more config regs
authorGuru Das Srinagesh <gurus@codeaurora.org>
Wed, 24 Mar 2021 19:28:53 +0000 (12:28 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 31 Mar 2021 12:53:37 +0000 (13:53 +0100)
commit4c5014456305482412b35a081ca0fb4fefd69764
treee5e596de5cdffb3061d93aa9ba8882b8be2a6219
parent1066cfbdfa3f5c401870fad577fe63d1171a5bcd
regmap-irq: Introduce virtual regs to handle more config regs

Add "virtual" registers support to handle any irq configuration
registers in addition to the ones the framework currently supports
(status, mask, unmask, wake, type and ack). These are non-standard
registers that further configure irq type on some devices, so enable the
framework to add a variable number of them.

Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
Link: https://lore.kernel.org/r/a1787067004b0e11cb960319082764397469215a.1616613838.git.gurus@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c
include/linux/regmap.h