Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Mukesh Ojha" <mukesh.ojha@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: remoteproc: qcom,sm8550-pas: Make SDX75, Hawi and Maili MPSS fallback to SM8650
Date: Mon, 03 Aug 2026 18:21:24 +0000	[thread overview]
Message-ID: <20260803182125.980F41F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260803180021.20368-1-mukesh.ojha@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Removing `qcom,sdx75-mpss-pas` from the standalone enum and enforcing a fallback breaks schema validation for existing DTBs and the in-tree DTS.
--

--- Patch [1]: [PATCH 1/2] dt-bindings: remoteproc: qcom,sm8550-pas: Make SDX75, Hawi and Maili MPSS fallback to SM8650 ---
commit 47a9ace0c12a078f309c8a844f59ffd712d4d63a
Author: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>

dt-bindings: remoteproc: qcom,sm8550-pas: Make SDX75, Hawi and Maili MPSS fallback to SM8650

SDX75, Hawi and Maili MPSS are compatible with the SM8650 MPSS as
they share the same set of interrupts, memory regions and power domains.
Rather than describing them as standalone compatibles, model them as
fallbacks to qcom,sm8650-mpss-pas.

> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
> @@ -18,9 +18,6 @@ properties:
>      oneOf:
>        - enum:
>            - qcom,eliza-cdsp-pas
> -          - qcom,hawi-mpss-pas
> -          - qcom,maili-mpss-pas
> -          - qcom,sdx75-mpss-pas
>            - qcom,sm8550-adsp-pas

[ ... ]

> @@ -49,6 +46,12 @@ properties:
>        - items:
>            - const: qcom,sm8750-cdsp-pas
>            - const: qcom,sm8650-cdsp-pas
> +      - items:
> +          - enum:
> +              - qcom,hawi-mpss-pas
> +              - qcom,maili-mpss-pas
> +              - qcom,sdx75-mpss-pas
> +          - const: qcom,sm8650-mpss-pas

[Severity: Medium]
Does removing the standalone compatible strings and enforcing them only as 
part of a 2-item array break backward compatibility for existing device trees?

If older device trees, such as arch/arm64/boot/dts/qcom/sdx75.dtsi, use 
qcom,sdx75-mpss-pas without the newly required fallback, will they start 
failing dtbs_check validation?

>  
>    reg:
>      maxItems: 1

[ ... ]

> @@ -205,11 +208,9 @@ allOf:
>    - if:
>        properties:
>          compatible:
> -          enum:
> -            - qcom,hawi-mpss-pas
> -            - qcom,maili-mpss-pas
> -            - qcom,sdx75-mpss-pas
> -            - qcom,sm8650-mpss-pas
> +          contains:
> +            enum:
> +              - qcom,sm8650-mpss-pas
>      then:
>        properties:
>          interrupts:

[Severity: Medium]
Since older device trees might not include the fallback string, does
removing the standalone compatible strings from these allOf conditional 
blocks mean those device trees will silently bypass validation for 
interrupts, power-domains, and memory-regions constraints?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260803180021.20368-1-mukesh.ojha@oss.qualcomm.com?part=1

  parent reply	other threads:[~2026-08-03 18:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03 18:00 [PATCH 1/2] dt-bindings: remoteproc: qcom,sm8550-pas: Make SDX75, Hawi and Maili MPSS fallback to SM8650 Mukesh Ojha
2026-08-03 18:00 ` [PATCH 2/2] arm64: dts: qcom: sdx75: Use SM8650 MPSS as fallback compatible Mukesh Ojha
2026-08-03 18:06   ` Dmitry Baryshkov
2026-08-03 18:21 ` sashiko-bot [this message]
2026-08-04  8:41 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,sm8550-pas: Make SDX75, Hawi and Maili MPSS fallback to SM8650 Krzysztof Kozlowski
2026-08-04 16:13   ` Bjorn Andersson
2026-08-04 18:16   ` Mukesh Ojha
2026-08-04 16:11 ` Bjorn Andersson
2026-08-04 18:30   ` Mukesh Ojha

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=20260803182125.980F41F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=mukesh.ojha@oss.qualcomm.com \
    --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