Re: [RFC PATCH v1 01/13] regmap: regmap-irq: Add main status register support

2019-01-23 Thread Mark Brown
On Tue, Jan 22, 2019 at 11:42:24AM +0200, Matti Vaittinen wrote: > 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.

[RFC PATCH v1 01/13] regmap: regmap-irq: Add main status register support

2019-01-22 Thread Matti Vaittinen
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 in