Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Yongxing Mou" <yongxing.mou@oss.qualcomm.com>
Cc: dri-devel@lists.freedesktop.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: display: msm: Add INT2 GDSC to Kaanapali DPU
Date: Tue, 15 Sep 2026 09:36:53 +0000	[thread overview]
Message-ID: <20260915093654.380F81F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260915-msm_gdsc2-v2-1-9157237b8382@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: missing INT2 power domain in Kaanapali MDSS example
--

commit fc3449e10374106de27dd1a562563cdee9c4085f
Author: Yongxing Mou <yongxing.mou@oss.qualcomm.com>

dt-bindings: display: msm: Add INT2 GDSC to Kaanapali DPU

Kaanapali (SM8850) has an additional INT2 GDSC that powers a subset
of the DPU source pipes (VIG2/VIG3/DMA5), on top of the CORE_GDSC
that powers the rest of the MDSS hardware. This commit describes INT2 GDSC
as an additional power domain of the DPU device rather than of the whole
MDSS and restricts the schema change to the Kaanapali DPU compatible.

> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml
> index aa0cf0ec5b93f..88aa71d2b9120 100644
> --- a/Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml
> +++ b/Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml
[ ... ]
> @@ -61,6 +61,29 @@ required:
>    - clocks
>    - clock-names
>  
> +allOf:
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            const: qcom,kaanapali-dpu
> +    then:
> +      properties:
> +        power-domains:
> +          items:
> +            - description: MMCX power domain
> +            - description: INT2 GDSC power domain
> +
> +        power-domain-names:
> +          minItems: 2
> +          maxItems: 2
> +          items:
> +            - const: mmcx
> +            - const: int2
> +
> +      required:
> +        - power-domain-names

[Severity: Low]
Does this new requirement break the example in the qcom,kaanapali-mdss
binding?

The example in 
Documentation/devicetree/bindings/display/msm/qcom,kaanapali-mdss.yaml
defines a display-controller node with compatible = "qcom,kaanapali-dpu"
but only provides one power domain:

        display-controller@9801000 {
            compatible = "qcom,kaanapali-dpu";
            ...
            power-domains = <&rpmhpd RPMHPD_MMCX>;

Since the new constraints require two power domains and power-domain-names
for this compatible string, should the example be updated to avoid failing
the make dt_binding_check validation?

>  unevaluatedProperties: false
>  
>  examples:

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260915-msm_gdsc2-v2-0-9157237b8382@oss.qualcomm.com?part=1

  reply	other threads:[~2026-09-15  9:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15  9:27 [PATCH v2 0/3] drm/msm/dpu: Add INT2 GDSC power domain support for Kaanapali Yongxing Mou
2026-09-15  9:27 ` [PATCH v2 1/3] dt-bindings: display: msm: Add INT2 GDSC to Kaanapali DPU Yongxing Mou
2026-09-15  9:36   ` sashiko-bot [this message]
2026-09-15 19:34   ` Rob Herring (Arm)
2026-09-16  2:37     ` Yongxing Mou
2026-10-05  1:02   ` Dmitry Baryshkov
2026-09-15  9:27 ` [PATCH v2 2/3] drm/msm/dpu: Attach INT2 power domain alongside MMCX on Kaanapali Yongxing Mou
2026-10-05  1:05   ` Dmitry Baryshkov
2026-09-15  9:27 ` [PATCH v2 3/3] arm64: dts: qcom: Add INT2 GDSC to Kaanapali DPU Yongxing Mou
2026-09-15  9:53   ` Abel Vesa
2026-10-05  1:06   ` Dmitry Baryshkov
2026-10-04  9:35 ` [PATCH v2 0/3] drm/msm/dpu: Add INT2 GDSC power domain support for Kaanapali Joonhoe Kim

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=20260915093654.380F81F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=yongxing.mou@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox