[PATCH] dt-bindings: sound: qcom,sm8250: document widgets
From: Qianhui Xu
Date: Tue Dec 01 2026 - 19:32:16 EST
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.
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@xxxxxxxxxxxxxxxx>
---
*** 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:
--
2.43.0