Skip to content

Commit 75d439e

Browse files
robimarkoJassiBrar
authored andcommitted
dt-bindings: mailbox: qcom: correct clocks for IPQ6018 and IPQ8074
IPQ6018 APSS driver is registered by APCS as they share the same register space, and it uses "pll" and "xo" as inputs. Correct the allowed clocks for IPQ6018 and IPQ8074 as they share the same driver to allow "pll" and "xo" as clock-names. Signed-off-by: Robert Marko <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent f3d9612 commit 75d439e

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

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

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ properties:
4545
clocks:
4646
description: phandles to the parent clocks of the clock driver
4747
minItems: 2
48-
items:
49-
- description: primary pll parent of the clock driver
50-
- description: auxiliary parent
51-
- description: reference clock
48+
maxItems: 3
5249

5350
'#mbox-cells':
5451
const: 1
@@ -58,10 +55,7 @@ properties:
5855

5956
clock-names:
6057
minItems: 2
61-
items:
62-
- const: pll
63-
- const: aux
64-
- const: ref
58+
maxItems: 3
6559

6660
required:
6761
- compatible
@@ -75,8 +69,6 @@ allOf:
7569
properties:
7670
compatible:
7771
enum:
78-
- qcom,ipq6018-apcs-apps-global
79-
- qcom,ipq8074-apcs-apps-global
8072
- qcom,msm8916-apcs-kpss-global
8173
- qcom,msm8994-apcs-kpss-global
8274
- qcom,msm8996-apcs-hmss-global
@@ -90,7 +82,13 @@ allOf:
9082
then:
9183
properties:
9284
clocks:
93-
maxItems: 2
85+
items:
86+
- description: primary pll parent of the clock driver
87+
- description: auxiliary parent
88+
clock-names:
89+
items:
90+
- const: pll
91+
- const: aux
9492
- if:
9593
properties:
9694
compatible:
@@ -99,7 +97,31 @@ allOf:
9997
then:
10098
properties:
10199
clocks:
102-
maxItems: 3
100+
items:
101+
- description: primary pll parent of the clock driver
102+
- description: auxiliary parent
103+
- description: reference clock
104+
clock-names:
105+
items:
106+
- const: pll
107+
- const: aux
108+
- const: ref
109+
- if:
110+
properties:
111+
compatible:
112+
enum:
113+
- qcom,ipq6018-apcs-apps-global
114+
- qcom,ipq8074-apcs-apps-global
115+
then:
116+
properties:
117+
clocks:
118+
items:
119+
- description: primary pll parent of the clock driver
120+
- description: XO clock
121+
clock-names:
122+
items:
123+
- const: pll
124+
- const: xo
103125
- if:
104126
properties:
105127
compatible:

0 commit comments

Comments
 (0)