[PATCH v1 0/4] MediaTek CIRQ: new register layout and schema
From: AngeloGioacchino Del Regno
Date: Fri Nov 18 2022 - 05:07:34 EST
On newer SoCs (like MT8192/95 and also other non-chromebook chips), the
MediaTek CIRQ controller has a new register layout: this series adds
some more flexibility to the irq-mtk-cirq driver, allowing to select
the register layout based on a SoC-specific compatible.
While at it, I've also performed a schema conversion .. because why not.
This was tested on MT8173 Elm, MT8192 Asurada, MT8195 Tomato (where
the latter require devicetree work to actually make use of the CIRQ,
not included in this series).
AngeloGioacchino Del Regno (4):
dt-bindings: interrupt-controller: mediatek,cirq: Migrate to dt schema
dt-bindings: interrupt-controller: mediatek,cirq: Document MT8192
irqchip: irq-mtk-cirq: Move register offsets to const array
irqchip: irq-mtk-cirq: Add support for System CIRQ on MT8192
.../interrupt-controller/mediatek,cirq.txt | 33 --------
.../mediatek,mtk-cirq.yaml | 71 ++++++++++++++++
drivers/irqchip/irq-mtk-cirq.c | 81 ++++++++++++++-----
3 files changed, 134 insertions(+), 51 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/mediatek,cirq.txt
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mediatek,mtk-cirq.yaml
--
2.38.1