Re: [PATCH v4 5/8] arm64: dts: renesas: rzg3e-smarc-som: Add Versa3 clock generator
From: Geert Uytterhoeven
Date: Thu Jun 04 2026 - 08:42:03 EST
Hi John,
On Mon, 25 May 2026 at 13:07, John Madieu <john.madieu.xa@xxxxxxxxxxxxxx> wrote:
> Add the Renesas 5P35023 (Versa3) programmable clock generator on the
> I2C2 bus along with its 24MHz input clock (x2 oscillator) to feed the
> audio subsystem.
>
> The Versa3 provides the following audio-related clock outputs:
> - Output 0: 24MHz (reference)
> - Output 1: 12.288MHz (audio, 48kHz family)
> - Output 2: 11.2896MHz (audio, 44.1kHz family)
> - Output 3: 12.288MHz (audio)
>
> These clocks are required for the audio codec found on the RZ/G3E SMARC
> EVK.
>
> Signed-off-by: John Madieu <john.madieu.xa@xxxxxxxxxxxxxx>
Thanks for your patch!
> --- a/arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi
> +++ b/arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi
> @@ -130,6 +136,20 @@ raa215300: pmic@12 {
>
> interrupts-extended = <&pinctrl RZG3E_GPIO(S, 1) IRQ_TYPE_EDGE_FALLING>;
> };
> +
> + versa3: clock-generator@68 {
> + compatible = "renesas,5p35023";
> + reg = <0x68>;
> + #clock-cells = <1>;
> + clocks = <&x2>;
> +
> + assigned-clocks = <&versa3 0>, <&versa3 1>,
> + <&versa3 2>, <&versa3 3>,
> + <&versa3 4>, <&versa3 5>;
> + assigned-clock-rates = <24000000>, <12288000>,
> + <11289600>, <12288000>,
> + <25000000>, <25000000>;
Please add output 4 (DIFF1) in the patch description; it is needed
for Ethernet.
Please drop output 5 (DIFF2), as it is not connected.
> + };
> };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds