regmap: irq: Support wake IRQ mask inversion
Support devices which have an enable rather than mask register for wake sources. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
33be49324f
commit
9442490a02
2 changed files with 18 additions and 4 deletions
|
@ -381,6 +381,7 @@ struct regmap_irq_chip {
|
|||
unsigned int wake_base;
|
||||
unsigned int irq_reg_stride;
|
||||
unsigned int mask_invert;
|
||||
unsigned int wake_invert;
|
||||
bool runtime_pm;
|
||||
|
||||
int num_regs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue