rk3568 hdmi dts配置
时间: 2024-01-23 18:12:07 浏览: 255
迅为国产RK3568开发板Android移植 LCD 屏幕
rk3568芯片支持HDMI输出DTS音频,需要在设备树中进行配置。具体配置如下:
1. 在设备树中添加以下节点:
```
sound {
compatible = "rockchip,rk3568-hdmi-dts";
rockchip,model = "rk3568-hdmi-dts";
dts-codec {
compatible = "dts-audio";
dts,audio-formats = <0x1>;
};
};
```
2. 在HDMI节点中添加以下属性:
```
sound {
status = "okay";
hdmi-codec {
status = "okay";
dais = <&dai_hdmi>;
};
};
```
阅读全文