From: sashiko-bot@kernel.org
To: "Detlev Casanova" <detlev.casanova@collabora.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 6/8] arm64: dts: rockchip: Rename rk3566 and rk3568 HDMI audio cards
Date: Thu, 10 Sep 2026 13:44:35 +0000 [thread overview]
Message-ID: <20260910134436.1E1F91F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260910-fix-rockchip-hdmi-audio-names-v2-6-1396a6168e20@collabora.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Critical] ALSA sound card name change breaks ABI / backwards compatibility with existing userspace configurations.
- [Low] Missing semicolon at the end of the `&hdmi_sound` node overrides causes a Device Tree Compiler (DTC) syntax error, breaking the build.
--
commit 544b3c713c02b4d695c704bc8f12f60bc89bcc82
Author: Detlev Casanova <detlev.casanova@collabora.com>
arm64: dts: rockchip: Rename rk3566 and rk3568 HDMI audio cards
This patch moves the HDMI audio card name for RK3566 and RK3568 into
their respective dtsi files. It updates the card name to match the SoC,
preventing collisions with the generic HDMI string used by other SoCs.
> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-base.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-base.dtsi
> index e56e0b6ba9411..0086ff49fee23 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3566-base.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3566-base.dtsi
> @@ -6,6 +6,10 @@ / {
> compatible = "rockchip,rk3566";
> };
>
> +&hdmi_sound {
> + simple-audio-card,name = "RK3566 HDMI";
> +}
[Severity: Low]
Does this missing semicolon cause a Device Tree Compiler (DTC) syntax error?
DTC strictly requires a semicolon after the closing brace of node overrides
at the root level.
Without it, a build failure occurs when dtc encounters the next node token
(&pipegrf) in rk3566-base.dtsi.
> +
> &pipegrf {
> compatible = "rockchip,rk3566-pipe-grf", "syscon";
> };
[ ... ]
> diff --git a/arch/arm64/boot/dts/rockchip/rk3568.dtsi b/arch/arm64/boot/dts/rockchip/rk3568.dtsi
> index 3bc653f027f1f..efc1edff1e15d 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi
> @@ -382,6 +382,10 @@ &gpu {
> operating-points-v2 = <&gpu_opp_table>;
> };
>
> +&hdmi_sound {
> + simple-audio-card,name = "RK3568 HDMI";
> +}
[Severity: Low]
Is it possible this missing semicolon also causes a syntax error here?
Similar to the rk3566-base.dtsi change, this introduces a fatal syntax error
when building device trees that include rk3568.dtsi.
> +
> &pipegrf {
> compatible = "rockchip,rk3568-pipe-grf", "syscon";
> };
[ ... ]
> diff --git a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
> index a5832895bd392..1a4562df20ee5 100644
> --- a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
> @@ -150,7 +150,6 @@ scmi_clk: protocol@14 {
>
> hdmi_sound: hdmi-sound {
> compatible = "simple-audio-card";
> - simple-audio-card,name = "HDMI";
[Severity: Critical]
Does removing the established ALSA card name introduce a regression for
userspace ABI compatibility?
Changing the ALSA sound card name from HDMI to the SoC-specific strings
breaks existing userspace ALSA UCM profiles, PulseAudio configurations,
and routing rules that match on this exact original string.
> simple-audio-card,format = "i2s";
> simple-audio-card,mclk-fs = <256>;
> status = "disabled";
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260910-fix-rockchip-hdmi-audio-names-v2-0-1396a6168e20@collabora.com?part=6
next prev parent reply other threads:[~2026-09-10 13:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 13:34 [PATCH v2 0/8] arm(64): dts: rockchip: give HDMI sound cards SoC-specific names Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 1/8] ARM: dts: rockchip: Rename rk3066a HDMI audio card Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 2/8] ARM: dts: rockchip: Rename rk3288-miqi " Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 3/8] ARM: dts: rockchip: Rename rk3288-tinker " Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 4/8] arm64: dts: rockchip: Rename rk3328 " Detlev Casanova
2026-09-10 13:38 ` sashiko-bot
2026-09-10 13:34 ` [PATCH v2 5/8] arm64: dts: rockchip: Rename rk3399 " Detlev Casanova
2026-09-10 13:40 ` sashiko-bot
2026-09-10 13:34 ` [PATCH v2 6/8] arm64: dts: rockchip: Rename rk3566 and rk3568 HDMI audio cards Detlev Casanova
2026-09-10 13:44 ` sashiko-bot [this message]
2026-09-10 13:34 ` [PATCH v2 7/8] arm64: dts: rockchip: Rename rk3576 HDMI audio card Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 8/8] arm64: dts: rockchip: Rename rk3588 HDMI audio cards Detlev Casanova
2026-09-10 13:42 ` sashiko-bot
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=20260910134436.1E1F91F00893@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=detlev.casanova@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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