]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: rockchip: move rk3328 #sound-dai-cells to the soc dtsi
authorHeiko Stuebner <heiko@sntech.de>
Mon, 24 Dec 2018 06:06:29 +0000 (07:06 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 7 Jan 2019 08:16:52 +0000 (09:16 +0100)
The rk3328 i2s and spdif controllers only ever have one output
connection, so as with all implementations of the rk3066 i2s
controllers we can keep the #sound-dai-cells in the main dtsi
instead of having it repeated in each board.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index bd937d68ca3bdb99e378c069d8a9b388ec46a516..2dc0fad9efa7102f25cad1d0c448430aab05e648 100644 (file)
@@ -290,7 +290,6 @@ &sdmmc {
 &spdif {
        pinctrl-0 = <&spdifm0_tx>;
        status = "okay";
-       #sound-dai-cells = <0>;
 
        spdif_p0: port {
                spdif_p0_0: endpoint {
index 14ea0053e4085ecbdb066acd0731e1d9d98f8b00..81cc3c996e2a514764430c32359ed6821e847365 100644 (file)
@@ -184,6 +184,7 @@ i2s0: i2s@ff000000 {
                clock-names = "i2s_clk", "i2s_hclk";
                dmas = <&dmac 11>, <&dmac 12>;
                dma-names = "tx", "rx";
+               #sound-dai-cells = <0>;
                status = "disabled";
        };
 
@@ -195,6 +196,7 @@ i2s1: i2s@ff010000 {
                clock-names = "i2s_clk", "i2s_hclk";
                dmas = <&dmac 14>, <&dmac 15>;
                dma-names = "tx", "rx";
+               #sound-dai-cells = <0>;
                status = "disabled";
        };
 
@@ -206,6 +208,7 @@ i2s2: i2s@ff020000 {
                clock-names = "i2s_clk", "i2s_hclk";
                dmas = <&dmac 0>, <&dmac 1>;
                dma-names = "tx", "rx";
+               #sound-dai-cells = <0>;
                status = "disabled";
        };
 
@@ -219,6 +222,7 @@ spdif: spdif@ff030000 {
                dma-names = "tx";
                pinctrl-names = "default";
                pinctrl-0 = <&spdifm2_tx>;
+               #sound-dai-cells = <0>;
                status = "disabled";
        };