mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] Add audio support for RZ/G3L SMARC EVK
@ 2026-05-05 12:36 Biju
  2026-05-05 12:36 ` [PATCH 1/5] arm64: dts: renesas: r9a08g046: Add DMAC node Biju
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Biju @ 2026-05-05 12:36 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad, Biju Das

From: Biju Das <biju.das.jz@bp.renesas.com>

Hi All,

This patch series aims to add audio support for the RZ/G3L SMARC EVK
platform using the SSIF-2 interface. PDM/SPDIF support is planned for a
later date.

DMA device nodes have been added to the SoC DTSI so that SSI can use DMA.
SSI0 signals are connected to the DA7212 audio codec on the RZ/G3L SMARC
EVK. These signals are muxed with SD2 signals and are enabled through
the SYS.4 switch on the RZ/G3L SMARC SoM board. The audio clocks and MCK
are provided by the 5P35023B Versa Clock generator.

This patch series depend up on [1] and [2]
[1] https://lore.kernel.org/all/20260505071544.8965-1-biju.das.jz@bp.renesas.com/
[2] https://lore.kernel.org/all/20260505070206.7932-1-biju.das.jz@bp.renesas.com/

Biju Das (5):
  arm64: dts: renesas: r9a08g046: Add DMAC node
  arm64: dts: renesas: r9a08g046: Add SSI support
  arm64: dts: renesas: r9a08g046: Add audio clock nodes
  arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator
  arm64: dts: renesas: r9a08g046l48-smarc: Enable audio

 arch/arm64/boot/dts/renesas/r9a08g046.dtsi    | 127 ++++++++++++++++++
 .../boot/dts/renesas/r9a08g046l48-smarc.dts   |  72 ++++++++++
 .../boot/dts/renesas/rzg3l-smarc-som.dtsi     |  42 ++++++
 3 files changed, 241 insertions(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 1/5] arm64: dts: renesas: r9a08g046: Add DMAC node
  2026-05-05 12:36 [PATCH 0/5] Add audio support for RZ/G3L SMARC EVK Biju
@ 2026-05-05 12:36 ` Biju
  2026-05-27 15:54   ` Geert Uytterhoeven
  2026-05-05 12:37 ` [PATCH 2/5] arm64: dts: renesas: r9a08g046: Add SSI support Biju
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Biju @ 2026-05-05 12:36 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad, Biju Das

From: Biju Das <biju.das.jz@bp.renesas.com>

Add the DMA controller device tree node for the RZ/G3L (r9a08g046) SoC.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r9a08g046.dtsi | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi b/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
index 8abf4ec28df1..fa15e2ebc87c 100644
--- a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
@@ -482,6 +482,43 @@ icu: interrupt-controller@11050000 {
 			resets = <&cpg R9A08G046_IA55_RESETN>;
 		};
 
+		dmac: dma-controller@11820000 {
+			compatible = "renesas,r9a08g046-dmac", "renesas,rz-dmac";
+			reg = <0 0x11820000 0 0x10000>,
+			      <0 0x11830000 0 0x10000>;
+			interrupts = <GIC_SPI 153 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 154 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 155 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 159 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 160 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 161 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 163 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 164 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 165 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 169 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "error",
+					  "ch0", "ch1", "ch2", "ch3",
+					  "ch4", "ch5", "ch6", "ch7",
+					  "ch8", "ch9", "ch10", "ch11",
+					  "ch12", "ch13", "ch14", "ch15";
+			clocks = <&cpg CPG_MOD R9A08G046_DMAC_ACLK>,
+				 <&cpg CPG_MOD R9A08G046_DMAC_PCLK>;
+			clock-names = "main", "register";
+			power-domains = <&cpg>;
+			resets = <&cpg R9A08G046_DMAC_ARESETN>,
+				 <&cpg R9A08G046_DMAC_RST_ASYNC>;
+			reset-names = "arst", "rst_async";
+			#dma-cells = <1>;
+			dma-channels = <16>;
+		};
+
 		sdhi1: mmc@11c10000 {
 			reg = <0x0 0x11c10000 0 0x10000>;
 			/* placeholder */
-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 2/5] arm64: dts: renesas: r9a08g046: Add SSI support
  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-05 12:37 ` 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
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Biju @ 2026-05-05 12:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad, Biju Das

From: Biju Das <biju.das.jz@bp.renesas.com>

Add SSI{0,1,2,3} nodes to RZ/G3L SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r9a08g046.dtsi | 76 ++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi b/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
index fa15e2ebc87c..03c0ac707d3a 100644
--- a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
@@ -349,6 +349,82 @@ canfd: can@100c0000 {
 			/* placeholder */
 		};
 
+		ssi0: ssi@100e4000 {
+			compatible = "renesas,r9a08g046-ssi", "renesas,rz-ssi";
+			reg = <0 0x100e4000 0 0x400>;
+			interrupts = <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 306 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "int_req", "dma_rx", "dma_tx";
+			clocks = <&cpg CPG_MOD R9A08G046_SSI0_PCLK2>,
+				 <&cpg CPG_MOD R9A08G046_SSI0_PCLK_SFR>,
+				 <&audio_clk1>, <&audio_clk2>;
+			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
+			resets = <&cpg R9A08G046_SSI0_RST_M2_REG>;
+			dmas = <&dmac 0x2665>, <&dmac 0x2666>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			#sound-dai-cells = <0>;
+			status = "disabled";
+		};
+
+		ssi1: ssi@100e4400 {
+			compatible = "renesas,r9a08g046-ssi", "renesas,rz-ssi";
+			reg = <0 0x100e4400 0 0x400>;
+			interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 309 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 310 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "int_req", "dma_rx", "dma_tx";
+			clocks = <&cpg CPG_MOD R9A08G046_SSI1_PCLK2>,
+				 <&cpg CPG_MOD R9A08G046_SSI1_PCLK_SFR>,
+				 <&audio_clk1>, <&audio_clk2>;
+			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
+			resets = <&cpg R9A08G046_SSI1_RST_M2_REG>;
+			dmas = <&dmac 0x2669>, <&dmac 0x266a>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			#sound-dai-cells = <0>;
+			status = "disabled";
+		};
+
+		ssi2: ssi@100e4800 {
+			compatible = "renesas,r9a08g046-ssi", "renesas,rz-ssi";
+			reg = <0 0x100e4800 0 0x400>;
+			interrupts = <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 312 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 313 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "int_req", "dma_rx", "dma_tx";
+			clocks = <&cpg CPG_MOD R9A08G046_SSI2_PCLK2>,
+				 <&cpg CPG_MOD R9A08G046_SSI2_PCLK_SFR>,
+				 <&audio_clk1>, <&audio_clk2>;
+			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
+			resets = <&cpg R9A08G046_SSI2_RST_M2_REG>;
+			dmas = <&dmac 0x266d>, <&dmac 0x266e>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			#sound-dai-cells = <0>;
+			status = "disabled";
+		};
+
+		ssi3: ssi@100e4c00 {
+			compatible = "renesas,r9a08g046-ssi", "renesas,rz-ssi";
+			reg = <0 0x100e4c00 0 0x400>;
+			interrupts = <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 315 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 316 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "int_req", "dma_rx", "dma_tx";
+			clocks = <&cpg CPG_MOD R9A08G046_SSI3_PCLK2>,
+				 <&cpg CPG_MOD R9A08G046_SSI3_PCLK_SFR>,
+				 <&audio_clk1>, <&audio_clk2>;
+			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
+			resets = <&cpg R9A08G046_SSI3_RST_M2_REG>;
+			dmas = <&dmac 0x2671>, <&dmac 0x2672>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			#sound-dai-cells = <0>;
+			status = "disabled";
+		};
+
 		cpg: clock-controller@11010000 {
 			compatible = "renesas,r9a08g046-cpg";
 			reg = <0 0x11010000 0 0x10000>;
-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 3/5] arm64: dts: renesas: r9a08g046: Add audio clock nodes
  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-05 12:37 ` [PATCH 2/5] arm64: dts: renesas: r9a08g046: Add SSI support Biju
@ 2026-05-05 12:37 ` 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-05 12:37 ` [PATCH 5/5] arm64: dts: renesas: r9a08g046l48-smarc: Enable audio Biju
  4 siblings, 1 reply; 13+ messages in thread
From: Biju @ 2026-05-05 12:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad, Biju Das

