Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: clock: qcom,gcc-ipq8064: add pll4 to used clocks

On IPQ8064 (and related platforms) the GCC uses PLL4 clock provided by
the LCC clock controller. Mention this in the bindings.

To remain compatible with older bindings, make it optional, as the
driver will fallback to getting the `pll4' clock from the system clocks
list.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220927113826.246241-2-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
e3c44712 7da54ced

+7 -2
+7 -2
Documentation/devicetree/bindings/clock/qcom,gcc-ipq8064.yaml
··· 27 27 - const: syscon 28 28 29 29 clocks: 30 + minItems: 2 30 31 items: 31 32 - description: PXO source 32 33 - description: CXO source 34 + - description: PLL4 from LCC 33 35 34 36 clock-names: 37 + minItems: 2 35 38 items: 36 39 - const: pxo 37 40 - const: cxo 41 + - const: pll4 38 42 39 43 thermal-sensor: 40 44 type: object ··· 55 51 56 52 examples: 57 53 - | 54 + #include <dt-bindings/clock/qcom,lcc-ipq806x.h> 58 55 #include <dt-bindings/interrupt-controller/arm-gic.h> 59 56 60 57 gcc: clock-controller@900000 { 61 58 compatible = "qcom,gcc-ipq8064", "syscon"; 62 59 reg = <0x00900000 0x4000>; 63 - clocks = <&pxo_board>, <&cxo_board>; 64 - clock-names = "pxo", "cxo"; 60 + clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>; 61 + clock-names = "pxo", "cxo", "pll4"; 65 62 #clock-cells = <1>; 66 63 #reset-cells = <1>; 67 64 #power-domain-cells = <1>;