Skip to content

Commit 5110445

Browse files
flamingradianAndi Shyti
authored andcommitted
dt-bindings: i2c: qcom-cci: Document SDM670 compatible
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>
1 parent b011810 commit 5110445

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ properties:
2727
- enum:
2828
- qcom,sc7280-cci
2929
- qcom,sc8280xp-cci
30+
- qcom,sdm670-cci
3031
- qcom,sdm845-cci
3132
- qcom,sm6350-cci
3233
- qcom,sm8250-cci
@@ -139,6 +140,24 @@ allOf:
139140
- const: cci
140141
- const: camss_ahb
141142

143+
- if:
144+
properties:
145+
compatible:
146+
contains:
147+
enum:
148+
- qcom,sdm670-cci
149+
then:
150+
properties:
151+
clocks:
152+
minItems: 4
153+
maxItems: 4
154+
clock-names:
155+
items:
156+
- const: camnoc_axi
157+
- const: soc_ahb
158+
- const: cpas_ahb
159+
- const: cci
160+
142161
- if:
143162
properties:
144163
compatible:

0 commit comments

Comments
 (0)