From: Biju Das <biju.das.jz@bp.renesas.com>

Add audio_clk1 and audio_clk2 fixed-clock nodes to the RZ/G3L (r9a08g046)
SoC DTSI. These clocks are external to the SoC and their frequencies are
board-dependent, so they are defined with clock-frequency = <0> as
placeholders that must be overridden in board-level DTS files.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r9a08g046.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi b/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
index 03c0ac707d3a..55cbae6ca8d4 100644
--- a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
@@ -14,6 +14,20 @@ / {
 	#size-cells = <2>;
 	interrupt-parent = <&gic>;
 
+	audio_clk1: audio-clk1 {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		/* This value must be overridden by boards that provide it. */
+		clock-frequency = <0>;
+	};
+
+	audio_clk2: audio-clk2 {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		/* This value must be overridden by boards that provide it. */
+		clock-frequency = <0>;
+	};
+
 	cluster0_opp: opp-table-0 {
 		compatible = "operating-points-v2";
 
-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 4/5] arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator
  2026-05-05 12:36 [PATCH 0/5] Add audio support for RZ/G3L SMARC EVK Biju
                   ` (2 preceding siblings ...)
  2026-05-05 12:37 ` [PATCH 3/5] arm64: dts: renesas: r9a08g046: Add audio clock nodes Biju
@ 2026-05-05 12:37 ` Biju
  2026-05-27 16:14   ` Geert Uytterhoeven
  2026-05-05 12:37 ` [PATCH 5/5] arm64: dts: renesas: r9a08g046l48-smarc: Enable audio Biju
  4 siblings, 1 reply; 13+ messages in thread
From: Biju @ 2026-05-05 12:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad, Biju Das

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
  ref: Not connected

Enable versa 5P35023B clock generator on the RZ/G3L SoM DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 .../boot/dts/renesas/rzg3l-smarc-som.dtsi     | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi
index fb868ea99b7f..419a0e1584bc 100644
--- 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>;
+	};
 };
 
 &mdio0 {
-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 5/5] arm64: dts: renesas: r9a08g046l48-smarc: Enable audio
  2026-05-05 12:36 [PATCH 0/5] Add audio support for RZ/G3L SMARC EVK Biju
                   ` (3 preceding siblings ...)
  2026-05-05 12:37 ` [PATCH 4/5] arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator Biju
@ 2026-05-05 12:37 ` Biju
  2026-05-27 16:25   ` Geert Uytterhoeven
  4 siblings, 1 reply; 13+ messages in thread
From: Biju @ 2026-05-05 12:37 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad, Biju Das

From: Biju Das <biju.das.jz@bp.renesas.com>

Enable audio on RZ/G3L SMARC EVK by linking SSI0 with DA7212 audio CODEC.
The SSI0 signals are multiplexed with SD2 and are selected by a switch
SW_SD2_EN#. Add regulator nodes regulator-{1p8v,3p3v} to SoM DTSI for
reuse with eMMC.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 .../boot/dts/renesas/r9a08g046l48-smarc.dts   | 72 +++++++++++++++++++
 .../boot/dts/renesas/rzg3l-smarc-som.dtsi     | 22 ++++++
 2 files changed, 94 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
index 9752d9d6a59c..80fb4e53c24b 100644
--- a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
+++ b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
@@ -9,6 +9,7 @@
 
 /* Switch selection settings */
 #define RZ_BOOT_MODE3		0
+#define SW_SD2_EN		0
 #define SW_DPI_EN		0
 #define SW_GPIO4		0
 #define SW_I3C_EN		0
@@ -38,6 +39,32 @@ aliases {
 		i2c3 = &i2c3;
 		serial3 = &scif0;
 	};
+
+#if !SW_SD2_EN
+	snd_rzg3l: sound {
+		compatible = "simple-audio-card";
+		simple-audio-card,name = "snd_rzg3l";
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ssi_link_play: simple-audio-card,dai-link@0 {
+			reg = <0>;
+			format = "i2s";
+			bitclock-master = <&cpu_dai>;
+			frame-master = <&cpu_dai>;
+			mclk-fs = <256>;
+
+			cpu_dai: cpu {
+				sound-dai = <&ssi0>;
+			};
+
+			codec_dai: codec {
+				sound-dai = <&da7212>;
+				clocks = <&versa3 1>;
+			};
+		};
+	};
+#endif
 };
 
 &i2c2 {
@@ -53,6 +80,27 @@ &i2c3 {
 	pinctrl-names = "default";
 
 	status = "okay";
+
+	da7212: codec@1a {
+		compatible = "dlg,da7212";
+		reg = <0x1a>;
+
+		clocks = <&versa3 1>;
+		clock-names = "mclk";
+
+		#sound-dai-cells = <0>;
+
+		dlg,micbias1-lvl = <2500>;
+		dlg,micbias2-lvl = <2500>;
+		dlg,dmic-data-sel = "lrise_rfall";
+		dlg,dmic-samplephase = "between_clkedge";
+		dlg,dmic-clkrate = <3000000>;
+
+		VDDA-supply = <&reg_1p8v>;
+		VDDSP-supply = <&reg_3p3v>;
+		VDDMIC-supply = <&reg_3p3v>;
+		VDDIO-supply = <&reg_1p8v>;
+	};
 };
 #endif
 
@@ -71,6 +119,11 @@ &keys {
 };
 
 &pinctrl {
+	audio_clk_pins: audio-clock {
+		pinmux = <RZG3L_PORT_PINMUX(H, 4, 6)>, /* AUDIO_CLK_B */
+			 <RZG3L_PORT_PINMUX(H, 5, 6)>; /* AUDIO_CLK_C */
+	};
+
 	i2c2_pins: i2c2 {
 		pinmux = <RZG3L_PORT_PINMUX(A, 4, 4)>, /* RIIC2_SCL */
 			 <RZG3L_PORT_PINMUX(A, 5, 4)>; /* RIIC2_SDA */
@@ -85,9 +138,28 @@ scif0_pins: scif0 {
 		pins = "SCIF0_TXD", "SCIF0_RXD";
 		power-source = <1800>;
 	};
+
+	ssi0_pins: ssi0 {
+		pinmux = <RZG3L_PORT_PINMUX(H, 1, 9)>, /* SSIF0_BCK */
+			 <RZG3L_PORT_PINMUX(H, 2, 9)>, /* SSIF0_RCK */
+			 <RZG3L_PORT_PINMUX(H, 3, 9)>, /* SSIF0_TXD */
+			 <RZG3L_PORT_PINMUX(H, 0, 9)>; /* SSIF0_RXD */
+	};
 };
 
 &scif0 {
 	pinctrl-0 = <&scif0_pins>;
 	pinctrl-names = "default";
 };
+
+#if !SW_SD2_EN
+&ssi0 {
+	clocks = <&cpg CPG_MOD R9A08G046_SSI0_PCLK2>,
+		 <&cpg CPG_MOD R9A08G046_SSI0_PCLK_SFR>,
+		 <&versa3 2>, <&versa3 3>;
+	pinctrl-0 = <&audio_clk_pins>, <&ssi0_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+#endif
diff --git a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi
index 419a0e1584bc..0c5b195ec57e 100644
--- a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi
@@ -13,6 +13,10 @@
  *      0 - SMARC_I2C_GP is enabled
  *      1 - I3C is enabled
  *
+ * Switch position SYS.4, Macro SW_SD2_EN:
+ *      0 - Select I2S0
+ *      1 - Select SD2
+ *
  * Switch position SYS.5, Macro SW_DPI_EN:
  *      0 - Select multiple SMARC signals active
  *      1 - Select LCD
@@ -41,6 +45,24 @@ memory@48000000 {
 		reg = <0x0 0x48000000 0x0 0x78000000>;
 	};
 
+	reg_1p8v: regulator-1p8v {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-1.8V";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
+	reg_3p3v: regulator-3p3v {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-3.3V";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
 	x2_clk: x2-clock {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;
-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 1/5] arm64: dts: renesas: r9a08g046: Add DMAC node
  2026-05-05 12:36 ` [PATCH 1/5] arm64: dts: renesas: r9a08g046: Add DMAC node Biju
@ 2026-05-27 15:54   ` Geert Uytterhoeven
  0 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-05-27 15:54 UTC (permalink / raw)
  To: Biju
  Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad

On Tue, 5 May 2026 at 14:37, Biju <biju.das.au@gmail.com> wrote:
> From: Biju Das <biju.das.jz@bp.renesas.com>
>
> Add the DMA controller device tree node for the RZ/G3L (r9a08g046) SoC.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v7.2.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/5] arm64: dts: renesas: r9a08g046: Add SSI support
  2026-05-05 12:37 ` [PATCH 2/5] arm64: dts: renesas: r9a08g046: Add SSI support Biju
@ 2026-05-27 16:02   ` Geert Uytterhoeven
  0 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-05-27 16:02 UTC (permalink / raw)
  To: Biju
  Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad

On Tue, 5 May 2026 at 14:37, Biju <biju.das.au@gmail.com> wrote:
> From: Biju Das <biju.das.jz@bp.renesas.com>
>
> Add SSI{0,1,2,3} nodes to RZ/G3L SoC DTSI.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v7.2.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 3/5] arm64: dts: renesas: r9a08g046: Add audio clock nodes
  2026-05-05 12:37 ` [PATCH 3/5] arm64: dts: renesas: r9a08g046: Add audio clock nodes Biju
@ 2026-05-27 16:06   ` Geert Uytterhoeven
  0 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-05-27 16:06 UTC (permalink / raw)
  To: Biju
  Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad

Hi Biju,

On Tue, 5 May 2026 at 14:37, Biju <biju.das.au@gmail.com> wrote:
> From: Biju Das <biju.das.jz@bp.renesas.com>
>
> Add audio_clk1 and audio_clk2 fixed-clock nodes to the RZ/G3L (r9a08g046)
> SoC DTSI. These clocks are external to the SoC and their frequencies are
> board-dependent, so they are defined with clock-frequency = <0> as
> placeholders that must be overridden in board-level DTS files.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>

Thanks for your patch!

> --- a/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r9a08g046.dtsi
> @@ -14,6 +14,20 @@ / {
>         #size-cells = <2>;
>         interrupt-parent = <&gic>;
>
> +       audio_clk1: audio-clk1 {

audio1-clk to follow node name recommendations

> +               compatible = "fixed-clock";
> +               #clock-cells = <0>;
> +               /* This value must be overridden by boards that provide it. */
> +               clock-frequency = <0>;
> +       };
> +
> +       audio_clk2: audio-clk2 {

audio2-clk

> +               compatible = "fixed-clock";
> +               #clock-cells = <0>;
> +               /* This value must be overridden by boards that provide it. */
> +               clock-frequency = <0>;
> +       };
> +
>         cluster0_opp: opp-table-0 {
>                 compatible = "operating-points-v2";

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v7.2 with the above fixed.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 4/5] arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator
  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
  2026-05-27 17:05     ` Biju Das
  0 siblings, 1 reply; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-05-27 16:14 UTC (permalink / raw)
  To: Biju
  Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 5/5] arm64: dts: renesas: r9a08g046l48-smarc: Enable audio
  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
  0 siblings, 1 reply; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-05-27 16:25 UTC (permalink / raw)
  To: Biju
  Cc: Magnus Damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Biju Das, linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad

Hi Biju,

On Tue, 5 May 2026 at 14:37, Biju <biju.das.au@gmail.com> wrote:
> From: Biju Das <biju.das.jz@bp.renesas.com>
>
> Enable audio on RZ/G3L SMARC EVK by linking SSI0 with DA7212 audio CODEC.
> The SSI0 signals are multiplexed with SD2 and are selected by a switch
> SW_SD2_EN#. Add regulator nodes regulator-{1p8v,3p3v} to SoM DTSI for
> reuse with eMMC.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>

Thanks for your patch!

> --- a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
> +++ b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
> @@ -9,6 +9,7 @@
>
>  /* Switch selection settings */
>  #define RZ_BOOT_MODE3          0
> +#define SW_SD2_EN              0
>  #define SW_DPI_EN              0
>  #define SW_GPIO4               0
>  #define SW_I3C_EN              0
> @@ -38,6 +39,32 @@ aliases {
>                 i2c3 = &i2c3;
>                 serial3 = &scif0;
>         };
> +
> +#if !SW_SD2_EN

"&& !SW_I3C_EN"...

> +       snd_rzg3l: sound {
> +               compatible = "simple-audio-card";
> +               simple-audio-card,name = "snd_rzg3l";
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +
> +               ssi_link_play: simple-audio-card,dai-link@0 {
> +                       reg = <0>;
> +                       format = "i2s";
> +                       bitclock-master = <&cpu_dai>;
> +                       frame-master = <&cpu_dai>;
> +                       mclk-fs = <256>;
> +
> +                       cpu_dai: cpu {
> +                               sound-dai = <&ssi0>;
> +                       };
> +
> +                       codec_dai: codec {
> +                               sound-dai = <&da7212>;

... as i2c3 where da7212 resides is protected by !SW_I3C_EN.

> +                               clocks = <&versa3 1>;
> +                       };
> +               };
> +       };
> +#endif
>  };
>
>  &i2c2 {
> @@ -53,6 +80,27 @@ &i2c3 {
>         pinctrl-names = "default";
>
>         status = "okay";
> +
> +       da7212: codec@1a {
> +               compatible = "dlg,da7212";
> +               reg = <0x1a>;
> +
> +               clocks = <&versa3 1>;
> +               clock-names = "mclk";
> +
> +               #sound-dai-cells = <0>;
> +
> +               dlg,micbias1-lvl = <2500>;
> +               dlg,micbias2-lvl = <2500>;
> +               dlg,dmic-data-sel = "lrise_rfall";
> +               dlg,dmic-samplephase = "between_clkedge";
> +               dlg,dmic-clkrate = <3000000>;
> +
> +               VDDA-supply = <&reg_1p8v>;
> +               VDDSP-supply = <&reg_3p3v>;
> +               VDDMIC-supply = <&reg_3p3v>;
> +               VDDIO-supply = <&reg_1p8v>;
> +       };
>  };
>  #endif

> @@ -85,9 +138,28 @@ scif0_pins: scif0 {
>                 pins = "SCIF0_TXD", "SCIF0_RXD";
>                 power-source = <1800>;
>         };
> +
> +       ssi0_pins: ssi0 {
> +               pinmux = <RZG3L_PORT_PINMUX(H, 1, 9)>, /* SSIF0_BCK */
> +                        <RZG3L_PORT_PINMUX(H, 2, 9)>, /* SSIF0_RCK */
> +                        <RZG3L_PORT_PINMUX(H, 3, 9)>, /* SSIF0_TXD */
> +                        <RZG3L_PORT_PINMUX(H, 0, 9)>; /* SSIF0_RXD */

Please sort by pin.

> +       };
>  };
>
>  &scif0 {
>         pinctrl-0 = <&scif0_pins>;
>         pinctrl-names = "default";
>  };

The rest LGTM.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: [PATCH 4/5] arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator
  2026-05-27 16:14   ` Geert Uytterhoeven
@ 2026-05-27 17:05     ` Biju Das
  0 siblings, 0 replies; 13+ messages in thread
From: Biju Das @ 2026-05-27 17:05 UTC (permalink / raw)
  To: geert, biju.das.au
  Cc: magnus.damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad

Hi Geert,

Thanks for the feedback.

> -----Original Message-----
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 27 May 2026 17:14
> Subject: Re: [PATCH 4/5] arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator
> 
> 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.

OK.

> 
> > 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?

It is a mistake. will drop it.

> Copy-paste from the DT bindings example?

Yes, Will drop both the unused ref and diff2 output.

Cheers,
Biju
> 
> > +       };
> >  };
> >
> >  &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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: [PATCH 5/5] arm64: dts: renesas: r9a08g046l48-smarc: Enable audio
  2026-05-27 16:25   ` Geert Uytterhoeven
@ 2026-05-27 17:06     ` Biju Das
  0 siblings, 0 replies; 13+ messages in thread
From: Biju Das @ 2026-05-27 17:06 UTC (permalink / raw)
  To: geert, biju.das.au
  Cc: magnus.damm, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-renesas-soc, devicetree, linux-kernel,
	Prabhakar Mahadev Lad

