[PATCH v2] dt-bindings: arm-smmu: Document sm8750 SMMU

Melody Olvera posted 1 patch 1 week, 4 days ago
.../devicetree/bindings/iommu/arm,smmu.yaml   | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
[PATCH v2] dt-bindings: arm-smmu: Document sm8750 SMMU
Posted by Melody Olvera 1 week, 4 days ago
Document the sm8750 SMMU block.

Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
---
Changes in V3:
- added additional documentation for gpu and clocks
---
 .../devicetree/bindings/iommu/arm,smmu.yaml   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index c1e11bc6b7a0..e4e067a2b778 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -61,6 +61,7 @@ properties:
               - qcom,sm8450-smmu-500
               - qcom,sm8550-smmu-500
               - qcom,sm8650-smmu-500
+              - qcom,sm8750-smmu-500
               - qcom,x1e80100-smmu-500
           - const: qcom,smmu-500
           - const: arm,mmu-500
@@ -102,6 +103,7 @@ properties:
               - qcom,sm8450-smmu-500
               - qcom,sm8550-smmu-500
               - qcom,sm8650-smmu-500
+              - qcom,sm8750-smmu-500
               - qcom,x1e80100-smmu-500
           - const: qcom,adreno-smmu
           - const: qcom,smmu-500
@@ -550,6 +552,23 @@ allOf:
             - description: GPU SNoC bus clock
             - description: GPU AHB clock
 
+  - if:
+      properties:
+        compatible:
+          items:
+            - const: qcom,sm8750-smmu-500
+            - const: qcom,adreno-smmu
+            - const: qcom,smmu-500
+            - const: arm,mmu-500
+    then:
+      properties:
+        clock-names:
+          items:
+            - const: hlos
+        clocks:
+          items:
+            - description: HLOS vote clock
+
   # Disallow clocks for all other platforms with specific compatibles
   - if:
       properties:

base-commit: 6d59cab07b8d74d0f0422b750038123334f6ecc2
-- 
2.46.1
Re: [PATCH v2] dt-bindings: arm-smmu: Document sm8750 SMMU
Posted by Rob Herring (Arm) 1 week, 3 days ago
On Mon, 11 Nov 2024 16:32:17 -0800, Melody Olvera wrote:
> Document the sm8750 SMMU block.
> 
> Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
> ---
> Changes in V3:
> - added additional documentation for gpu and clocks
> ---
>  .../devicetree/bindings/iommu/arm,smmu.yaml   | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>