Re: [PATCH v4 4/8] arm64: dts: renesas: r9a09g047: Add RZ/G3E Sound support
From: Geert Uytterhoeven
Date: Thu Jun 04 2026 - 08:32:15 EST
Hi John,
On Mon, 25 May 2026 at 13:07, John Madieu <john.madieu.xa@xxxxxxxxxxxxxx> wrote:
> Add the snd_rzg3e node for the RZ/G3E SoC with all sub-components:
>
> - SSI (Serial Sound Interface) units 0-9
> - SSIU (Serial Sound Interface Unit) units 0-27
> - SRC (Sample Rate Converter) units 0-9
> - CTU (Channel Transfer Unit) units 0-7
> - DVC (Digital Volume Control) units 0-1
> - MIX (Mixer) units 0-1
>
> Sub-node names follow the new RZ/G3E sound binding: unprefixed
> 'ssi', 'ssiu', 'src', 'dvc', 'mix', 'ctu' wrapper nodes instead of
> the legacy 'rcar_sound,xxx' R-Car prefix.
>
> Wire up all 5 DMA controllers (dmac0-dmac4) for each audio sub-node
> with repeated channel names, so that the DMA core can pick the first
> available controller.
>
> Signed-off-by: John Madieu <john.madieu.xa@xxxxxxxxxxxxxx>
> ---
>
> Changes:
>
> v4:
> - Rename the indexed clock-names and reset-names from the dotted
> form (ssi.N, src.N, adg.ssi.N, clk_a, clk_b, clk_c, clk_i) to the
> hyphenated form (ssi-N, src-N, adg-ssi-N, audio-clka, audio-clkb,
> audio-clkc, audio-clki), matching the new RZ/G3E sound binding.
> - Rename the sub-nodes from the legacy rcar_sound,{ctu,dvc,mix,src,
> ssi,ssiu} prefix to the unprefixed ctu/dvc/mix/src/ssi/ssiu names
> used by the new RZ/G3E sound binding.
> - Reorder the clocks and resets phandle lists into ascending index
> order and annotate each entry with a per-line comment naming the
> clock / reset.
> - Drop the #sound-dai-cells and #clock-cells explanatory comment
> blocks from the node.
> - Align the continuation lines of the dmas property.
> - Fix the commit message: the node label is snd_rzg3e (v3 referred
> to it as rzg3e_sound), and add a paragraph noting the unprefixed
> sub-node names.
Thanks for the update!
> --- a/arch/arm64/boot/dts/renesas/r9a09g047.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r9a09g047.dtsi
> @@ -912,6 +912,482 @@ rsci9: serial@12803000 {
> status = "disabled";
> };
>
> + snd_rzg3e: sound@13c00000 {
> + compatible = "renesas,r9a09g047-sound";
> + reg = <0 0x13c00000 0 0x10000>, /* SCU */
size 0x20000. to include the SCU DMAC?
> + <0 0x13c20000 0 0x10000>, /* ADG */
> + <0 0x13c30000 0 0x1000>, /* SSIU */
> + <0 0x13c31000 0 0x1F000>, /* SSI */
0x1f000 (lower case)
> + <0 0x13c50000 0 0x10000>; /* Audio DMAC peri peri */
> + reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
> + clocks = <&cpg CPG_MOD 245>, /* ssi-all */
> + <&cpg CPG_MOD 385>, /* ssi-0 */
Please use hexadecimal module clock numbers, for easier matching with
the documentation.
[...]
> + power-domains = <&cpg>;
> + resets = <&cpg 225>, /* ssi-all */
> + <&cpg 226>, <&cpg 227>, <&cpg 228>,
Please use hexadecimal module reset numbers.
> + <&cpg 229>, <&cpg 230>, <&cpg 231>,
> + <&cpg 232>, <&cpg 233>, <&cpg 234>,
> + <&cpg 235>,
> + <&cpg 236>, /* scu */
> + <&cpg 238>, /* adg */
> + <&cpg 237>; /* audmapp */
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