forked from Openwrt-EcoNet/openwrt
Add relevant patches from upstream, up to v5.16-rc6. The gaps in the patch numbersing are either patches that were picked into the stable kernel (6.12.y), or that are already backported in target/linux/generic. The gaps makes it easy for me to pick these patches from my working kernel git branch. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18796 Signed-off-by: Robert Marko <robimarko@gmail.com>
49 lines
1.5 KiB
Diff
49 lines
1.5 KiB
Diff
From 62307c5e153de617cb0827509fb964df051caaac Mon Sep 17 00:00:00 2001
|
|
From: Luo Jie <quic_luoj@quicinc.com>
|
|
Date: Fri, 3 Jan 2025 15:31:38 +0800
|
|
Subject: [PATCH 09/22] v6.14: arm64: dts: qcom: ipq9574: Update xo_board_clk
|
|
to use fixed factor clock
|
|
|
|
xo_board_clk is fixed to 24 MHZ, which is routed from WiFi output clock
|
|
48 MHZ (also being the reference clock of CMN PLL) divided 2 by analog
|
|
block routing channel.
|
|
|
|
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
|
|
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
|
|
Link: https://lore.kernel.org/r/20250103-qcom_ipq_cmnpll-v8-5-c89fb4d4849d@quicinc.com
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi | 7 ++++++-
|
|
arch/arm64/boot/dts/qcom/ipq9574.dtsi | 3 ++-
|
|
2 files changed, 8 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
|
|
@@ -175,8 +175,13 @@
|
|
clock-mult = <1>;
|
|
};
|
|
|
|
+/*
|
|
+ * The frequency of xo_board_clk is fixed to 24 MHZ, which is routed
|
|
+ * from WiFi output clock 48 MHZ divided by 2.
|
|
+ */
|
|
&xo_board_clk {
|
|
- clock-frequency = <24000000>;
|
|
+ clock-div = <2>;
|
|
+ clock-mult = <1>;
|
|
};
|
|
|
|
&xo_clk {
|
|
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
|
|
@@ -32,7 +32,8 @@
|
|
};
|
|
|
|
xo_board_clk: xo-board-clk {
|
|
- compatible = "fixed-clock";
|
|
+ compatible = "fixed-factor-clock";
|
|
+ clocks = <&ref_48mhz_clk>;
|
|
#clock-cells = <0>;
|
|
};
|
|
|