From: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
To: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>,
srini@kernel.org, broonie@kernel.org, lgirdwood@gmail.com
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: sound: qcom,sm8250: document widgets
Date: Wed, 2 Dec 2026 08:50:54 +0000 [thread overview]
Message-ID: <7b3b306d-ca17-46db-8871-94df0c6a7509@oss.qualcomm.com> (raw)
In-Reply-To: <20261202003154.1321334-1-xiaqinghuan@mail.ustc.edu.cn>
On 12/2/26 12:31 AM, Qianhui Xu wrote:
> The Qualcomm sound card common parser (sound/soc/qcom/common.c:198)
> reads the "widgets" property via snd_soc_of_parse_audio_simple_widgets(),
> and qcom,apq8016-sbc-sndcard.yaml already documents the same property
> with the same wording. The qcom,sm8250 binding (which also covers
> sc7280/sm8450/sm8650/sm8750 sndcards) never gained it, so sound cards
> that declare widgets fail dtbs_check with "'widgets' does not match any
> of the regexes: '.*-dai-link$', '^pinctrl-[0-9]+$'".
>
> Document the property with the non-unique string array type, mirroring
> the qcom,apq8016-sbc-sndcard.yaml declaration. No DT or driver change.
Thanks for the patch,
I guess you should have also audited the device trees aswell, because
none of SoCs that are part of this binding actually use such property.
NAK from my side on this bindings change, Unless there is usecase that
needs this property.
pl note that common.c is file that get used on all Qualcomm SoC's.
thanks,
Srini
> The patch has no dependency on any other change, so it is sent alone.
>
> Found while auditing a qcom,sm8750-sndcard board.
>
> Signed-off-by: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>
> ---
> *** AI-assistance disclosure ***
> This patch was prepared with the help of an LLM coding assistant. The
> author reviewed every line, checked every quoted claim against the tree,
> and ran the gates recorded in the send report; the design decisions and
> any errors are the author's.
>
> diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> index 1536fcd96..1745a8844 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> @@ -73,6 +73,10 @@ properties:
> $ref: /schemas/types.yaml#/definitions/string
> description: User visible long sound card name
>
> + widgets:
> + description: User specified audio sound widgets.
> + $ref: /schemas/types.yaml#/definitions/non-unique-string-array
> +
> patternProperties:
> ".*-dai-link$":
> description:
next prev parent reply other threads:[~2026-12-02 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 0:31 Qianhui Xu
2026-12-02 8:50 ` Srinivas Kandagatla [this message]
2026-12-02 10:28 ` Mark Brown
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=7b3b306d-ca17-46db-8871-94df0c6a7509@oss.qualcomm.com \
--to=srinivas.kandagatla@oss.qualcomm.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=robh@kernel.org \
--cc=srini@kernel.org \
--cc=xiaqinghuan@mail.ustc.edu.cn \
/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
all inboxes | Powered by JetHome®