Skip to content

Commit

Permalink
dt-bindings: clock: qcom,mmcc: define clocks/clock-names for MSM8996
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 MSM8996 platform.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220705112734.1323355-3-dmitry.baryshkov@linaro.org
  • Loading branch information
Dmitry Baryshkov authored and Bjorn Andersson committed Aug 29, 2022
1 parent 73e66dd commit 51b0a5e
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 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: 9
minItems: 8
maxItems: 10

clock-names:
minItems: 9
minItems: 8
maxItems: 10

'#clock-cells':
Expand Down Expand Up @@ -113,6 +113,35 @@ allOf:
- const: dsi1pllbyte
- const: hdmipll

- if:
properties:
compatible:
contains:
const: qcom,mmcc-msm8996
then:
properties:
clocks:
items:
- description: Board XO source
- description: Global PLL 0 clock
- description: MMSS NoC AHB clock
- description: DSI phy instance 0 dsi clock
- description: DSI phy instance 0 byte clock
- description: DSI phy instance 1 dsi clock
- description: DSI phy instance 1 byte clock
- description: HDMI phy PLL clock

clock-names:
items:
- const: xo
- const: gpll0
- const: gcc_mmss_noc_cfg_ahb_clk
- const: dsi0pll
- const: dsi0pllbyte
- const: dsi1pll
- const: dsi1pllbyte
- const: hdmipll

- if:
properties:
compatible:
Expand Down

0 comments on commit 51b0a5e

Please sign in to comment.