From: sashiko-bot@kernel.org
To: "Abel Vesa" <abel.vesa@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Move Eliza ADSP to SM8550 schema
Date: Tue, 21 Jul 2026 11:47:11 +0000 [thread overview]
Message-ID: <20260721114711.D22351F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260721-dts-qcom-eliza-fix-adsp-binding-v1-1-3a0b03af2ec7@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] Moving the compatible string to an 'items' array constraint requiring a fallback breaks device tree validation for existing `qcom,eliza-adsp-pas` device nodes.
- [Medium] Moving `qcom,eliza-adsp-pas` to `qcom,sm8550-pas.yaml` inadvertently makes its 6th interrupt optional, whereas it was strictly required in its previous schema.
- [Low] Explicitly listing `qcom,eliza-adsp-pas` in the `contains` check for the `power-domains` block is redundant.
--
--- Patch [1]: [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Move Eliza ADSP to SM8550 schema ---
commit a654472ebd2ea108ab10c5ccd22057e8aa31a94f
Author: Abel Vesa <abel.vesa@oss.qualcomm.com>
dt-bindings: remoteproc: qcom,milos-pas: Move Eliza ADSP to SM8550 schema
The ADSP PAS found on Eliza SoC looks fully compatible with SM8750, which
can fallback to SM8550 except for the extra interrupt ("shutdown-ack").
So document its bindings in the SM8550 schema instead.
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
> index 2a4c527552e69..019db91be7fd2 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
> @@ -29,6 +29,7 @@ properties:
> - qcom,x1e80100-cdsp-pas
> - items:
> - enum:
> + - qcom,eliza-adsp-pas
> - qcom,glymur-adsp-pas
> - qcom,hawi-adsp-pas
> - qcom,kaanapali-adsp-pas
[Severity: Medium]
Does this regression break validation for existing device trees?
By moving this into an items array that requires a fallback, a standalone
compatible string like the one used in arch/arm64/boot/dts/qcom/eliza.dtsi:
compatible = "qcom,eliza-adsp-pas";
will fail validation since it doesn't specify the fallback.
[ ... ]
> @@ -134,6 +135,7 @@ allOf:
> compatible:
> contains:
> enum:
> + - qcom,eliza-adsp-pas
> - qcom,glymur-adsp-pas
> - qcom,glymur-cdsp-pas
> - qcom,hawi-adsp-pas
[Severity: Medium]
Can this inadvertently make the 6th interrupt optional for Eliza?
In the base schema, interrupts have a global minItems of 5. By adding
the compatible string to this block without an explicit minItems: 6 override,
the maxItems becomes 6, but the minItems remains 5, allowing device trees
with a missing "shutdown-ack" interrupt to silently pass validation.
[ ... ]
> @@ -232,6 +234,7 @@ allOf:
> compatible:
> contains:
> enum:
> + - qcom,eliza-adsp-pas
> - qcom,sm8550-adsp-pas
> - qcom,sm8650-adsp-pas
> - qcom,x1e80100-adsp-pas
[Severity: Low]
Is it necessary to include the specific string here?
Since the newly updated schema enforces qcom,sm8550-adsp-pas as a fallback
for this device, a node for Eliza will already contain the fallback string
and naturally match this condition without the extra entry.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260721-dts-qcom-eliza-fix-adsp-binding-v1-0-3a0b03af2ec7@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-07-21 11:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 11:35 [PATCH 0/2] dt-bindings: remoteproc: qcom,milos-pas: Fix ADSP bindings Abel Vesa
2026-07-21 11:35 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,milos-pas: Move Eliza ADSP to SM8550 schema Abel Vesa
2026-07-21 11:47 ` sashiko-bot [this message]
2026-07-21 15:09 ` Krzysztof Kozlowski
2026-07-21 11:35 ` [PATCH 2/2] arm64: dts: qcom: eliza: Add fallback compatible for ADSP remoteproc Abel Vesa
2026-07-21 13:41 ` Dmitry Baryshkov
2026-07-21 15:10 ` Krzysztof Kozlowski
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=20260721114711.D22351F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=abel.vesa@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--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