arm64: dts: r8a7795: add sound CTU support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 6 Dec 2016 03:54:21 +0000 (03:54 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 3 Jan 2017 09:41:30 +0000 (10:41 +0100)
This patch adds CTU (= Channel Transfer Unit) support which is needed
to sound mixing.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
arch/arm64/boot/dts/renesas/r8a7795.dtsi

index bcaf4008d32d005920821881d0229c9d2f08f83d..82a269a4f10d9ee99d91e336151a3306e9fe85cd 100644 (file)
                 <&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>,
index 2c076c21d7fa8c43834341a287c5197aada59288..e09f5b7b874a56713d326e947f32a39f84a069ad 100644 (file)
                                 <&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>,
                                      "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>;
                                };
                        };
 
+                       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>;