Skip to content

Commit 5683f11

Browse files
z3ntuandersson
authored andcommitted
dt-bindings: clock: qcom,mmcc: define clocks/clock-names for MSM8226
Define clock/clock-names properties of the MMCC device node to be used on MSM8226 platform. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Acked-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230509-msm8226-mmcc-parents-v1-2-83a2dfc986ab@z3ntu.xyz
1 parent bfae407 commit 5683f11

1 file changed

Lines changed: 30 additions & 2 deletions

File tree

Documentation/devicetree/bindings/clock/qcom,mmcc.yaml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ properties:
3131
- qcom,mmcc-sdm660
3232

3333
clocks:
34-
minItems: 8
34+
minItems: 7
3535
maxItems: 13
3636

3737
clock-names:
38-
minItems: 8
38+
minItems: 7
3939
maxItems: 13
4040

4141
'#clock-cells':
@@ -99,6 +99,34 @@ allOf:
9999
- const: dsi2pllbyte
100100
- const: hdmipll
101101

102+
- if:
103+
properties:
104+
compatible:
105+
contains:
106+
enum:
107+
- qcom,mmcc-msm8226
108+
then:
109+
properties:
110+
clocks:
111+
items:
112+
- description: Board XO source
113+
- description: MMSS GPLL0 voted clock
114+
- description: GPLL0 voted clock
115+
- description: GPLL1 voted clock
116+
- description: GFX3D clock source
117+
- description: DSI phy instance 0 dsi clock
118+
- description: DSI phy instance 0 byte clock
119+
120+
clock-names:
121+
items:
122+
- const: xo
123+
- const: mmss_gpll0_vote
124+
- const: gpll0_vote
125+
- const: gpll1_vote
126+
- const: gfx3d_clk_src
127+
- const: dsi0pll
128+
- const: dsi0pllbyte
129+
102130
- if:
103131
properties:
104132
compatible:

0 commit comments

Comments
 (0)