diff options
author | Robert Marko <robimarko@gmail.com> | 2022-10-30 20:57:03 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-11-08 04:26:36 +0300 |
commit | 3aa0b8cd957b3e7806004c2150c61c85a606821a (patch) | |
tree | bae149c5082c343a75402c204191cf085bd60c12 /arch/arm64 | |
parent | 830493fc13d8868fd5be0620d16936fa75c3b9a4 (diff) | |
download | linux-3aa0b8cd957b3e7806004c2150c61c85a606821a.tar.xz |
arm64: dts: qcom: ipq8074: pass XO and sleep clocks to GCC
Pass XO and sleep clocks to the GCC controller so it does not have to
find them by matching globaly by name.
If not passed directly, driver maintains backwards compatibility by then
falling back to global lookup.
Since we are here, set cell numbers in decimal instead of hex.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221030175703.1103224-3-robimarko@gmail.com
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index d3d9e7eb5837..f7cb1d04a367 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -360,9 +360,11 @@ gcc: gcc@1800000 { compatible = "qcom,gcc-ipq8074"; reg = <0x01800000 0x80000>; - #clock-cells = <0x1>; + clocks = <&xo>, <&sleep_clk>; + clock-names = "xo", "sleep_clk"; + #clock-cells = <1>; #power-domain-cells = <1>; - #reset-cells = <0x1>; + #reset-cells = <1>; }; tcsr_mutex: hwlock@1905000 { |