Skip to content

Commit f3d9612

Browse files
robimarkoJassiBrar
authored andcommitted
dt-bindings: mailbox: qcom: set correct #clock-cells
IPQ6018 and IPQ8074 require #clock-cells to be set to 1 as their APSS clock driver provides multiple clock outputs. So allow setting 1 as #clock-cells and check that its set to 1 for IPQ6018 and IPQ8074, check others for 0 as its currently. Signed-off-by: Robert Marko <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent 0d1aadf commit f3d9612

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ properties:
5454
const: 1
5555

5656
'#clock-cells':
57-
const: 0
57+
enum: [0, 1]
5858

5959
clock-names:
6060
minItems: 2
@@ -100,6 +100,21 @@ allOf:
100100
properties:
101101
clocks:
102102
maxItems: 3
103+
- if:
104+
properties:
105+
compatible:
106+
enum:
107+
- qcom,ipq6018-apcs-apps-global
108+
- qcom,ipq8074-apcs-apps-global
109+
then:
110+
properties:
111+
'#clock-cells':
112+
const: 1
113+
else:
114+
properties:
115+
'#clock-cells':
116+
const: 0
117+
103118
examples:
104119

105120
# Example apcs with msm8996

0 commit comments

Comments
 (0)