irqchip/irq-mtk-cirq: Add support for System CIRQ on MT8192
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 28 Nov 2022 09:22:17 +0000 (10:22 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 28 Nov 2022 11:44:02 +0000 (11:44 +0000)
commit5c4e0aac0b2a27168844da49cee2c5dff2925d22
treedb10d2f03f78a5d4a0cc387c772180dca97af427
parent45ac01959edcecfa5d6652c2397d3866e55b0da8
irqchip/irq-mtk-cirq: Add support for System CIRQ on MT8192

On some SoCs the System CIRQ register layout is slightly different,
as there are more registers per function and in some cases other
differences later in the layout: this is seen on at least MT8192,
but it's also valid for some other "contemporary" SoCs both for
Chromebooks and for smartphones.

Add the new "v2" register layout and use it if the compatible
"mediatek,mt8192-cirq" is found.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221128092217.36552-5-angelogioacchino.delregno@collabora.com
drivers/irqchip/irq-mtk-cirq.c