[PATCH v3 0/8] Add syscon support for Renesas RZ/T2H & RZ/N2H in CPG/MSSR driver
Prabhakar <[email protected]> Thu, 16 Jul 2026 13:34:26 +0100
| Newsgroups | org.kernel.vger.linux-watchdog,org.kernel.vger.linux-clk,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-renesas-soc |
|---|---|
| Message-ID | <[email protected]> |
From: Lad Prabhakar <[email protected]> Hi All, This series adds syscon support for the Renesas RZ/T2H and RZ/N2H SoCs in the CPG/MSSR driver. The CPG/MSSR block on these SoCs is a multi-function block that integrates several system-level features beyond clock and reset control, including clock monitoring, write protection, and peripheral configuration registers. For the other IP blocks to be configured a syscon support is provided in the CPG/MSSR driver. This allows other drivers to access the CPG/MSSR registers via a regmap interface. Note: - Patches have been rebased on top of next-20260715. - The WDT driver patches apply on top of series [0]. [0] https://lore.kernel.org/all/[email protected]/ v2->v3: - Switched to non-RFC patches for the series. - Added new patch to split out the RZ/T2H CPG binding from the generic Renesas CPG/MSSR binding. - Dropped WDT driver refactor changes from this series. These has be submitted in a separate series which makes use of regmap. - Dropped registers from writeable_readable list. - Renamed sysc_init to post_init and updated signature to take cpg_mssr_pub struct. - Created a single regmap covering both SYSC register regions instead of two separate regmaps. - Updated commit messages v1->v2: https://lore.kernel.org/all/[email protected]/ - Updated commit message for patch #1 - Made use of for_each_child_of_node_scoped - Moved sysc_init() to the end of the probe function v1: https://lore.kernel.org/all/[email protected]/ Cheers, Prabhakar Lad Prabhakar (8): dt-bindings: clock: renesas: Split out RZ/T2H CPG binding clk: renesas: r9a09g077: Register SYSC regmap arm64: dts: renesas: r9a09g077: Adjust CPG register region sizes arm64: dts: renesas: r9a09g087: Adjust CPG register region sizes dt-bindings: watchdog: renesas,r9a09g057-wdt: Add CPG/MSSR syscon support watchdog: rzv2h: Add syscon support for WDTDCR arm64: dts: renesas: r9a09g077: Use CPG/MSSR syscon for WDTDCR access arm64: dts: renesas: r9a09g087: Use CPG/MSSR syscon for WDTDCR access .../bindings/clock/renesas,cpg-mssr.yaml | 27 +--- .../clock/renesas,rzt2h-cpg-mssr.yaml | 87 ++++++++++++ .../watchdog/renesas,r9a09g057-wdt.yaml | 29 +++- arch/arm64/boot/dts/renesas/r9a09g077.dtsi | 28 ++-- arch/arm64/boot/dts/renesas/r9a09g087.dtsi | 28 ++-- drivers/clk/renesas/Kconfig | 2 + drivers/clk/renesas/r9a09g077-cpg.c | 130 ++++++++++++++++++ drivers/clk/renesas/renesas-cpg-mssr.c | 18 ++- drivers/clk/renesas/renesas-cpg-mssr.h | 5 + drivers/watchdog/Kconfig | 1 + drivers/watchdog/rzv2h_wdt.c | 56 ++++++-- 11 files changed, 342 insertions(+), 69 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/renesas,rzt2h-cpg-mssr.yaml -- 2.54.0