mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
f02f6aaa8d
Currently, ipq807x only covers Qualcomm IPQ807x SoC-s. However, Qualcomm also has IPQ60xx and IPQ50xx SoC-s under the AX WiSoC-s and they share a lot of stuff with IPQ807x, especially IPQ60xx so to avoid duplicating kernel patches and everything lets make a common target with per SoC subtargets. Start doing that by renaming ipq807x to qualcommax so that dependencies on ipq807x target can be updated. Signed-off-by: Robert Marko <robimarko@gmail.com>
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
From 9033c3c86ea0dd35bd2ab957317573b755967298 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Sun, 30 Oct 2022 18:57:03 +0100
|
|
Subject: [PATCH] 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
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
@@ -361,9 +361,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 {
|