regmap-irq cleanups and refactoring
authorMark Brown <broonie@kernel.org>
Thu, 30 Jun 2022 17:26:37 +0000 (18:26 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 30 Jun 2022 17:26:37 +0000 (18:26 +0100)
commite129e413814720fe3ad3cdc74cfc32245cdbe972
tree0f23968b9cd7ba63a172ed4eaa5a910f49df324b
parenta5201d42e2f8a8e8062103170027840ee372742f
parent48e014ee9a61e8f4700987b82f7cb1dc3c89fa76
regmap-irq cleanups and refactoring

Merge series from Aidan MacDonald <aidanmacdonald.0x0@gmail.com>:

This series is an attempt at cleaning up the regmap-irq API in order
to simplify things and consolidate existing features, while at the
same time generalizing it to support a wider range of hardware.

There is a new system for IRQ type configuration, some tweaks to
unmask registers so they're more intuitive and useful, and a new
callback for calculating register addresses. There's also a few
minor code cleanups in here.

In v2 I've taken the approach of adding new features and deprecating
existing ones rather than removing them aggressively. Warnings will
be issued for any drivers that use deprecated features, but they'll
otherwise continue to function normally.

One important caveat: not all of these changes are tested beyond
compile testing, since I don't have hardware to exercise all of
the features.