Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: arm-smmu: Document Adreno SMMU for Nord SoC
@ 2026-09-01 14:08 Shawn Guo
  2026-09-01 14:16 ` sashiko-bot
  2026-09-01 14:39 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Shawn Guo @ 2026-09-01 14:08 UTC (permalink / raw)
  To: Will Deacon
  Cc: Robin Murphy, Joerg Roedel, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bartosz Golaszewski, Bibek Kumar Patro,
	linux-arm-kernel, iommu, devicetree, linux-arm-msm, linux-kernel,
	Shawn Guo

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

Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index ffa33b7f4a96..ea338d313c05 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
               - qcom,qcm2290-smmu-500
               - qcom,qcs615-smmu-500
               - qcom,qcs8300-smmu-500
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: arm-smmu: Document Adreno SMMU for Nord SoC
  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
  2026-09-01 14:39 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-09-01 14:16 UTC (permalink / raw)
  To: Shawn Guo; +Cc: devicetree, robh, conor+dt

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: arm-smmu: Document Adreno SMMU for Nord SoC
  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
@ 2026-09-01 14:39 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2026-09-01 14:39 UTC (permalink / raw)
  To: Will Deacon
  Cc: Robin Murphy, Joerg Roedel, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bartosz Golaszewski, Bibek Kumar Patro,
	linux-arm-kernel, iommu, devicetree, linux-arm-msm, linux-kernel

On Tue, Sep 01, 2026 at 10:08:16PM +0800, Shawn Guo wrote:
> Add specific compatible string to document the GPU SMMU present on
> Nord SoC.
> 
> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
> ---
>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
> index ffa33b7f4a96..ea338d313c05 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

Ah, Sashiko is right! Nord GPU SMMU also has a vote clock, so it
should be added to the clock constraint list as well. Will update.

Shawn

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-01 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2026-09-01 14:39 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox