]> www.infradead.org Git - users/willy/xarray.git/commit
pinctrl: renesas: rzg2l: Remove RZG2L_TINT_IRQ_START_INDEX
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>
Mon, 30 Sep 2024 14:52:40 +0000 (15:52 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Oct 2024 11:39:13 +0000 (13:39 +0200)
commit1d930d4bf8e68c2a7122a6d0899a99f0370c45b1
treeef7e293c9fbfb756d697b196c8c10d3c4ecd14fb
parenta8130323587cea11e7f15ca7803f1b138d6683d5
pinctrl: renesas: rzg2l: Remove RZG2L_TINT_IRQ_START_INDEX

The RZ/V2H(P) SoC has 16 IRQ interrupts, while every other SoC has 8,
and this affects the start index of TINT interrupts (1 + 16 = 17, rather
than 1 + 8 = 9).
Macro RZG2L_TINT_IRQ_START_INDEX cannot work anymore, replace it with a
new member within struct rzg2l_hwcfg.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://lore.kernel.org/20240930145244.356565-2-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c