[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241130-fix-board-clocks-v2-22-b9a35858657e@linaro.org>
Date: Sat, 30 Nov 2024 03:44:34 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: Leo Yan <leo.yan@...ux.dev>, Joseph Gates <jgates@...areup.com>,
Georgi Djakov <djakov@...nel.org>, Shawn Guo <shawn.guo@...aro.org>,
Stephan Gerhold <stephan@...hold.net>, Zac Crosby <zac@...areup.com>,
Bastian Köcher <git@...r.de>,
Andy Gross <andy.gross@...aro.org>, Jeremy McNicoll <jeremymc@...hat.com>,
Rohit Agarwal <quic_rohiagar@...cinc.com>,
Melody Olvera <quic_molvera@...cinc.com>,
Bhupesh Sharma <bhupesh.sharma@...aro.org>,
cros-qcom-dts-watchers@...omium.org, Stephen Boyd <swboyd@...omium.org>,
Rajendra Nayak <quic_rjendra@...cinc.com>,
Martin Botka <martin.botka@...ainline.org>,
Jonathan Marek <jonathan@...ek.ca>, Vinod Koul <vkoul@...nel.org>,
Tengfei Fan <quic_tengfan@...cinc.com>,
Fenglin Wu <quic_fenglinw@...cinc.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Abel Vesa <abel.vesa@...aro.org>,
Alexandru Marc Serdeliuc <serdeliuk@...oo.com>,
Vladimir Zapolskiy <vladimir.zapolskiy@...aro.org>,
Sibi Sankar <quic_sibis@...cinc.com>,
Bryan O'Donoghue <bryan.odonoghue@...aro.org>, Jun Nie <jun.nie@...aro.org>,
James Willcox <jwillcox@...areup.com>, Max Chen <mchen@...areup.com>,
Vincent Knecht <vincent.knecht@...loo.org>, Benjamin Li <benl@...areup.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Subject: [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to
ipq5424.dtsi file
IPQ5424 is one of the platforms where board-level clocks (XO, sleep)
definitions are split between the SoC dtsi file and the board file.
This is not optimal, as the clocks are a part of the SoC + PMICs design.
Frequencies are common for the whole set of devices using the same SoC.
Remove the split and move frequencies to the SoC DTSI file.
Suggested-by: Bjorn Andersson <andersson@...nel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
---
arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts | 9 ---------
arch/arm64/boot/dts/qcom/ipq5424.dtsi | 2 ++
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
index d4d31026a02624fb5ca08cd7fc6dde9d10fc9b81..e78d2dd9148d7daaffc007322493577ff2ca6c7a 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
@@ -18,10 +18,6 @@ aliases {
};
};
-&sleep_clk {
- clock-frequency = <32000>;
-};
-
&tlmm {
sdc_default_state: sdc-default-state {
clk-pins {
@@ -52,8 +48,3 @@ &uart1 {
pinctrl-names = "default";
status = "okay";
};
-
-&xo_board {
- clock-frequency = <24000000>;
-};
-
diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
index 5e219f9004123caa45e5e9e303662e3e92a56c57..85bfe5edd9ddc2da0897aa5a4d43a68116007d9a 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
@@ -20,11 +20,13 @@ clocks {
sleep_clk: sleep-clk {
compatible = "fixed-clock";
#clock-cells = <0>;
+ clock-frequency = <32000>;
};
xo_board: xo-board-clk {
compatible = "fixed-clock";
#clock-cells = <0>;
+ clock-frequency = <24000000>;
};
};
--
2.39.5
Powered by blists - more mailing lists