The ICU block on the RZ/G3E SoC is almost identical to the one found on the RZ/V2H SoC, with the following differences: - The TINT register offset is 0x830 compared to 0x30 on RZ/V2H. - The number of supported GPIO interrupts for TINT selection is 141 instead of 86. - The pin index and TINT selection index are not in the 1:1 map - The number of TSSR registers is 15 instead of 8 - Each TSSR register can program 2 TINTs instead of 4 TINTs Add support for the RZ/G3E ICU driver. v1->v2: * Collected tags * Split the simplification patch into two. * Updated commit header and description for patch#4. * Replaced devm_reset_control_get_optional_exclusive_deasserted()-> devm_reset_control_get_exclusive_deasserted(). * Moved simplification using devm_pm_runtime_enable() to patch#5. * Aligned kernel doc, struct members and struct initializers in a tabular fashion. * Renamed the macro ICU_PB5_TINT->ICU_RZV2H_TSSEL_MAX_VAL. * Replaced hexa decimal constant with ICU_RZV2H_TSSEL_MAX_VAL in struct rzv2h_hw_params. * Introduced ICU_RZG3E_{TSSEL_MAX_VAL,TINT_OFFSET} macros and used these macros in struct rzv2h_hw_params rather than using the hex constants. Biju Das (12): dt-bindings: interrupt-controller: renesas,rzv2h-icu: Document RZ/G3E SoC clk: renesas: r9a09g047: Add ICU clock/reset irqchip/renesas-rzv2h: Drop irqchip from struct rzv2h_icu_priv irqchip/renesas-rzv2h: Use devm_reset_control_get_exclusive_deasserted() irqchip/renesas-rzv2h: Simplify rzv2h_icu_init() irqchip/renesas-rzv2h: Add struct rzv2h_hw_info with t_offs variable irqchip/renesas-rzv2h: Add max_tssel variable to struct rzv2h_hw_info irqchip/renesas-rzv2h: Add tssr_k variable to struct rzv2h_hw_info irqchip/renesas-rzv2h: Add tssel_mask and tssel_shift variables to struct rzv2h_hw_info irqchip/renesas-rzv2h: Add tien variable to struct rzv2h_hw_info irqchip/renesas-rzv2h: Add RZ/G3E support arm64: dts: renesas: r9a09g047: Add icu node .../renesas,rzv2h-icu.yaml | 6 +- arch/arm64/boot/dts/renesas/r9a09g047.dtsi | 108 ++++++++++++ drivers/clk/renesas/r9a09g047-cpg.c | 3 + drivers/irqchip/irq-renesas-rzv2h.c | 162 +++++++++++++----- 4 files changed, 232 insertions(+), 47 deletions(-) -- 2.43.0