[PATCH v2 3/3] arm64: dts: rockchip: enable HDMI audio on rk3399-firefly

Yaozhong Li yaozhonguwl at gmail.com
Sun Sep 20 23:34:30 PDT 2026


The Firefly-RK3399 carries audio over its HDMI connector, but
hdmi_sound is left disabled, so the only outputs are the analog RT5640
jacks and S/PDIF.

Enable it. This needs the previous patch: with i2s0 still holding two
pl330 channels there is none left for i2s2 and the card fails to probe.

Tested on a Firefly-RK3399 with a 1920x1080 display attached. All three
cards register and the hdmi-sound card plays at both 44.1 and 48 kHz:

   0 [hdmisound      ]: simple-card - hdmi-sound
   1 [rockchiprt5640c]: simple-card - rockchip,rt5640-codec
   2 [SPDIF          ]: SPDIF - SPDIF

Assisted-by: LLM
Signed-off-by: Yaozhong Li <yaozhonguwl at gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
index dbc38dd..0469807 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
@@ -323,6 +323,10 @@ &hdmi {
 	status = "okay";
 };
 
+&hdmi_sound {
+	status = "okay";
+};
+
 &i2c0 {
 	clock-frequency = <400000>;
 	i2c-scl-rising-time-ns = <168>;
-- 
2.55.0.windows.3




More information about the linux-arm-kernel mailing list