mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Biju <biju.das.au@gmail.com>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	 Biju Das <biju.das.jz@bp.renesas.com>,
	linux-renesas-soc@vger.kernel.org,  devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	 Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH 4/5] arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator
Date: Wed, 27 May 2026 18:14:20 +0200	[thread overview]
Message-ID: <CAMuHMdUmZuoMaF35wBAtMqB5R7wy6ei2fV=bcvdju3AFQ_DZjg@mail.gmail.com> (raw)
In-Reply-To: <20260505123708.134069-5-biju.das.jz@bp.renesas.com>

Hi Biju,

Thanks for your patch!

On Tue, 5 May 2026 at 14:37, Biju <biju.das.au@gmail.com> wrote:
> From: Biju Das <biju.das.jz@bp.renesas.com>
>
> The RZ/G3L SMARC SoM has versa 5P35023B clock generator to generate the
> below clocks:
>   se1: AUDIO_MCK (11.2896 or 12.2880 MHz)
>   se2: RZ_AUDIO_CLK_B (11.2896 MHz)
>   se3: RZ_AUDIO_CLK_C (12.2880 MHz)
>   diff{1,1B}: ET{0,1}_PHY_CLK (25 MHz)
>   diff2{2,2B}: Not connected

All of these are listed in clock output index order...

>   ref: Not connected

... except for "ref", which is the first output, so please move it
to the top.

> Enable versa 5P35023B clock generator on the RZ/G3L SoM DTSI.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>

> --- a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi
> +++ b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi
> @@ -40,6 +40,12 @@ memory@48000000 {
>                 /* First 128MiB is reserved for secure area. */
>                 reg = <0x0 0x48000000 0x0 0x78000000>;
>         };
> +
> +       x2_clk: x2-clock {
> +               compatible = "fixed-clock";
> +               #clock-cells = <0>;
> +               clock-frequency = <24000000>;
> +       };
>  };
>
>  &eth0 {
> @@ -75,6 +81,20 @@ &extal_clk {
>  &i2c0 {
>         pinctrl-0 = <&i2c0_pins>;
>         pinctrl-names = "default";
> +
> +       versa3: clock-generator@68 {
> +               compatible = "renesas,5p35023";
> +               reg = <0x68>;
> +               #clock-cells = <1>;
> +               clocks = <&x2_clk>;
> +
> +               assigned-clocks = <&versa3 0>, <&versa3 1>,
> +                                 <&versa3 2>, <&versa3 3>,
> +                                 <&versa3 4>, <&versa3 5>;
> +               assigned-clock-rates = <24000000>, <12288000>,
> +                                      <11289600>, <12288000>,
> +                                      <25000000>, <25000000>;

Why do you set the clock rate of the (unused) ref output?
Copy-paste from the DT bindings example?

> +       };
>  };
>
>  &mdio0 {
\
Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

  reply	other threads:[~2026-05-27 16:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-05 12:36 [PATCH 0/5] Add audio support for RZ/G3L SMARC EVK Biju
2026-05-05 12:36 ` [PATCH 1/5] arm64: dts: renesas: r9a08g046: Add DMAC node Biju
2026-05-27 15:54   ` Geert Uytterhoeven
2026-05-05 12:37 ` [PATCH 2/5] arm64: dts: renesas: r9a08g046: Add SSI support Biju
2026-05-27 16:02   ` Geert Uytterhoeven
2026-05-05 12:37 ` [PATCH 3/5] arm64: dts: renesas: r9a08g046: Add audio clock nodes Biju
2026-05-27 16:06   ` Geert Uytterhoeven
2026-05-05 12:37 ` [PATCH 4/5] arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator Biju
2026-05-27 16:14   ` Geert Uytterhoeven [this message]
2026-05-27 17:05     ` Biju Das
2026-05-05 12:37 ` [PATCH 5/5] arm64: dts: renesas: r9a08g046l48-smarc: Enable audio Biju
2026-05-27 16:25   ` Geert Uytterhoeven
2026-05-27 17:06     ` Biju Das

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMuHMdUmZuoMaF35wBAtMqB5R7wy6ei2fV=bcvdju3AFQ_DZjg@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=biju.das.au@gmail.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®