Skip to content

Commit

Permalink
dt-bindings: i2c: qcom-cci: Document sc8280xp compatible
Browse files Browse the repository at this point in the history
Add sc8280xp compatible consistent with recent CAMSS CCI interfaces.

sc8280xp has the following clock list and so requires its own compat
string and sc8280xp specific clock definition in the yaml.

- const: camnoc_axi
- const: slow_ahb_src
- const: cpas_ahb
- const: cci

Signed-off-by: Bryan O'Donoghue <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
  • Loading branch information
0xB0D authored and Andi Shyti committed May 5, 2024
1 parent 31a18e4 commit f32a32a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ properties:
- items:
- enum:
- qcom,sc7280-cci
- qcom,sc8280xp-cci
- qcom,sdm845-cci
- qcom,sm6350-cci
- qcom,sm8250-cci
Expand Down Expand Up @@ -176,6 +177,24 @@ allOf:
- const: cci
- const: cci_src

- if:
properties:
compatible:
contains:
enum:
- qcom,sc8280xp-cci
then:
properties:
clocks:
minItems: 4
maxItems: 4
clock-names:
items:
- const: camnoc_axi
- const: slow_ahb_src
- const: cpas_ahb
- const: cci

additionalProperties: false

examples:
Expand Down

0 comments on commit f32a32a

Please sign in to comment.