[PATCH v3 0/8] Add versaclock3 support for RZ/V2H and RZ/V2N EVKs

Ovidiu Panait posted 8 patches 5 days, 4 hours ago
.../dts/renesas/r9a09g056n48-rzv2n-evk.dts    |  25 +
.../dts/renesas/r9a09g057h44-rzv2h-evk.dts    |  25 +
drivers/clk/clk-versaclock3.c                 | 618 +++++++++++++-----
3 files changed, 506 insertions(+), 162 deletions(-)
[PATCH v3 0/8] Add versaclock3 support for RZ/V2H and RZ/V2N EVKs
Posted by Ovidiu Panait 5 days, 4 hours ago
Hi,

This series extends the versaclock3 driver to support registering multiple
devices at the same time, and adds support for the internal freerunning
32.768 kHz clock. The 32k clock is used on the Renesas RZ/V2H and RZ/V2N
SoCs as RTC counter clock.

The dts nodes for the RZ/V2H and RZ/V2N EVKs were updated to describe
the versa3 devices found on the boards.

Best regards,
Ovidiu

v3:
- Fixed a NULL pointer dereference on the error paths.
- Added support for registering multiple versa3 instances at the same time.
- Made clock names unique by prefixing them with the DT node name.
- Rebased the internal 32k clock patch to match the new logic.
- Added comments in RZ/V2H and RZ/V2N board dts to document rtxin_clk and
  qextal_clk routing.

v2: https://lore.kernel.org/all/20260120150606.7356-1-ovidiu.panait.rb@renesas.com/
- Added versaclock3 dts node for RZ/V2N EVK.

v1: https://lore.kernel.org/all/20251021175311.19611-1-ovidiu.panait.rb@renesas.com/

Ovidiu Panait (8):
  clk: versaclock3: Fix NULL pointer dereference in error path
  clk: versaclock3: Remove unused SE2 clock select macro
  clk: versaclock3: Reference parent clocks by type and index
  clk: versaclock3: Add per-device clock data structure
  clk: versaclock3: Prefix clock names with DT node name
  clk: versaclock3: Add freerunning 32.768kHz clock support
  arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add versa3 clock
    generator node
  arm64: dts: renesas: r9a09g056n48-rzv2n-evk: Add versa3 clock
    generator node

 .../dts/renesas/r9a09g056n48-rzv2n-evk.dts    |  25 +
 .../dts/renesas/r9a09g057h44-rzv2h-evk.dts    |  25 +
 drivers/clk/clk-versaclock3.c                 | 618 +++++++++++++-----
 3 files changed, 506 insertions(+), 162 deletions(-)

-- 
2.51.0