ff992378a2b5db5cb816b698a45c884eadf49e8d
[openwrt/openwrt.git] / target / linux / ipq807x / patches-5.15 / 0046-v6.2-arm64-dts-qcom-ipq8074-add-clocks-to-APCS.patch
1 From 0df592a0a1a3fff9133977192677aa915afc174f Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Fri, 19 Aug 2022 00:08:49 +0200
4 Subject: [PATCH] arm64: dts: qcom: ipq8074: add clocks to APCS
5
6 APCS now has support for providing the APSS clocks as the child device
7 for IPQ8074.
8
9 So, add the A53 PLL and XO clocks in order to use APCS as the CPU
10 clocksource for APSS scaling.
11
12 Signed-off-by: Robert Marko <robimarko@gmail.com>
13 Signed-off-by: Bjorn Andersson <andersson@kernel.org>
14 Link: https://lore.kernel.org/r/20220818220849.339732-4-robimarko@gmail.com
15 ---
16 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 ++
17 1 file changed, 2 insertions(+)
18
19 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
20 +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
21 @@ -679,6 +679,8 @@
22 apcs_glb: mailbox@b111000 {
23 compatible = "qcom,ipq8074-apcs-apps-global";
24 reg = <0x0b111000 0x1000>;
25 + clocks = <&a53pll>, <&xo>;
26 + clock-names = "pll", "xo";
27
28 #clock-cells = <1>;
29 #mbox-cells = <1>;