Skip to content
Snippets Groups Projects
Commit bf91f445 authored by Detlev Casanova's avatar Detlev Casanova
Browse files

arm64: dts: rockchip: Add HDMI0 audio output for rk3588 SoC


Use the simple-audio-card driver with the hdmi0 QP node as CODEC and
the i2s5 device as CPU.

The simple-audio-card,mclk-fs value is set to 128 as it is done in
the downstream driver.

The #sound-dai-cells value is set to 0 in the hdmi0 node so that it can be
used as an audio codec node.

Tested-by: Quentin Schulz <quentin.schulz@cherry.de> # RK3588 Tiger Haikou
Signed-off-by: default avatarDetlev Casanova <detlev.casanova@collabora.com>
parent df8242c6
Branches
No related tags found
No related merge requests found
......@@ -382,6 +382,22 @@ scmi_reset: protocol@16 {
};
};
hdmi0_sound: hdmi0-sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <128>;
simple-audio-card,name = "hdmi0";
status = "disabled";
simple-audio-card,codec {
sound-dai = <&hdmi0>;
};
simple-audio-card,cpu {
sound-dai = <&i2s5_8ch>;
};
};
pmu-a55 {
compatible = "arm,cortex-a55-pmu";
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_partition0>;
......@@ -1394,6 +1410,7 @@ hdmi0: hdmi@fde80000 {
reset-names = "ref", "hdp";
rockchip,grf = <&sys_grf>;
rockchip,vo-grf = <&vo1_grf>;
#sound-dai-cells = <0>;
status = "disabled";
ports {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment