Re: [PATCH v2 2/6] dt-bindings: arm-smmu: Document SM8650 GPU SMMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/02/2024 10:25, Dmitry Baryshkov wrote:
On Thu, 15 Feb 2024 at 11:20, Neil Armstrong <neil.armstrong@xxxxxxxxxx> wrote:

Document the GPU SMMU found on the SM8650 platform.

Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
---
  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 7 +++++--
  1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index a4042ae24770..3ad5c850f3bf 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -93,6 +93,7 @@ properties:
                - qcom,sm8350-smmu-500
                - qcom,sm8450-smmu-500
                - qcom,sm8550-smmu-500
+              - qcom,sm8650-smmu-500
            - const: qcom,adreno-smmu
            - const: qcom,smmu-500
            - const: arm,mmu-500
@@ -508,7 +509,10 @@ allOf:
    - if:
        properties:
          compatible:
-          const: qcom,sm8550-smmu-500
+          contains:
+            enum:
+              - qcom,sm8550-smmu-500
+              - qcom,sm8650-smmu-500

Doesn't this cause warnings for non-GPU SMMU on this platform?

No because it doesn't add those to required, it simply allows clock the properties.


      then:
        properties:
          clock-names:
@@ -544,7 +548,6 @@ allOf:
                - qcom,sdx65-smmu-500
                - qcom,sm6350-smmu-500
                - qcom,sm6375-smmu-500
-              - qcom,sm8650-smmu-500
                - qcom,x1e80100-smmu-500
      then:
        properties:

--
2.34.1








[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux