Skip to content

Commit 398dc60

Browse files
Sugar Zhangrkhuangtao
authored andcommitted
ARM64: dts: rk3328-evb: add support for internal codec sound
Change-Id: I8b1705f592d42e2f1d351ce5a7880993f7757b94 Signed-off-by: Sugar Zhang <[email protected]>
1 parent 02b29fc commit 398dc60

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3328-evb.dts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,28 @@
100100
status = "okay";
101101
};
102102

103+
sound {
104+
compatible = "simple-audio-card";
105+
simple-audio-card,format = "i2s";
106+
simple-audio-card,mclk-fs = <256>;
107+
simple-audio-card,name = "rockchip,rk3328";
108+
simple-audio-card,cpu {
109+
sound-dai = <&i2s1>;
110+
};
111+
simple-audio-card,codec {
112+
sound-dai = <&codec>;
113+
};
114+
};
115+
};
116+
117+
&i2s1 {
118+
#sound-dai-cells = <0>;
119+
status = "okay";
120+
};
121+
122+
&codec {
123+
#sound-dai-cells = <0>;
124+
status = "okay";
103125
};
104126

105127
&cpu0 {

0 commit comments

Comments
 (0)