dt-bindings: arm-smmu: Fix SC8280XP Adreno binding

Message ID 20230523010441.63236-1-quic_bjorande@quicinc.com
State New
Headers
Series dt-bindings: arm-smmu: Fix SC8280XP Adreno binding |

Commit Message

Bjorn Andersson May 23, 2023, 1:04 a.m. UTC
  The qcom,sc8280xp-smmu-500 Adreno SMMU binding has clocks, so fix up the
binding to allow this.

Fixes: 38db6b41b2f4 ("dt-bindings: arm-smmu: Add compatible for Qualcomm SC8280XP")
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
  

Comments

Conor Dooley May 23, 2023, 4:49 p.m. UTC | #1
On Mon, May 22, 2023 at 06:04:41PM -0700, Bjorn Andersson wrote:
> The qcom,sc8280xp-smmu-500 Adreno SMMU binding has clocks, so fix up the
> binding to allow this.
> 
> Fixes: 38db6b41b2f4 ("dt-bindings: arm-smmu: Add compatible for Qualcomm SC8280XP")
> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.
  
Will Deacon June 5, 2023, 4:35 p.m. UTC | #2
On Mon, 22 May 2023 18:04:41 -0700, Bjorn Andersson wrote:
> The qcom,sc8280xp-smmu-500 Adreno SMMU binding has clocks, so fix up the
> binding to allow this.
> 
> 

Applied to will (for-joerg/arm-smmu/bindings), thanks!

[1/1] dt-bindings: arm-smmu: Fix SC8280XP Adreno binding
      https://git.kernel.org/will/c/84b8a7fe2920

Cheers,
  

Patch

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index ba677d401e24..6cb04f35642a 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -80,6 +80,7 @@  properties:
         items:
           - enum:
               - qcom,sc7280-smmu-500
+              - qcom,sc8280xp-smmu-500
               - qcom,sm6115-smmu-500
               - qcom,sm6125-smmu-500
               - qcom,sm8150-smmu-500
@@ -331,7 +332,9 @@  allOf:
       properties:
         compatible:
           contains:
-            const: qcom,sc7280-smmu-500
+            enum:
+              - qcom,sc7280-smmu-500
+              - qcom,sc8280xp-smmu-500
     then:
       properties:
         clock-names:
@@ -416,7 +419,6 @@  allOf:
               - qcom,sa8775p-smmu-500
               - qcom,sc7180-smmu-500
               - qcom,sc8180x-smmu-500
-              - qcom,sc8280xp-smmu-500
               - qcom,sdm670-smmu-500
               - qcom,sdm845-smmu-500
               - qcom,sdx55-smmu-500