Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jingyi Wang" <jingyi.wang@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v2] dt-bindings: arm-smmu: qcom: Add compatible for Maili SoC
Date: Mon, 29 Jun 2026 07:03:06 +0000	[thread overview]
Message-ID: <20260629070306.E29141F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260628-maili-smmu-v2-1-87448a7678ec@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The new compatible string `qcom,maili-smmu-500` was added to the main list but omitted from the `allOf` conditional block that disallows clocks.
--

commit 5d07ecfd0f829393f9b6baedb17d072c42c1deab
Author: Jingyi Wang <jingyi.wang@oss.qualcomm.com>

dt-bindings: arm-smmu: qcom: Add compatible for Maili SoC
    
Qualcomm Maili SoC includes apps smmu that implements arm,mmu-500,
which is used to translate device-visible virtual addresses to
physical addresses. Add compatible for it.

> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> index a701dec2fa0a4..c48e9de1a2bd5 100644
> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> @@ -39,6 +39,7 @@ properties:
>                - qcom,glymur-smmu-500
>                - qcom,hawi-smmu-500
>                - qcom,kaanapali-smmu-500
> +              - qcom,maili-smmu-500
               ^^^^^^^^^^^^^^^^^^^^^^^

[Severity: Low]
Does the new compatible string also need to be added to the allOf conditional
block that disallows clocks?

When qcom,maili-smmu-500 is missing from the conditional block that matches
other similar platforms:

  - if:
      properties:
        compatible:
          items:
            - enum:
                - qcom,eliza-smmu-500
                [ ... ]
                - qcom,kaanapali-smmu-500
            - const: qcom,smmu-500
            - const: arm,mmu-500
    then:
      properties:
        clock-names: false
        clocks: false

Device trees defining qcom,maili-smmu-500 that incorrectly include clocks
might silently pass schema validation during dt_binding_check.

>                - qcom,milos-smmu-500
>                - qcom,nord-smmu-500
>                - qcom,qcm2290-smmu-500

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260628-maili-smmu-v2-1-87448a7678ec@oss.qualcomm.com?part=1

  reply	other threads:[~2026-06-29  7:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29  6:56 [PATCH v2] dt-bindings: arm-smmu: qcom: Add compatible for Maili SoC Jingyi Wang
2026-06-29  7:03 ` sashiko-bot [this message]
2026-07-03  7:40   ` Jingyi Wang
2026-07-03  7:45     ` Jingyi Wang

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=20260629070306.E29141F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jingyi.wang@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