Hi Geert,

Thanks for the feedback.

> -----Original Message-----
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 27 May 2026 17:26
> Subject: Re: [PATCH 5/5] arm64: dts: renesas: r9a08g046l48-smarc: Enable audio
> 
> Hi Biju,
> 
> On Tue, 5 May 2026 at 14:37, Biju <biju.das.au@gmail.com> wrote:
> > From: Biju Das <biju.das.jz@bp.renesas.com>
> >
> > Enable audio on RZ/G3L SMARC EVK by linking SSI0 with DA7212 audio CODEC.
> > The SSI0 signals are multiplexed with SD2 and are selected by a switch
> > SW_SD2_EN#. Add regulator nodes regulator-{1p8v,3p3v} to SoM DTSI for
> > reuse with eMMC.
> >
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> 
> Thanks for your patch!
> 
> > --- a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
> > +++ b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
> > @@ -9,6 +9,7 @@
> >
> >  /* Switch selection settings */
> >  #define RZ_BOOT_MODE3          0
> > +#define SW_SD2_EN              0
> >  #define SW_DPI_EN              0
> >  #define SW_GPIO4               0
> >  #define SW_I3C_EN              0
> > @@ -38,6 +39,32 @@ aliases {
> >                 i2c3 = &i2c3;
> >                 serial3 = &scif0;
> >         };
> > +
> > +#if !SW_SD2_EN
> 
> "&& !SW_I3C_EN"...

