@@ -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:
@@ -119,6 +120,24 @@ allOf:
- const: camss_top_ahb
- const: cci_ahb
- const: cci
+ - if:
+ properties:
+ compatible:
+ oneOf:
+ - contains:
+ enum:
+ - qcom,qcm2290-cci
+
+ - const: qcom,msm8996-cci
+ then:
+ properties:
+ clocks:
+ minItems: 2
+ maxItems: 2
+ clock-names:
+ items:
+ - const: camss_top_ahb
+ - const: cci
- if:
properties:
The CCI on QCM2290 is the interface for controlling camera sensor over I2C. It requires only two clocks. Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com> --- .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-)