Skip to contentSkip to conversation

arm64: dts: r8a7795: add CTU/MIX support

PATCH In review Kuninori Morimoto 2 participants 5 messages Dec 6, 2016 – Dec 9, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: r8a7795: add CTU/MIX support

Hi Simon

These are v2 of r8a7795 CTU/MIX support patch-set

Kuninori Morimoto (2):
arm64: dts: r8a7795: add sound CTU support
arm64: dts: r8a7795: add sound MIX support

 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts |  2 ++
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+)
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/2 arm64: dts: r8a7795: add sound CTU support

From: Kuninori Morimoto <[email protected]>

This patch adds CTU (= Channel Transfer Unit) supoort which is needed to sound mixing.

---
v1 -> v2

- ctu@X -> ctu-X

 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts |  1 +
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           | 13 +++++++++++++
 2 files changed, 14 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +1 -0
index 56f3a91..79334ac 100644
@@ -507,6 +507,7 @@
 		 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
 		 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
 		 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
+		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
 		 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
 		 <&audio_clk_a>, <&cs2000>,
 		 <&audio_clk_c>,
arch/arm64/boot/dts/renesas/r8a7795.dtsi +13 -0
index 38cc90f..16aa31f 100644
@@ -1155,6 +1155,7 @@
 				 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
 				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
 				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
+				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
 				 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
 				 <&audio_clk_a>, <&audio_clk_b>,
 				 <&audio_clk_c>,
@@ -1166,6 +1167,7 @@
 				      "src.9", "src.8", "src.7", "src.6",
 				      "src.5", "src.4", "src.3", "src.2",
 				      "src.1", "src.0",
+				      "ctu.1", "ctu.0",
 				      "dvc.0", "dvc.1",
 				      "clk_a", "clk_b", "clk_c", "clk_i";
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
@@ -1182,6 +1184,17 @@
 				};
 			};
 
+			rcar_sound,ctu {
+				ctu00: ctu-0 { };
+				ctu01: ctu-1 { };
+				ctu02: ctu-2 { };
+				ctu03: ctu-3 { };
+				ctu10: ctu-4 { };
+				ctu11: ctu-5 { };
+				ctu12: ctu-6 { };
+				ctu13: ctu-7 { };
+			};
+
 			rcar_sound,src {
 				src0: src-0 {
 					interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
1.9.1
#2 lore raw

Re: [PATCH v2 1/2] arm64: dts: r8a7795: add sound CTU support

Quoted 7 lines · Kuninori Morimoto

From: Kuninori Morimoto <[email protected]>

This patch adds CTU (= Channel Transfer Unit) supoort which is needed to sound mixing.

Thanks Morimoto-san,

I have queued up this and the following patch for v4.11 after running the following on the changelog: s/supoort/support/

#3 lore raw

Re: [PATCH v2 1/2] arm64: dts: r8a7795: add sound CTU support

Hi Simon

Quoted 11 lines
Quoted 6 lines

From: Kuninori Morimoto <[email protected]>

This patch adds CTU (= Channel Transfer Unit) supoort which is needed to sound mixing.

Thanks Morimoto-san,

I have queued up this and the following patch for v4.11 after running the following on the changelog: s/supoort/support/

Grr, sorry for typo, and thank you for queuing

#4 lore raw

PATCH v2 2/2 arm64: dts: r8a7795: add sound MIX support

In reply to Kuninori Morimoto

From: Kuninori Morimoto <[email protected]>

This patch adds MIX (= Mixer) supoort.

---
v1 -> v2

- mix@X -> mix-X

 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 +
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           | 7 +++++++
 2 files changed, 8 insertions(+)
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +1 -0
index 79334ac..6429b21 100644
@@ -508,6 +508,7 @@
 		 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
 		 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
 		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
+		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
 		 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
 		 <&audio_clk_a>, <&cs2000>,
 		 <&audio_clk_c>,
arch/arm64/boot/dts/renesas/r8a7795.dtsi +7 -0
index 16aa31f..7799d75 100644
@@ -1156,6 +1156,7 @@
 				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
 				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
 				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
+				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
 				 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
 				 <&audio_clk_a>, <&audio_clk_b>,
 				 <&audio_clk_c>,
@@ -1167,6 +1168,7 @@
 				      "src.9", "src.8", "src.7", "src.6",
 				      "src.5", "src.4", "src.3", "src.2",
 				      "src.1", "src.0",
+				      "mix.1", "mix.0",
 				      "ctu.1", "ctu.0",
 				      "dvc.0", "dvc.1",
 				      "clk_a", "clk_b", "clk_c", "clk_i";
@@ -1184,6 +1186,11 @@
 				};
 			};
 
+			rcar_sound,mix {
+				mix0: mix-0 { };
+				mix1: mix-1 { };
+			};
+
 			rcar_sound,ctu {
 				ctu00: ctu-0 { };
 				ctu01: ctu-1 { };
Signature · 1 line
1.9.1