Skip to content

Commit 8673b6d

Browse files
mlehtimawsakernel
authored andcommitted
dt-bindings: i2c: qcom,i2c-cci: Document MSM8226 compatible
MSM8226's Camera Control Interface has one master and 3 clocks. Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 4a74e79 commit 8673b6d

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

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

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ maintainers:
1313
properties:
1414
compatible:
1515
enum:
16+
- qcom,msm8226-cci
1617
- qcom,msm8916-cci
1718
- qcom,msm8974-cci
1819
- qcom,msm8996-cci
@@ -27,11 +28,11 @@ properties:
2728
const: 0
2829

2930
clocks:
30-
minItems: 4
31+
minItems: 3
3132
maxItems: 6
3233

3334
clock-names:
34-
minItems: 4
35+
minItems: 3
3536
maxItems: 6
3637

3738
interrupts:
@@ -78,11 +79,28 @@ allOf:
7879
compatible:
7980
contains:
8081
enum:
82+
- qcom,msm8226-cci
8183
- qcom,msm8916-cci
8284
then:
8385
properties:
8486
i2c-bus@1: false
8587

88+
- if:
89+
properties:
90+
compatible:
91+
contains:
92+
enum:
93+
- qcom,msm8226-cci
94+
then:
95+
properties:
96+
clocks:
97+
maxItems: 3
98+
clock-names:
99+
items:
100+
- const: camss_top_ahb
101+
- const: cci_ahb
102+
- const: cci
103+
86104
- if:
87105
properties:
88106
compatible:

0 commit comments

Comments
 (0)