|
【Android】
rk3566 jd4开发板,dts如何设置rk809播放i2s2
发表于 2023-1-30 11:15:38
浏览:6211
|
回复:9
打印
只看该作者
[复制链接]
楼主
目前我购买的开发板rk809默认配置是播放i2s1的声音,我需要设置播放i2s2的声音。我的i2s2目前有声音输入,及gpio都在设置了使能。
但是还是没法播放i2s2的声音
我这样设置的:
&i2s2_2ch {
status = "okay";
// status = "disabled";
};
rk809_sound: rk809-sound {
status = "okay";
//zcp 2023.1.12 15.42尝试关闭
// status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,name = "rockchip,rk809-codec";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,widgets =
"Microphone", "Mic Jack",
"Headphone", "Headphone Jack";
simple-audio-card,routing =
"Mic Jack", "MICBIAS1",
"IN1P", "Mic Jack",
"Headphone Jack", "HPOL",
"Headphone Jack", "HPOR";
simple-audio-card,cpu {
// sound-dai = <&i2s1_8ch>;
sound-dai = <&i2s2_2ch>;
};
simple-audio-card,codec {
sound-dai = <&rk809_codec>;
};
};
|
|