All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Detlev Casanova" <detlev.casanova@collabora.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 5/7] arm64: dts: rockchip: Rename rk356x HDMI audio card
Date: Mon, 31 Aug 2026 17:59:14 +0000	[thread overview]
Message-ID: <20260831175914.A99161F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260831-fix-rockchip-hdmi-audio-names-v1-5-5b155ae05293@collabora.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Critical] ABI Breakage: Renaming ALSA sound card breaks existing user-space audio configurations
--

commit 09adc9bbc18df386e17d8391018eada18c2a6d2a
Author: Detlev Casanova <detlev.casanova@collabora.com>

arm64: dts: rockchip: Rename rk356x HDMI audio card

This commit modifies the ALSA sound card name exposed by the device tree 
from "HDMI" to "RK356x HDMI" to avoid collisions with other Rockchip SoCs.

> diff --git a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
> index a5832895bd392..98785c812fc40 100644
> --- a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
> @@ -150,7 +150,7 @@ scmi_clk: protocol@14 {
>  
>  	hdmi_sound: hdmi-sound {
>  		compatible = "simple-audio-card";
> -		simple-audio-card,name = "HDMI";
> +		simple-audio-card,name = "RK356x HDMI";

[Severity: Critical]
Is it safe to change the ALSA card name exposed to userspace? 

The simple-audio-card,name property in hdmi_sound defines the exact sound
card name seen by userspace via ALSA. Changing this string from HDMI to
RK356x HDMI might break backwards compatibility with existing userspace audio
configurations, such as ALSA UCM profiles, PipeWire rules, or PulseAudio
matchers that rely on the established generic name. 

A user booting an updated kernel on an rk356x platform using existing UCM
profiles could experience broken audio unconditionally upon boot. Does this
change violate the kernel's policy against breaking userspace ABI?

>  		simple-audio-card,format = "i2s";
>  		simple-audio-card,mclk-fs = <256>;
>  		status = "disabled";

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260831-fix-rockchip-hdmi-audio-names-v1-0-5b155ae05293@collabora.com?part=5

  parent reply	other threads:[~2026-08-31 17:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-31 14:20 [PATCH 0/7] arm64: dts: rockchip: give HDMI sound cards SoC-specific names Detlev Casanova
2026-08-31 14:20 ` Detlev Casanova
2026-08-31 14:20 ` [PATCH 1/7] arm64: dts: rockchip: Rename rk3066a HDMI audio card Detlev Casanova
2026-08-31 14:20   ` Detlev Casanova
2026-08-31 14:20 ` [PATCH 2/7] arm64: dts: rockchip: Rename rk3288 " Detlev Casanova
2026-08-31 14:20   ` Detlev Casanova
2026-08-31 17:47   ` sashiko-bot
2026-08-31 14:20 ` [PATCH 3/7] arm64: dts: rockchip: Rename rk3328 " Detlev Casanova
2026-08-31 14:20   ` Detlev Casanova
2026-08-31 17:49   ` sashiko-bot
2026-08-31 14:20 ` [PATCH 4/7] arm64: dts: rockchip: Rename rk3399 " Detlev Casanova
2026-08-31 14:20   ` Detlev Casanova
2026-08-31 17:55   ` sashiko-bot
2026-08-31 14:20 ` [PATCH 5/7] arm64: dts: rockchip: Rename rk356x " Detlev Casanova
2026-08-31 14:20   ` Detlev Casanova
2026-08-31 17:29   ` Diederik de Haas
2026-08-31 17:29     ` Diederik de Haas
2026-08-31 20:07     ` Detlev Casanova
2026-08-31 20:07       ` Detlev Casanova
2026-08-31 17:59   ` sashiko-bot [this message]
2026-08-31 14:20 ` [PATCH 6/7] arm64: dts: rockchip: Rename rk3576 " Detlev Casanova
2026-08-31 14:20   ` Detlev Casanova
2026-08-31 14:20 ` [PATCH 7/7] arm64: dts: rockchip: Rename rk3588 HDMI audio cards Detlev Casanova
2026-08-31 14:20   ` Detlev Casanova
2026-08-31 18:02   ` 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=20260831175914.A99161F000E9@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.