Skip to content

Commit e959f14

Browse files
Sugar Zhangrkhuangtao
authored andcommitted
arm64: dts: rockchip: rk3308-evb-dmic-i2s-v11: enable 6mic + 2loopback
Change-Id: I8e07e546d1a47e7f5f66519662fe90737dda5232 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
1 parent e66b096 commit e959f14

1 file changed

Lines changed: 26 additions & 6 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3308-evb-dmic-i2s-v11.dts

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,16 @@
1111
model = "Rockchip RK3308 evb digital-i2s mic v11 board";
1212
compatible = "rockchip,rk3308-evb-dmic-i2s-v11", "rockchip,rk3308";
1313

14-
i2s-dmic-array {
14+
i2s_8ch_0_2_dais: i2s-8ch-0-2-dais {
1515
status = "okay";
16+
compatible = "rockchip,multi-dais";
17+
dais = <&i2s_8ch_0>, <&i2s_8ch_2>;
18+
capture,channel-mapping = <6 2>;
19+
playback,channel-mapping = <0 2>;
20+
};
21+
22+
i2s-dmic-array {
23+
status = "disabled";
1624
compatible = "simple-audio-card";
1725
simple-audio-card,format = "i2s";
1826
simple-audio-card,name = "rockchip,i2s-dmic-array";
@@ -26,27 +34,39 @@
2634
};
2735

2836
vad-sound {
29-
status = "disabled";
37+
status = "okay";
3038
compatible = "rockchip,multicodecs-card";
3139
rockchip,card-name = "rockchip,rk3308-vad";
32-
rockchip,cpu = <&i2s_8ch_0>;
33-
rockchip,codec = <&dummy_codec>, <&vad>;
40+
rockchip,cpu = <&i2s_8ch_0_2_dais>;
41+
rockchip,codec = <&acodec>, <&vad>;
3442
};
3543
};
3644

45+
&acodec_sound {
46+
status = "disabled";
47+
};
48+
3749
&dummy_codec {
38-
status = "okay";
50+
status = "disabled";
3951
#sound-dai-cells = <0>;
4052
};
4153

4254
&i2s_8ch_0 {
4355
status = "okay";
56+
rockchip,no-dmaengine;
57+
#sound-dai-cells = <0>;
58+
};
59+
60+
&i2s_8ch_2 {
61+
status = "okay";
62+
rockchip,no-dmaengine;
4463
#sound-dai-cells = <0>;
4564
};
4665

4766
&vad {
48-
status = "disabled";
67+
status = "okay";
4968
rockchip,audio-src = <&i2s_8ch_0>;
69+
rockchip,buffer-time-ms = <200>;
5070
rockchip,det-channel = <0>;
5171
rockchip,mode = <1>;
5272
#sound-dai-cells = <0>;

0 commit comments

Comments
 (0)