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 bd937d6..2dc0fad 100644 (file)
 &spdif {
        pinctrl-0 = <&spdifm0_tx>;
        status = "okay";
-       #sound-dai-cells = <0>;
 
        spdif_p0: port {
                spdif_p0_0: endpoint {
index 14ea005..81cc3c9 100644 (file)
                clock-names = "i2s_clk", "i2s_hclk";
                dmas = <&dmac 11>, <&dmac 12>;
                dma-names = "tx", "rx";
+               #sound-dai-cells = <0>;
                status = "disabled";
        };
 
                clock-names = "i2s_clk", "i2s_hclk";
                dmas = <&dmac 14>, <&dmac 15>;
                dma-names = "tx", "rx";
+               #sound-dai-cells = <0>;
                status = "disabled";
        };
 
                clock-names = "i2s_clk", "i2s_hclk";
                dmas = <&dmac 0>, <&dmac 1>;
                dma-names = "tx", "rx";
+               #sound-dai-cells = <0>;
                status = "disabled";
        };
 
                dma-names = "tx";
                pinctrl-names = "default";
                pinctrl-0 = <&spdifm2_tx>;
+               #sound-dai-cells = <0>;
                status = "disabled";
        };