]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: i2c: qcom-cci: Document SDM670 compatible
authorRichard Acayan <mailingradian@gmail.com>
Tue, 1 Oct 2024 02:35:23 +0000 (22:35 -0400)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 17 Nov 2024 10:58:14 +0000 (11:58 +0100)
The CCI on the Snapdragon 670 is the interface for controlling camera
hardware over I2C. Add the compatible so it can be added to the SDM670
device tree.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml

index 7dab3852c7f87f7369d302a6ce0df9b9abcd7810..ef26ba6eda28e95875853fe5043fe11deb5af088 100644 (file)
@@ -27,6 +27,7 @@ properties:
           - enum:
               - qcom,sc7280-cci
               - qcom,sc8280xp-cci
+              - qcom,sdm670-cci
               - qcom,sdm845-cci
               - qcom,sm6350-cci
               - qcom,sm8250-cci
@@ -139,6 +140,24 @@ allOf:
             - const: cci
             - const: camss_ahb
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,sdm670-cci
+    then:
+      properties:
+        clocks:
+          minItems: 4
+          maxItems: 4
+        clock-names:
+          items:
+            - const: camnoc_axi
+            - const: soc_ahb
+            - const: cpas_ahb
+            - const: cci
+
   - if:
       properties:
         compatible: