Firefly开源社区
标题:
aio3399音频
[打印本页]
作者:
Njzy_Njzy
时间:
2018-8-9 11:49
标题:
aio3399音频
各位大神 有个疑问 就是图中两种方式配置的hdmi 有什么区别 现在配置HDMI声卡方式总共有三种 都被搞混了 一套是 RK 自定义HDMI 框架,
hdmi_sound: hdmi-sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,cpu {
sound-dai = <&i2s2>;
};
simple-audio-card,codec {
sound-dai = <&dw_hdmi_audio>;
};
};
dw_hdmi_audio: dw-hdmi-audio {
status = "okay";
compatible = "rockchip,dw-hdmi-audio";
#sound-dai-cells = <0>;
};
一套是DRM标准的HDMI 框架,
hdmi:
hdmi@ff940000
{
compatible = "rockchip,rk3399-dw-hdmi";
……
#address-cells = <1>;
#size-cells = <0>;
#sound-dai-cells = <0>;
};
hdmi_sound: hdmi-sound {
status = "okay";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,name = "rockchip,hdmi";
simple-audio-card,cpu {
sound-dai = <&i2s2>;
};
simple-audio-card,codec {
sound-dai = <&hdmi>;
};
};
最后一套是
&hdmi_dp_sound {
status = "okay";
};
hdmi_dp_sound: hdmi-dp-sound {
status = "disabled";
compatible = "rockchip,rk3399-hdmi-dp";
rockchip,cpu = <&i2s2>;
rockchip,codec = <&hdmi>, <&cdn_dp>;
};
QQ图片20180809114415.png
(5.16 KB, 下载次数: 172)
下载附件
2018-8-9 11:44 上传
作者:
Njzy_Njzy
时间:
2018-8-10 15:30
ding
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1