]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: clock: qcom: Add AHB clock for SM8150
authorSatya Priya Kakitapalli <quic_skakitap@quicinc.com>
Thu, 9 May 2024 10:24:03 +0000 (15:54 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 8 Jul 2024 16:40:46 +0000 (11:40 -0500)
SM8150 videocc needs AHB clock, so update the bindings for sm8150
to add the AHB clock.

Fixes: df3f61d2cdc9 ("dt-bindings: clock: add SM8150 QCOM video clock bindings")
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
Link: https://lore.kernel.org/r/20240509-videocc-sm8150-dt-node-v4-1-e9617f65e946@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Documentation/devicetree/bindings/clock/qcom,videocc.yaml

index 81c68039ac9e149247b8c5bb7fe45a43237294dd..340c7e5cf98024dedad6d7db4fea10e9f8077419 100644 (file)
@@ -62,7 +62,6 @@ allOf:
           enum:
             - qcom,sc7180-videocc
             - qcom,sdm845-videocc
-            - qcom,sm8150-videocc
     then:
       properties:
         clocks:
@@ -88,6 +87,22 @@ allOf:
             - const: bi_tcxo
             - const: bi_tcxo_ao
 
+  - if:
+      properties:
+        compatible:
+          enum:
+            - qcom,sm8150-videocc
+    then:
+      properties:
+        clocks:
+          items:
+            - description: AHB
+            - description: Board XO source
+        clock-names:
+          items:
+            - const: iface
+            - const: bi_tcxo
+
   - if:
       properties:
         compatible: