From: Yaozhong Li <yaozhonguwl@gmail.com>
To: heiko@sntech.de
Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/3] arm64: dts: rockchip: enable HDMI audio on rk3399-firefly
Date: Mon, 21 Sep 2026 14:34:30 +0800 [thread overview]
Message-ID: <20260921063431.103-4-yaozhonguwl@gmail.com> (raw)
In-Reply-To: <20260921063431.103-1-yaozhonguwl@gmail.com>
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@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
next prev parent reply other threads:[~2026-09-21 6:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 6:34 [PATCH v2 0/3] arm64: dts: rockchip: fix audio on Firefly-RK3399 Yaozhong Li
2026-09-21 6:34 ` [PATCH v2 1/3] arm64: dts: rockchip: fix analog headphone output on rk3399-firefly Yaozhong Li
2026-09-21 6:34 ` [PATCH v2 2/3] arm64: dts: rockchip: disable unused i2s0 " Yaozhong Li
2026-09-21 6:34 ` Yaozhong Li [this message]
2026-10-04 21:17 ` [PATCH v2 0/3] arm64: dts: rockchip: fix audio on Firefly-RK3399 Heiko Stuebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260921063431.103-4-yaozhonguwl@gmail.com \
--to=yaozhonguwl@gmail.com \
--cc=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox