OSDN Git Service

ARM: dts: rockchip: move rk3036 i2s sound-dail-cells into soc dtsi
authorHeiko Stuebner <heiko@sntech.de>
Mon, 24 Dec 2018 08:17:45 +0000 (09:17 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 7 Jan 2019 08:15:24 +0000 (09:15 +0100)
The Rockchip i2s controller always only has one output connection
hence #sound-dai-cells is always 0. Therefore define it in the soc
dtsi itself instead of in individual boards.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3036-kylin.dts
arch/arm/boot/dts/rk3036.dtsi

index 0fd19f9..0173eb1 100644 (file)
 };
 
 &i2s {
-       #sound-dai-cells = <0>;
        status = "okay";
 };
 
index d560fc4..59c9086 100644 (file)
                dma-names = "tx", "rx";
                pinctrl-names = "default";
                pinctrl-0 = <&i2s_bus>;
+               #sound-dai-cells = <0>;
                status = "disabled";
        };