Commit 605f0738 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson
Browse files

dt-bindings: clock: qcom,mmcc: define clocks/clock-names for APQ8084



Define clock/clock-names properties of the MMCC device node to be used
on APQ8084 platform.

Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230111060402.1168726-4-dmitry.baryshkov@linaro.org
parent 93a63522
Loading
Loading
Loading
Loading
+42 −2
Original line number Diff line number Diff line
@@ -32,11 +32,11 @@ properties:

  clocks:
    minItems: 8
    maxItems: 10
    maxItems: 13

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

  '#clock-cells':
    const: 1
@@ -137,6 +137,46 @@ allOf:
            - const: edp_link_clk
            - const: edp_vco_div

  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,mmcc-apq8084
    then:
      properties:
        clocks:
          items:
            - description: Board XO source
            - description: Board sleep source
            - description: MMSS GPLL0 voted clock
            - description: GPLL0 clock
            - description: GPLL0 voted clock
            - description: GPLL1 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
            - description: eDP phy PLL link clock
            - description: eDP phy PLL vco clock

        clock-names:
          items:
            - const: xo
            - const: sleep_clk
            - const: mmss_gpll0_vote
            - const: gpll0
            - const: gpll0_vote
            - const: gpll1
            - const: dsi0pll
            - const: dsi0pllbyte
            - const: dsi1pll
            - const: dsi1pllbyte
            - const: hdmipll
            - const: edp_link_clk
            - const: edp_vco_div

  - if:
      properties:
        compatible: