Commit b4feed4a authored by Yassine Oudjana's avatar Yassine Oudjana Committed by Bjorn Andersson
Browse files

dt-bindings: clock: qcom,msm8996-apcc: Fix clocks



The clocks currently listed in clocks and clock-names are the ones
supplied by this clock controller, not the ones it consumes. Replace
them with the only clock it consumes - the on-board oscillator (XO),
and make the properties required.

Signed-off-by: default avatarYassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220621160621.24415-6-y.oudjana@protonmail.com
parent 9a9f5f9a
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -26,22 +26,18 @@ properties:

  clocks:
    items:
      - description: Primary PLL clock for power cluster (little)
      - description: Primary PLL clock for perf cluster (big)
      - description: Alternate PLL clock for power cluster (little)
      - description: Alternate PLL clock for perf cluster (big)
      - description: XO source

  clock-names:
    items:
      - const: pwrcl_pll
      - const: perfcl_pll
      - const: pwrcl_alt_pll
      - const: perfcl_alt_pll
      - const: xo

required:
  - compatible
  - reg
  - '#clock-cells'
  - clocks
  - clock-names

additionalProperties: false

@@ -51,4 +47,7 @@ examples:
        compatible = "qcom,msm8996-apcc";
        reg = <0x6400000 0x90000>;
        #clock-cells = <1>;

        clocks = <&xo_board>;
        clock-names = "xo";
    };