Devicetree
 help / color / mirror / Atom feed
From: Bjorn Andersson <andersson@kernel.org>
To: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	 Manivannan Sadhasivam <mani@kernel.org>,
	linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org,
	 devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: remoteproc: qcom,sm8550-pas: Make SDX75, Hawi and Maili MPSS fallback to SM8650
Date: Tue, 4 Aug 2026 11:11:29 -0500	[thread overview]
Message-ID: <anIM8yN-r1wrTErT@baldur> (raw)
In-Reply-To: <20260803180021.20368-1-mukesh.ojha@oss.qualcomm.com>

On Mon, Aug 03, 2026 at 11:30:20PM +0530, Mukesh Ojha wrote:
> 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.
> 

This will introduce a dt-validation error in
arch/arm64/boot/dts/qcom/sdx75.dtsi, which you fix in patch 2.

But while the binding says qcom,sdx75-mpss-pas alone isn't a valid
compatible, we support that in the driver, so we're maintaining
backwards compatibility with current DT - until someone cleans up the
driver to match the contract defined by the binding.

It might be reasonable to accept both of these hiccups, but you need to
document the upside of it.


But if I read this correctly, it seems I merged qcom,hawi-mpss-pas and
qcom,maili-mpss-pas prematurely. Based on the commit message in [1] I
thought they would fall back to sm8650, but this patch says that was
wrong of me - meaning that [1] should have contained a driver change as
well. I.e. you didn't test [1], right?

As I said in the reply to Krzysztof, I have dropped [1] again from my
queue.

[1] https://lore.kernel.org/all/20260713093237.691117-1-mukesh.ojha@oss.qualcomm.com/

Regards,
Bjorn

> Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
> ---
>  .../bindings/remoteproc/qcom,sm8550-pas.yaml  | 29 +++++++++----------
>  1 file changed, 14 insertions(+), 15 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml
> index a062188861ff..f722c55aadf4 100644
> --- 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
>            - qcom,sm8550-cdsp-pas
>            - qcom,sm8550-mpss-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
>  
>    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:
> @@ -257,13 +258,11 @@ allOf:
>    - if:
>        properties:
>          compatible:
> -          enum:
> -            - qcom,hawi-mpss-pas
> -            - qcom,maili-mpss-pas
> -            - qcom,sdx75-mpss-pas
> -            - qcom,sm8550-mpss-pas
> -            - qcom,sm8650-mpss-pas
> -            - qcom,sm8750-mpss-pas
> +          contains:
> +            enum:
> +              - qcom,sm8550-mpss-pas
> +              - qcom,sm8650-mpss-pas
> +              - qcom,sm8750-mpss-pas
>      then:
>        properties:
>          power-domains:
> -- 
> 2.53.0
> 

  parent reply	other threads:[~2026-08-04 16:11 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 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,sm8550-pas: Make SDX75, Hawi and Maili MPSS fallback to SM8650 sashiko-bot
2026-08-04  8:41 ` Krzysztof Kozlowski
2026-08-04 16:13   ` Bjorn Andersson
2026-08-04 18:16   ` Mukesh Ojha
2026-08-04 16:11 ` Bjorn Andersson [this message]
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=anIM8yN-r1wrTErT@baldur \
    --to=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=mukesh.ojha@oss.qualcomm.com \
    --cc=robh@kernel.org \
    /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