All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec
Date: Tue, 22 Sep 2026 22:21:02 +0000	[thread overview]
Message-ID: <20260922222103.617651F000FF@smtp.kernel.org> (raw)
In-Reply-To: <566b4bc1822bc86a5844cbe1b2fe91d05b5ee9e4.1790114902.git.srinivas.kandagatla@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] dt-bindings: mfd: qcom,spmi-pmic: schema validation regression for wcd codecs
- [Low] dt-bindings: mfd: qcom,spmi-pmic: typo in commit title (pm4124 vs pm4125)
--

commit aa39b4a36b271ce733e772eaf378517309e2b1c7
Author: Alexey Klimov <alexey.klimov@linaro.org>

dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec

This commit adds the missing qcom,pm4125-codec compatible string to the
audio-codec node pattern properties in the mfd qcom,spmi-pmic schema to
support the audio codec on the Qualcomm Agatti SoC.

> dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec

This isn't a bug, but there is a typo in the commit subject. The title refers
to pm4124-codec, while the commit body and the actual compatible string added
in the patch use qcom,pm4125-codec.

> diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> index f6534e9e9912e..d750da31ae3f5 100644
> --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> @@ -148,7 +148,15 @@ patternProperties:
>  
>    "^audio-codec@[0-9a-f]+$":
>      type: object
> -    $ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml#
> +    properties:
> +      compatible:
> +        contains:
> +          enum:
> +            - qcom,pm4125-codec
> +            - qcom,pm8916-wcd-analog-codec

[Severity: Medium]
Does replacing the $ref with a restricted enum block incorrectly limit the
allowed compatible strings? Devices using standalone compatibles like
qcom,pm8950-wcd-analog-codec or qcom,pm8953-wcd-analog-codec, which were
legally permitted by the child schema, will now fail validation against
qcom,spmi-pmic.yaml when running make dtbs_check.

> +
> +    required:
> +      - compatible

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1790114902.git.srinivas.kandagatla@oss.qualcomm.com?part=2

  reply	other threads:[~2026-09-22 22:21 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 13:39 [PATCH v2 0/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-02-23 13:39 ` [PATCH v2 1/5] clk: qcom: fix SM6115 lpasscc register offset Srinivas Kandagatla
2026-02-24 12:20   ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec Srinivas Kandagatla
2026-02-23 16:56   ` Rob Herring
2026-02-23 18:14     ` Srinivas Kandagatla
2026-02-23 13:39 ` [PATCH v2 3/5] arm64: dts: qcom: agatti: add LPASS devices Srinivas Kandagatla
2026-02-24  2:58   ` Dmitry Baryshkov
2026-02-24 12:24   ` Konrad Dybcio
2026-02-24 12:28   ` Konrad Dybcio
2026-05-15  8:29     ` Srinivas Kandagatla
2026-07-17  9:39       ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 4/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-02-24 11:48   ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 5/5] arm64: defconfig: Enable configs for audio drivers on Arduino UnoQ Srinivas Kandagatla
2026-02-24  2:57   ` Dmitry Baryshkov
2026-09-22 22:11 ` [PATCH v3 0/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-09-22 22:11   ` [PATCH v3 1/5] clk: qcom: fix SM6115 lpasscc register offset Srinivas Kandagatla
2026-09-22 23:42     ` Alexey Klimov
2026-09-22 22:11   ` [PATCH v3 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec Srinivas Kandagatla
2026-09-22 22:21     ` sashiko-bot [this message]
2026-09-28 10:09     ` Krzysztof Kozlowski
2026-09-28 17:42       ` Srinivas Kandagatla
2026-09-22 22:11   ` [PATCH v3 3/5] arm64: dts: qcom: agatti: add LPASS devices Srinivas Kandagatla
2026-09-22 22:21     ` sashiko-bot
2026-09-22 22:11   ` [PATCH v3 4/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-09-22 22:26     ` sashiko-bot
2026-09-23 19:31     ` Alexey Klimov
2026-09-22 22:11   ` [PATCH v3 5/5] arm64: defconfig: Enable configs for audio drivers on Arduino UnoQ Srinivas Kandagatla
2026-09-22 23:39     ` Alexey Klimov

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=20260922222103.617651F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=srinivas.kandagatla@oss.qualcomm.com \
    /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.