Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] dt-bindings: arm-smmu: Document Adreno SMMU for Nord SoC
Date: Tue, 01 Sep 2026 14:16:23 +0000	[thread overview]
Message-ID: <20260901141624.1EB9F1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260901140816.74200-1-shengchao.guo@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Incomplete Binding Schema: `qcom,nord-smmu-500` bypasses clock restrictions because it was omitted from the Adreno-specific if-then conditional blocks.
--

commit c82163177cdbe8e91a89f7aadb6d4d1e2a85afb2
Author: Shawn Guo <shengchao.guo@oss.qualcomm.com>

dt-bindings: arm-smmu: Document Adreno SMMU for Nord SoC

Add a specific compatible string to document the GPU SMMU present on
the Nord SoC.

> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> index ffa33b7f4a965..ea338d313c052 100644
> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> @@ -102,6 +102,7 @@ properties:
>                - qcom,hawi-smmu-500
>                - qcom,kaanapali-smmu-500
>                - qcom,milos-smmu-500
> +              - qcom,nord-smmu-500

[Severity: Medium]
Does this new compatible string need to be added to the Adreno-specific
if-then conditional block in the allOf section?

When qcom,nord-smmu-500 is omitted from the conditional block that matches
other Adreno SMMUs (like qcom,milos-smmu-500 and qcom,sm8550-smmu-500),
the schema might silently permit invalid clock configurations. It appears to
bypass the specific clock restrictions for Adreno SMMUs and defaults directly
to an unconstrained state (1 to 7 clocks) since Adreno SMMUs use a 4-item
fallback array.

Should qcom,nord-smmu-500 be appended to the enum list in the allOf block
to enforce the correct hardware-specific constraints?

>                - qcom,qcm2290-smmu-500
>                - qcom,qcs615-smmu-500
>                - qcom,qcs8300-smmu-500

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260901140816.74200-1-shengchao.guo@oss.qualcomm.com?part=1

  reply	other threads:[~2026-09-01 14:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-01 14:08 [PATCH] dt-bindings: arm-smmu: Document Adreno SMMU for Nord SoC Shawn Guo
2026-09-01 14:16 ` sashiko-bot [this message]
2026-09-01 14:39 ` Shawn Guo

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=20260901141624.1EB9F1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=shengchao.guo@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