Skip to contentSkip to conversation

ARM: dts: rockchip: move rk3036 i2s sound-dail-cells into soc dtsi

PATCH New Heiko Stuebner 1 participant 1 message Dec 24, 2018

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: rockchip: move rk3036 i2s sound-dail-cells into soc dtsi

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.

---
 arch/arm/boot/dts/rk3036-kylin.dts | 1 -
 arch/arm/boot/dts/rk3036.dtsi      | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/rk3036-kylin.dts +0 -1
index 0fd19f9723df..0173eb11ec28 100644
@@ -310,7 +310,6 @@
 };
 
 &i2s {
-	#sound-dai-cells = <0>;
 	status = "okay";
 };
 
arch/arm/boot/dts/rk3036.dtsi +1 -0
index d560fc4051c5..59c90863b0e7 100644
@@ -289,6 +289,7 @@
 		dma-names = "tx", "rx";
 		pinctrl-names = "default";
 		pinctrl-0 = <&i2s_bus>;
+		#sound-dai-cells = <0>;
 		status = "disabled";
 	};
 
Signature · 1 line
2.19.2