Commit 3e403c2f authored by Loic Poulain's avatar Loic Poulain Committed by Wolfram Sang
Browse files

dt-bindings: i2c: qcom-cci: Document QCM2290 compatible



The CCI on QCM2290 is the interface for controlling camera sensor over I2C.
It requires only two clocks.

Signed-off-by: default avatarLoic Poulain <loic.poulain@oss.qualcomm.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarBjorn Andersson <andersson@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
parent 94c29677
Loading
Loading
Loading
Loading
+20 −2
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ properties:

      - items:
          - enum:
              - qcom,qcm2290-cci
              - qcom,sc7280-cci
              - qcom,sc8280xp-cci
              - qcom,sdm670-cci
@@ -44,11 +45,11 @@ properties:
    const: 0

  clocks:
    minItems: 3
    minItems: 2
    maxItems: 6

  clock-names:
    minItems: 3
    minItems: 2
    maxItems: 6

  interrupts:
@@ -113,6 +114,7 @@ allOf:
    then:
      properties:
        clocks:
          minItems: 3
          maxItems: 3
        clock-names:
          items:
@@ -120,6 +122,22 @@ allOf:
            - const: cci_ahb
            - const: cci

  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,qcm2290-cci
    then:
      properties:
        clocks:
          minItems: 2
          maxItems: 2
        clock-names:
          items:
            - const: ahb
            - const: cci

  - if:
      properties:
        compatible: