Skip to content

Commit

Permalink
dt-bindings: clock: qcom,mmcc: define clocks/clock-names for MSM8226
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Luca Weiss authored and Bjorn Andersson committed Jun 13, 2023
1 parent bfae407 commit 5683f11
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions Documentation/devicetree/bindings/clock/qcom,mmcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ properties:
- qcom,mmcc-sdm660

clocks:
minItems: 8
minItems: 7
maxItems: 13

clock-names:
minItems: 8
minItems: 7
maxItems: 13

'#clock-cells':
Expand Down Expand Up @@ -99,6 +99,34 @@ allOf:
- const: dsi2pllbyte
- const: hdmipll

- if:
properties:
compatible:
contains:
enum:
- qcom,mmcc-msm8226
then:
properties:
clocks:
items:
- description: Board XO source
- description: MMSS GPLL0 voted clock
- description: GPLL0 voted clock
- description: GPLL1 voted clock
- description: GFX3D clock source
- description: DSI phy instance 0 dsi clock
- description: DSI phy instance 0 byte clock

clock-names:
items:
- const: xo
- const: mmss_gpll0_vote
- const: gpll0_vote
- const: gpll1_vote
- const: gfx3d_clk_src
- const: dsi0pll
- const: dsi0pllbyte

- if:
properties:
compatible:
Expand Down

0 comments on commit 5683f11

Please sign in to comment.