OK.

> 
> > +       snd_rzg3l: sound {
> > +               compatible = "simple-audio-card";
> > +               simple-audio-card,name = "snd_rzg3l";
> > +               #address-cells = <1>;
> > +               #size-cells = <0>;
> > +
> > +               ssi_link_play: simple-audio-card,dai-link@0 {
> > +                       reg = <0>;
> > +                       format = "i2s";
> > +                       bitclock-master = <&cpu_dai>;
> > +                       frame-master = <&cpu_dai>;
> > +                       mclk-fs = <256>;
> > +
> > +                       cpu_dai: cpu {
> > +                               sound-dai = <&ssi0>;
> > +                       };
> > +
> > +                       codec_dai: codec {
> > +                               sound-dai = <&da7212>;
> 
> ... as i2c3 where da7212 resides is protected by !SW_I3C_EN.
> 
> > +                               clocks = <&versa3 1>;
> > +                       };
> > +               };
> > +       };
> > +#endif
> >  };
> >
> >  &i2c2 {
> > @@ -53,6 +80,27 @@ &i2c3 {
> >         pinctrl-names = "default";
> >
> >         status = "okay";
> > +
> > +       da7212: codec@1a {
> > +               compatible = "dlg,da7212";
> > +               reg = <0x1a>;
> > +
> > +               clocks = <&versa3 1>;
> > +               clock-names = "mclk";
> > +
> > +               #sound-dai-cells = <0>;
> > +
> > +               dlg,micbias1-lvl = <2500>;
> > +               dlg,micbias2-lvl = <2500>;
> > +               dlg,dmic-data-sel = "lrise_rfall";
> > +               dlg,dmic-samplephase = "between_clkedge";
> > +               dlg,dmic-clkrate = <3000000>;
> > +
> > +               VDDA-supply = <&reg_1p8v>;
> > +               VDDSP-supply = <&reg_3p3v>;
> > +               VDDMIC-supply = <&reg_3p3v>;
> > +               VDDIO-supply = <&reg_1p8v>;
> > +       };
> >  };
> >  #endif
> 
> > @@ -85,9 +138,28 @@ scif0_pins: scif0 {
> >                 pins = "SCIF0_TXD", "SCIF0_RXD";
> >                 power-source = <1800>;
> >         };
> > +
> > +       ssi0_pins: ssi0 {
> > +               pinmux = <RZG3L_PORT_PINMUX(H, 1, 9)>, /* SSIF0_BCK */
> > +                        <RZG3L_PORT_PINMUX(H, 2, 9)>, /* SSIF0_RCK */
> > +                        <RZG3L_PORT_PINMUX(H, 3, 9)>, /* SSIF0_TXD */
> > +                        <RZG3L_PORT_PINMUX(H, 0, 9)>; /* SSIF0_RXD */
> 
> Please sort by pin.

Will fix this in next version.

Cheers,
Biju

> 
> > +       };
> >  };
> >
> >  &scif0 {
> >         pinctrl-0 = <&scif0_pins>;
> >         pinctrl-names = "default";
> >  };
> 
> The rest LGTM.
> 
> 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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-05-27 17:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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®