devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files
@ 2024-11-30  1:44 Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency Dmitry Baryshkov
                   ` (31 more replies)
  0 siblings, 32 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

Multiple Qualcomm platforms play strange tricks with board-level clocks
(XO, sleep) definitions. On some (older) platforms such clocks are
completely defined within SoC.dtsi file (although these clocks are not a
part of the SoC). On other platforms definitions of such clocks are
split between the SoC dtsi file and the board file. Several obscure
platforms define those clocks completely in the board files. Unify the
design and move complete description of those clocks to the SoC DTSI
file.

The XO clock is (usually) an external crystal used by the external PMIC,
which then provides RF CLK and LN BB CLK to the main SoC. However for
technical reasons this part of the PMIC is modelled as a part of the SoC
as RPM or RPMh clock controllers. It makes it impractical to describe XO
clock as being used or being connected to the PMIC.

Sleep clock is a 32.764 kHz RC oscillator provided by one of
PMICs. However pushing it into the PMIC might interact badly with fw
devlink, causing unnecessary probe delays and/or devlink loops. One of
the possible solutions might be to move it to the corresponding
PMIC.dtsi, but model the clock outside of the PMIC node, providing
/clocks/sleep-clk node from that file.

Note, the series includes a set of fixes for the sleep clocks
frequencies. For several platforms I wasn't able to find corresponding
document and as such I didn't change defined clocks. These platforms
are: IPQ5018, IPQ5332, IPQ5424, IPQ6018, IPQ8074, IPQ9574, MSM8953.

Also several MSM8996 / MSM8994 devices define divisor clocks at
32.768 kHz. Most likely these clocks are also generated by dividing the
19.2 MHz clock and should have the frequency 32.764 kHz, but being not
100% sure I decided to leave those as is for now.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Changes in v2:
- Move clocks to SoC DTSI (offline discussion with Bjorn)
- Link to v1: https://lore.kernel.org/r/20241115-fix-board-clocks-v1-0-8cb00a4f57c2@linaro.org

---
Dmitry Baryshkov (31):
      arm64: dts: qcom: msm8916: correct sleep clock frequency
      arm64: dts: qcom: msm8939: correct sleep clock frequency
      arm64: dts: qcom: msm8994: correct sleep clock frequency
      arm64: dts: qcom: qcs404: correct sleep clock frequency
      arm64: dts: qcom: q[dr]u1000: correct sleep clock frequency
      arm64: dts: qcom: qrb4210-rb2: correct sleep clock frequency
      arm64: dts: qcom: sar2130p: correct sleep clock frequency
      arm64: dts: qcom: sc7280: correct sleep clock frequency
      arm64: dts: qcom: sdx75: correct sleep clock frequency
      arm64: dts: qcom: sm4450: correct sleep clock frequency
      arm64: dts: qcom: sm6125: correct sleep clock frequency
      arm64: dts: qcom: sm6375: correct sleep clock frequency
      arm64: dts: qcom: sm8250: correct sleep clock frequency
      arm64: dts: qcom: sm8350: correct sleep clock frequency
      arm64: dts: qcom: sm8450: correct sleep clock frequency
      arm64: dts: qcom: sm8550: correct sleep clock frequency
      arm64: dts: qcom: sm8650: correct sleep clock frequency
      arm64: dts: qcom: x1e80100: correct sleep clock frequency
      arm64: dts: qcom: sc8180x: drop extra XO clock frequencies
      arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
      arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file
      arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file
      arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file
      arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file
      arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file
      arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file
      arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file
      arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file
      arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file
      arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file
      arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file

 arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts             |  8 --------
 arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts |  8 --------
 arch/arm64/boot/dts/qcom/ipq5018.dtsi                      |  2 ++
 arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi           |  8 --------
 arch/arm64/boot/dts/qcom/ipq5332.dtsi                      |  2 ++
 arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts                |  9 ---------
 arch/arm64/boot/dts/qcom/ipq5424.dtsi                      |  2 ++
 arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi           |  8 --------
 arch/arm64/boot/dts/qcom/ipq9574.dtsi                      |  2 ++
 arch/arm64/boot/dts/qcom/msm8916.dtsi                      |  2 +-
 arch/arm64/boot/dts/qcom/msm8939.dtsi                      |  2 +-
 arch/arm64/boot/dts/qcom/msm8994.dtsi                      |  2 +-
 arch/arm64/boot/dts/qcom/qcm2290.dtsi                      |  1 +
 arch/arm64/boot/dts/qcom/qcs404.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi               |  8 --------
 arch/arm64/boot/dts/qcom/qdu1000-idp.dts                   | 14 --------------
 arch/arm64/boot/dts/qcom/qdu1000.dtsi                      | 14 ++++++++++++++
 arch/arm64/boot/dts/qcom/qrb2210-rb1.dts                   |  4 ----
 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts                   |  8 --------
 arch/arm64/boot/dts/qcom/qru1000-idp.dts                   | 14 --------------
 arch/arm64/boot/dts/qcom/sa8295p-adp.dts                   |  4 ----
 arch/arm64/boot/dts/qcom/sa8540p-ride.dts                  |  4 ----
 arch/arm64/boot/dts/qcom/sar2130p.dtsi                     |  2 +-
 arch/arm64/boot/dts/qcom/sc7280.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts        |  4 ----
 arch/arm64/boot/dts/qcom/sc8180x-primus.dts                |  4 ----
 arch/arm64/boot/dts/qcom/sc8280xp-crd.dts                  |  4 ----
 arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts |  4 ----
 arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts     |  4 ----
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi                     |  1 +
 arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts           | 14 --------------
 arch/arm64/boot/dts/qcom/sdm670.dtsi                       | 14 ++++++++++++++
 arch/arm64/boot/dts/qcom/sdx75.dtsi                        |  2 +-
 arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts        |  8 --------
 arch/arm64/boot/dts/qcom/sm4450.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts            |  8 --------
 arch/arm64/boot/dts/qcom/sm6115.dtsi                       |  2 ++
 arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts          |  8 --------
 arch/arm64/boot/dts/qcom/sm6125.dtsi                       |  2 +-
 .../boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts     |  4 ----
 arch/arm64/boot/dts/qcom/sm6375.dtsi                       |  3 ++-
 arch/arm64/boot/dts/qcom/sm8250.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm8350.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm8450.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm8550-hdk.dts                    |  8 --------
 arch/arm64/boot/dts/qcom/sm8550-mtp.dts                    |  8 --------
 arch/arm64/boot/dts/qcom/sm8550-qrd.dts                    |  8 --------
 arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts            |  8 --------
 .../arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts |  8 --------
 arch/arm64/boot/dts/qcom/sm8550.dtsi                       |  2 ++
 arch/arm64/boot/dts/qcom/sm8650-hdk.dts                    |  8 --------
 arch/arm64/boot/dts/qcom/sm8650-mtp.dts                    |  8 --------
 arch/arm64/boot/dts/qcom/sm8650-qrd.dts                    |  8 --------
 arch/arm64/boot/dts/qcom/sm8650.dtsi                       |  2 ++
 arch/arm64/boot/dts/qcom/x1e80100.dtsi                     |  2 +-
 55 files changed, 59 insertions(+), 237 deletions(-)
---
base-commit: cfba9f07a1d6aeca38f47f1f472cfb0ba133d341
change-id: 20241115-fix-board-clocks-e3afe520627c

Best regards,
-- 
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


^ permalink raw reply	[flat|nested] 52+ messages in thread

* [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30 10:21   ` Stephan Gerhold
  2024-11-30  1:44 ` [PATCH v2 02/31] arm64: dts: qcom: msm8939: " Dmitry Baryshkov
                   ` (30 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The MSM8916 platform uses PM8916 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: f4fb6aeafaaa ("arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 5e558bcc9d87893486352e5e211f131d4a1f67e5..8f35c9af18782aa1da7089988692e6588c4b7c5d 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -125,7 +125,7 @@ xo_board: xo-board {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <32768>;
+			clock-frequency = <32764>;
 		};
 	};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 02/31] arm64: dts: qcom: msm8939: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 03/31] arm64: dts: qcom: msm8994: " Dmitry Baryshkov
                   ` (29 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The MSM8939 platform uses PM8916 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 61550c6c156c ("arm64: dts: qcom: Add msm8939 SoC")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8939.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi
index 7a6f1eeaa3fc438f7b6c1d3b2dd17fb1b6f81d9a..7cd5660de1b33def5b9dc8a0d02583c3eaffb17f 100644
--- a/arch/arm64/boot/dts/qcom/msm8939.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi
@@ -34,7 +34,7 @@ xo_board: xo-board {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <32768>;
+			clock-frequency = <32764>;
 		};
 	};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 03/31] arm64: dts: qcom: msm8994: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 02/31] arm64: dts: qcom: msm8939: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 04/31] arm64: dts: qcom: qcs404: " Dmitry Baryshkov
                   ` (28 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The MSM8994 platform uses PM8994/6 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: feeaf56ac78d ("arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8994.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi
index 1acb0f159511996db07bc7543cf4f194a4ebd0fa..e6c6582ce1eab5bb6831d3458861d0d68c056316 100644
--- a/arch/arm64/boot/dts/qcom/msm8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi
@@ -34,7 +34,7 @@ xo_board: xo-board {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <32768>;
+			clock-frequency = <32764>;
 			clock-output-names = "sleep_clk";
 		};
 	};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 04/31] arm64: dts: qcom: qcs404: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (2 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 03/31] arm64: dts: qcom: msm8994: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 05/31] arm64: dts: qcom: q[dr]u1000: " Dmitry Baryshkov
                   ` (27 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The QCS40x platforms use PMS405 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 9181bb939984 ("arm64: dts: qcom: Add SDX75 platform and IDP board support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index 215ba146207afd25128692781926cf1964743655..2862474f33b0eab7c42fa2b22006f580c567ad2e 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -28,7 +28,7 @@ xo_board: xo-board {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <32768>;
+			clock-frequency = <32764>;
 		};
 	};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 05/31] arm64: dts: qcom: q[dr]u1000: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (3 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 04/31] arm64: dts: qcom: qcs404: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 06/31] arm64: dts: qcom: qrb4210-rb2: " Dmitry Baryshkov
                   ` (26 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The Q[DR]U1000 platforms use PM8150 to provide sleep clock. According to
the documentation, that clock has 32.7645 kHz frequency. Correct the
sleep clock definition.

Fixes: d1f2cfe2f669 ("arm64: dts: qcom: Add base QDU1000/QRU1000 IDP DTs")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 2 +-
 arch/arm64/boot/dts/qcom/qru1000-idp.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
index e65305f8136c886c076bd9603b48aadedf59730a..c73eda75faf8206181764df4d1ea32f96c9cfcd0 100644
--- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
@@ -31,7 +31,7 @@ xo_board: xo-board-clk {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 	};
diff --git a/arch/arm64/boot/dts/qcom/qru1000-idp.dts b/arch/arm64/boot/dts/qcom/qru1000-idp.dts
index 1c781d9e24cf4d4f45380860c6d89c21e8df9925..52ce51e56e2fdc51c05fb637ed4b1922801ff94b 100644
--- a/arch/arm64/boot/dts/qcom/qru1000-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qru1000-idp.dts
@@ -31,7 +31,7 @@ xo_board: xo-board-clk {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 	};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 06/31] arm64: dts: qcom: qrb4210-rb2: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (4 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 05/31] arm64: dts: qcom: q[dr]u1000: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 07/31] arm64: dts: qcom: sar2130p: " Dmitry Baryshkov
                   ` (25 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

Qualcomm RB2 board uses PM6125 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 8d58a8c0d930 ("arm64: dts: qcom: Add base qrb4210-rb2 board dts")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
index a9540e92d3e6fc314fa91d4f055325680233f6c4..d8d4cff7d5abed405d1b4cdf9ab8264aab076830 100644
--- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
+++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
@@ -545,7 +545,7 @@ can@0 {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &tlmm {

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 07/31] arm64: dts: qcom: sar2130p: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (5 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 06/31] arm64: dts: qcom: qrb4210-rb2: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 08/31] arm64: dts: qcom: sc7280: " Dmitry Baryshkov
                   ` (24 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SAR2130P platform uses PM8150 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: be9115bfe5bf ("arm64: dts: qcom: sar2130p: add support for SAR2130P")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sar2130p.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sar2130p.dtsi b/arch/arm64/boot/dts/qcom/sar2130p.dtsi
index 56f40e8ecae561d49331e51c57581d517dbc9b51..dd832e6816be85817fd1ecc853f8d4c800826bc4 100644
--- a/arch/arm64/boot/dts/qcom/sar2130p.dtsi
+++ b/arch/arm64/boot/dts/qcom/sar2130p.dtsi
@@ -37,7 +37,7 @@ xo_board: xo-board {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 		};
 	};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 08/31] arm64: dts: qcom: sc7280: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (6 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 07/31] arm64: dts: qcom: sar2130p: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 09/31] arm64: dts: qcom: sdx75: " Dmitry Baryshkov
                   ` (23 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SC7280 platform uses PMK8350 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 7a1f4e7f740d ("arm64: dts: qcom: sc7280: Add basic dts/dtsi files for sc7280 soc")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 55db1c83ef5517f82504816baeee583695065225..d12e0a63fd087461a33622e8771422c8acfdbc25 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -83,7 +83,7 @@ xo_board: xo-board {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 	};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 09/31] arm64: dts: qcom: sdx75: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (7 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 08/31] arm64: dts: qcom: sc7280: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 10/31] arm64: dts: qcom: sm4450: " Dmitry Baryshkov
                   ` (22 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SDX75 platform uses PMK8550 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 9181bb939984 ("arm64: dts: qcom: Add SDX75 platform and IDP board support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdx75.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi
index 5f7e59ecf1ca6298cb252ee0654bc7eaeefbd303..68d7dbe037b6ac49c746171e8dabd416c8813a38 100644
--- a/arch/arm64/boot/dts/qcom/sdx75.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi
@@ -34,7 +34,7 @@ xo_board: xo-board {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 	};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 10/31] arm64: dts: qcom: sm4450: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (8 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 09/31] arm64: dts: qcom: sdx75: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 11/31] arm64: dts: qcom: sm6125: " Dmitry Baryshkov
                   ` (21 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SM4450 platform uses PM4450 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 7a1fd03e7410 ("arm64: dts: qcom: Adds base SM4450 DTSI")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm4450.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi
index a0de5fe16faae5674efb0070d4017983c86603c4..27453771aa68a1c4dbd2a986af6785fa05db147d 100644
--- a/arch/arm64/boot/dts/qcom/sm4450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi
@@ -29,7 +29,7 @@ xo_board: xo-board {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 11/31] arm64: dts: qcom: sm6125: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (9 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 10/31] arm64: dts: qcom: sm4450: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 12/31] arm64: dts: qcom: sm6375: " Dmitry Baryshkov
                   ` (20 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SM6125 platform uses PM6125 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: cff4bbaf2a2d ("arm64: dts: qcom: Add support for SM6125")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm6125.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi
index 17d528d639343b9d649167d231aad3aa63474435..f3f207dcac84fa2f72fa9222c26ab3d7fe8813b2 100644
--- a/arch/arm64/boot/dts/qcom/sm6125.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi
@@ -28,7 +28,7 @@ xo_board: xo-board {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			clock-output-names = "sleep_clk";
 		};
 	};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 12/31] arm64: dts: qcom: sm6375: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (10 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 11/31] arm64: dts: qcom: sm6125: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 13/31] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
                   ` (19 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SM6375 platform uses PM6125 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 59d34ca97f91 ("arm64: dts: qcom: Add initial device tree for SM6375")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm6375.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi
index e0b1c54e98c0e8d244b5f658eaee2af5001c3855..7c929168ed0805e832b818516083d48968d3bbce 100644
--- a/arch/arm64/boot/dts/qcom/sm6375.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi
@@ -29,7 +29,7 @@ xo_board_clk: xo-board-clk {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 	};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 13/31] arm64: dts: qcom: sm8250: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (11 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 12/31] arm64: dts: qcom: sm6375: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 14/31] arm64: dts: qcom: sm8350: " Dmitry Baryshkov
                   ` (18 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SM8250 platform uses PM8150 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 9ff8b0591fcf ("arm64: dts: qcom: sm8250: use the right clock-freqency for sleep-clk")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 48318ed1ce98ab40de75129cb9bdfe32eda4c004..f39318304da8d02ded9bc4ff833bc88139ded744 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -84,7 +84,7 @@ xo_board: xo-board {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32768>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 	};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 14/31] arm64: dts: qcom: sm8350: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (12 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 13/31] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 15/31] arm64: dts: qcom: sm8450: " Dmitry Baryshkov
                   ` (17 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SM8350 platform uses PMK8350 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: b7e8f433a673 ("arm64: dts: qcom: Add basic devicetree support for SM8350 SoC")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi
index 877905dfd861edbcd083e6691a7cfa1279164ffc..15b7f15b3836dc544cb1209ab36df85263d612a1 100644
--- a/arch/arm64/boot/dts/qcom/sm8350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi
@@ -42,7 +42,7 @@ xo_board: xo-board {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 	};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 15/31] arm64: dts: qcom: sm8450: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (13 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 14/31] arm64: dts: qcom: sm8350: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 16/31] arm64: dts: qcom: sm8550: " Dmitry Baryshkov
                   ` (16 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SM8450 platform uses PMK8350 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 5188049c9b36 ("arm64: dts: qcom: Add base SM8450 DTSI")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index 53147aa6f7e4acb102dd5dee51f0aec164b971c7..7a0b901799bc327b9d31bd84e8a00fd62b451596 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -43,7 +43,7 @@ xo_board: xo-board {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 		};
 	};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 16/31] arm64: dts: qcom: sm8550: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (14 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 15/31] arm64: dts: qcom: sm8450: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 17/31] arm64: dts: qcom: sm8650: " Dmitry Baryshkov
                   ` (15 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SM8550 platform uses PMK8550 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 0b12da4e28d8 ("arm64: dts: qcom: add base AIM300 dtsi")
Fixes: b5e25ded2721 ("arm64: dts: qcom: sm8550: add support for the SM8550-HDK board")
Fixes: 71342fb91eae ("arm64: dts: qcom: Add base SM8550 MTP dts")
Fixes: d228efe88469 ("arm64: dts: qcom: sm8550-qrd: add QRD8550")
Fixes: ba2c082a401f ("arm64: dts: qcom: sm8550: Add support for Samsung Galaxy Z Fold5")
Fixes: 39c596304e44 ("arm64: dts: qcom: Add SM8550 Xperia 1 V")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi                | 2 +-
 arch/arm64/boot/dts/qcom/sm8550-hdk.dts                     | 2 +-
 arch/arm64/boot/dts/qcom/sm8550-mtp.dts                     | 2 +-
 arch/arm64/boot/dts/qcom/sm8550-qrd.dts                     | 2 +-
 arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts             | 2 +-
 arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi b/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi
index f6960e2d466a26bec4e5c3d31ac0bf54168ca1e5..e6ac529e6b7216ac4b9e10900c5ddc9a06c9011c 100644
--- a/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi
@@ -367,7 +367,7 @@ &pm8550b_eusb2_repeater {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &ufs_mem_hc {
diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts
index 01c921602605726928bcba71abd937869880ea0d..29bc1ddfc7b25f203c9f3b530610e45c44ae4fb2 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts
@@ -1172,7 +1172,7 @@ &sdhc_2 {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &swr0 {
diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
index ab447fc252f7dd705fbe29725805bc1c146c10f9..5648ab60ba4c4bfaf5baa289969898277ee57cef 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
@@ -825,7 +825,7 @@ &sdhc_2 {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &swr0 {
diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
index 6052dd922ec55c65089e6b08e36c355b01bf24fa..3a6cb279130489168f8d20a6e27808647debdb41 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
@@ -1005,7 +1005,7 @@ &remoteproc_mpss {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &swr0 {
diff --git a/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts b/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts
index 3c5d8d26704fd925857b5ddcc6067c2b14e1403d..e8383faac576a2f401fff74231a764712c832291 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts
@@ -565,7 +565,7 @@ &remoteproc_mpss {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &tlmm {
diff --git a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts
index 85d487ef80a0be5c3586d9de69327abd2b64209b..d90dc7b37c4a74cbfb03c929646fda3381413084 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts
@@ -722,7 +722,7 @@ &sdhc_2 {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &tlmm {

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 17/31] arm64: dts: qcom: sm8650: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (15 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 16/31] arm64: dts: qcom: sm8550: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 18/31] arm64: dts: qcom: x1e80100: " Dmitry Baryshkov
                   ` (14 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SM8650 platform uses PMK8550 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: 6fbdb3c1fac7 ("arm64: dts: qcom: sm8650: add initial SM8650 MTP dts")
Fixes: a834911d50c1 ("arm64: dts: qcom: sm8650: add initial SM8650 QRD dts")
Fixes: 01061441029e ("arm64: dts: qcom: sm8650: add support for the SM8650-HDK board")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8650-hdk.dts | 2 +-
 arch/arm64/boot/dts/qcom/sm8650-mtp.dts | 2 +-
 arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
index f00bdff4280af22f6f8b23e33238f53c602bc169..d0912735b54e5090f9f213c2c9341e03effbbbff 100644
--- a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
@@ -1113,7 +1113,7 @@ &sdhc_2 {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &swr0 {
diff --git a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts
index 0db2cb03f252d19a1f8b171a562a8e06290c8a21..76ef43c10f77d8329ccf0a05c9d590a46372315f 100644
--- a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts
@@ -730,7 +730,7 @@ &sdhc_2 {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &swr0 {
diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts
index c5e8c3c2df91a49476f49832c0bd6418f4dfae3d..71033fba21b56bc63620dca3e453c14191739675 100644
--- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts
+++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts
@@ -1041,7 +1041,7 @@ &remoteproc_mpss {
 };
 
 &sleep_clk {
-	clock-frequency = <32000>;
+	clock-frequency = <32764>;
 };
 
 &spi4 {

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 18/31] arm64: dts: qcom: x1e80100: correct sleep clock frequency
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (16 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 17/31] arm64: dts: qcom: sm8650: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 19/31] arm64: dts: qcom: sc8180x: drop extra XO clock frequencies Dmitry Baryshkov
                   ` (13 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The X1E80100 platform uses PMK8550 to provide sleep clock. According to the
documentation, that clock has 32.7645 kHz frequency. Correct the sleep
clock definition.

Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/x1e80100.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
index c18b99765c25c901b3d0a3fbaddc320c0a8c1716..8f3c4c6a1fbc57412258be820e480c1bff7b520a 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
@@ -38,7 +38,7 @@ xo_board: xo-board {
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32000>;
+			clock-frequency = <32764>;
 			#clock-cells = <0>;
 		};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 19/31] arm64: dts: qcom: sc8180x: drop extra XO clock frequencies
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (17 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 18/31] arm64: dts: qcom: x1e80100: " Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file Dmitry Baryshkov
                   ` (12 subsequent siblings)
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

sc8180x.dtsi already defines 38.4 MHz clock frequency for the XO clock.
Drop duplicate overrides from Primus and Lenovo Flex 5G DT files.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 4 ----
 arch/arm64/boot/dts/qcom/sc8180x-primus.dts         | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
index 62de4774c556d3954a797287ba2ecb36d979dc9f..21c2d25a294506de41f6e8b7197be85c02d03568 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
+++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
@@ -681,10 +681,6 @@ &wifi {
 	status = "okay";
 };
 
-&xo_board_clk {
-	clock-frequency = <38400000>;
-};
-
 /* PINCTRL */
 
 &pmc8180c_gpios {
diff --git a/arch/arm64/boot/dts/qcom/sc8180x-primus.dts b/arch/arm64/boot/dts/qcom/sc8180x-primus.dts
index 79b4d293ea1e70d68346e7c5458c94f7c2b6f1eb..7a4bd6955470338dd9c7a628c9f9a01de8b480ac 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x-primus.dts
+++ b/arch/arm64/boot/dts/qcom/sc8180x-primus.dts
@@ -773,10 +773,6 @@ &wifi {
 	status = "okay";
 };
 
-&xo_board_clk {
-	clock-frequency = <38400000>;
-};
-
 /* PINCTRL */
 
 &pmc8180c_gpios {

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (18 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 19/31] arm64: dts: qcom: sc8180x: drop extra XO clock frequencies Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:29   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 21/31] arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file Dmitry Baryshkov
                   ` (11 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

IPQ5018 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts             | 8 --------
 arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts | 8 --------
 arch/arm64/boot/dts/qcom/ipq5018.dtsi                      | 2 ++
 3 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
index 8460b538eb6a3e2d6b971bd9637309809e0c0f0c..9bb87b7fd25777d4ba13bd2bb36024b8035d8afd 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
@@ -38,10 +38,6 @@ &sdhc_1 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32000>;
-};
-
 &tlmm {
 	sdc_default_state: sdc-default-state {
 		clk-pins {
@@ -78,7 +74,3 @@ &usb_dwc {
 &usbphy0 {
 	status = "okay";
 };
-
-&xo_board_clk {
-	clock-frequency = <24000000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts b/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts
index 5bb021cb29cd39cb95035bfac1bdbc976439838b..af281c285447f9845f542cc9d976fcdc7f1cf766 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts
@@ -95,10 +95,6 @@ &blsp1_uart1 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32000>;
-};
-
 &tlmm {
 	button_pins: button-pins-state {
 		pins = "gpio25", "gpio31";
@@ -122,7 +118,3 @@ uart_pins: uart-pins-state {
 		bias-disable;
 	};
 };
-
-&xo_board_clk {
-	clock-frequency = <24000000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
index 8914f2ef0bc47fda243b19174f77ce73fc10757d..fe617e9a086e6541854e03bd1f0a6519079befed 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -19,11 +19,13 @@ clocks {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <32000>;
 		};
 
 		xo_board_clk: xo-board-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <24000000>;
 		};
 	};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 21/31] arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (19 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:29   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file Dmitry Baryshkov
                   ` (10 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

IPQ5332 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi | 8 --------
 arch/arm64/boot/dts/qcom/ipq5332.dtsi            | 2 ++
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi b/arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi
index b37ae7749083f43f482231c1de9f99ac28ea2b66..efe4ed4a5d9fabad1137fc7211c95ef38e69c0be 100644
--- a/arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi
@@ -55,14 +55,6 @@ &blsp1_uart0 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32000>;
-};
-
-&xo_board {
-	clock-frequency = <24000000>;
-};
-
 /* PINCTRL */
 &tlmm {
 	gpio_keys_default: gpio-keys-default-state {
diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi
index d3c3e215a15cfc3998f8e30656828a46b6991898..29feb27df5d4314bb2d2eac50ab320e173e8c7f9 100644
--- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi
@@ -19,11 +19,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


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (20 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 21/31] arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:30   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 23/31] arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file Dmitry Baryshkov
                   ` (9 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.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


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 23/31] arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (21 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:30   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 24/31] arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file Dmitry Baryshkov
                   ` (8 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

IPQ9574 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi | 8 --------
 arch/arm64/boot/dts/qcom/ipq9574.dtsi            | 2 ++
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
index 91e104b0f86534ce02349c7b69b36f4c5e602c6d..d1af7c55f6256e9297c86df2b3a1ab68fc636862 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
@@ -114,10 +114,6 @@ mp5496_l2: l2 {
 	};
 };
 
-&sleep_clk {
-	clock-frequency = <32000>;
-};
-
 &tlmm {
 	spi_0_pins: spi-0-state {
 		pins = "gpio11", "gpio12", "gpio13", "gpio14";
@@ -163,7 +159,3 @@ &usb_0_qusbphy {
 &usb3 {
 	status = "okay";
 };
-
-&xo_board_clk {
-	clock-frequency = <24000000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
index d1fd35ebc4a28bafee77e7be441709f99f482558..7e519db962d140989887f6ca9cc270a6666dfb58 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
@@ -22,11 +22,13 @@ clocks {
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <32000>;
 		};
 
 		xo_board_clk: xo-board-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <24000000>;
 		};
 	};
 

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 24/31] arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (22 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 23/31] arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:30   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 25/31] arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file Dmitry Baryshkov
                   ` (7 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

QCM2290 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/qcm2290.dtsi    | 1 +
 arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 4 ----
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi
index f0746123e594d5ce5cc314c956eaca11556a9211..c653b178f5034d2cb19868b241a4c36459028d57 100644
--- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi
@@ -29,6 +29,7 @@ clocks {
 		xo_board: xo-board {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <38400000>;
 		};
 
 		sleep_clk: sleep-clk {
diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
index 7a789b41c2f1887f0c41ae24da2e2fe8915ab13c..2030e59f8fa162fdd8b66d31dce00bb44aabde5e 100644
--- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
+++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
@@ -624,7 +624,3 @@ &wifi {
 	firmware-name = "qcm2290";
 	status = "okay";
 };
-
-&xo_board {
-	clock-frequency = <38400000>;
-};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 25/31] arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (23 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 24/31] arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:30   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 26/31] arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file Dmitry Baryshkov
                   ` (6 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

SC8280XP, SA8540P and SA8295P have main XO clock definition 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sa8295p-adp.dts                   | 4 ----
 arch/arm64/boot/dts/qcom/sa8540p-ride.dts                  | 4 ----
 arch/arm64/boot/dts/qcom/sc8280xp-crd.dts                  | 4 ----
 arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 4 ----
 arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts     | 4 ----
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi                     | 1 +
 6 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts
index 2fd1dafe63ce7a4f409d19946b9f10ffe324fba3..c536df2acc66276a0bf4e3b2640ee204109867f7 100644
--- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts
+++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts
@@ -728,10 +728,6 @@ &usb_2_qmpphy1 {
 	status = "okay";
 };
 
-&xo_board_clk {
-	clock-frequency = <38400000>;
-};
-
 /* PINCTRL */
 
 &pmm8540a_gpios {
diff --git a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts
index 177b9dad6ff703467ea4d10e0f5a651d11569275..64c35a72a828c128f9dbe9e3537a3f777d21713b 100644
--- a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts
+++ b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts
@@ -503,10 +503,6 @@ &usb_2_qmpphy0 {
 	status = "okay";
 };
 
-&xo_board_clk {
-	clock-frequency = <38400000>;
-};
-
 /* PINCTRL */
 
 &tlmm {
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
index 75adaa19d1c3e0c8fcad40c7d0b0afb504331d75..61ae4d0a9e7d10387a8331fbc22d5f88edaa9c23 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
@@ -868,10 +868,6 @@ &usb_1_qmpphy_out {
 	remote-endpoint = <&pmic_glink_con1_ss>;
 };
 
-&xo_board_clk {
-	clock-frequency = <38400000>;
-};
-
 /* PINCTRL - additions to nodes defined in sc8280xp.dtsi */
 
 &pmc8280_1_gpios {
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
index f3190f408f4b2c7ca9fe368d652d5d66bb3949af..bee1e143178be5971a5916c368a5e8c864927b47 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
@@ -1481,10 +1481,6 @@ &wsamacro {
 	status = "okay";
 };
 
-&xo_board_clk {
-	clock-frequency = <38400000>;
-};
-
 /* PINCTRL */
 
 &lpass_tlmm {
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts b/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts
index ae5daeac8fe284bbec86622c10e6831d60a25297..c4a19ecbd894cbdd0521bbf784efd23f46eb07f0 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts
@@ -837,10 +837,6 @@ &wsamacro {
 	status = "okay";
 };
 
-&xo_board_clk {
-	clock-frequency = <38400000>;
-};
-
 /* PINCTRL */
 
 &lpass_tlmm {
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index ef06d1ac084d3205a149feff880f457822dca2b4..e6517ad9408d9a49da9c00bcb661f32539fa32e6 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -31,6 +31,7 @@ clocks {
 		xo_board_clk: xo-board-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <38400000>;
 		};
 
 		sleep_clk: sleep-clk {

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 26/31] arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (24 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 25/31] arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:30   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 27/31] arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file Dmitry Baryshkov
                   ` (5 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

SM6115, SM4250 and QRB4210 have board-level clocks (XO, sleep)
definitions 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts            | 8 --------
 arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts | 8 --------
 arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts     | 8 --------
 arch/arm64/boot/dts/qcom/sm6115.dtsi                | 2 ++
 arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts   | 8 --------
 5 files changed, 2 insertions(+), 32 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
index d8d4cff7d5abed405d1b4cdf9ab8264aab076830..675f9057ed442fb4afd22064b4022df5ed8cb882 100644
--- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
+++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
@@ -544,10 +544,6 @@ can@0 {
 	};
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &tlmm {
 	gpio-reserved-ranges = <43 2>, <49 1>, <54 1>,
 			       <56 3>, <61 2>, <64 1>,
@@ -695,7 +691,3 @@ &wifi {
 
 	status = "okay";
 };
-
-&xo_board {
-	clock-frequency = <19200000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts
index 9153a5a55ed9fe82ea6771ef87dae5620a4fbf2f..ae65dc2abe510d35f1aeeeac5ccf5c576d688734 100644
--- a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts
+++ b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts
@@ -193,10 +193,6 @@ vreg_l24a: l24 {
 	};
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &sdhc_2 {
 	vmmc-supply = <&vreg_l22a>;
 	vqmmc-supply = <&vreg_l5a>;
@@ -254,7 +250,3 @@ &usb_hsphy {
 	vdda-phy-dpdm-supply = <&vreg_l15a>;
 	status = "okay";
 };
-
-&xo_board {
-	clock-frequency = <19200000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index f60d36c03b9b51d1ba5fb2db7d619916fe42f084..5cf0d2383019abec53f875c727e86656f3ac4478 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -471,10 +471,6 @@ &sdhc_2 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &tlmm {
 	gpio-reserved-ranges = <0 4>, <14 4>;
 
@@ -570,7 +566,3 @@ &wifi {
 
 	status = "okay";
 };
-
-&xo_board {
-	clock-frequency = <19200000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi
index 9b23534c456bde8c400cc331e847f0f84ae0b74a..29eb179ac519dd0965977902ca0edf6a06fa147b 100644
--- a/arch/arm64/boot/dts/qcom/sm6115.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi
@@ -28,11 +28,13 @@ clocks {
 		xo_board: xo-board {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <19200000>;
 		};
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <32764>;
 		};
 	};
 
diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts
index 9d78bb3f71901705fd22d88b472f6fc1d0c0fffb..27936023175bcb73e73a85b463c4b9f5c00541cb 100644
--- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts
@@ -305,10 +305,6 @@ &sdhc_2 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &tlmm {
 	gpio-reserved-ranges = <14 4>;
 
@@ -382,7 +378,3 @@ &wifi {
 	qcom,ath10k-calibration-variant = "Lenovo_P11";
 	status = "okay";
 };
-
-&xo_board {
-	clock-frequency = <19200000>;
-};

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 27/31] arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (25 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 26/31] arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:31   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 28/31] arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file Dmitry Baryshkov
                   ` (4 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

SM6375 platform has main XO clock definition 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 4 ----
 arch/arm64/boot/dts/qcom/sm6375.dtsi                          | 1 +
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts
index e04a3b8f81c556713550cd22feb2d0f282564baa..9840868fc7196316bbf9d2de9b8967ba73e541d9 100644
--- a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts
+++ b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts
@@ -454,7 +454,3 @@ &wifi {
 	vdd-3.3-ch1-supply = <&pm6125_l21>;
 	status = "okay";
 };
-
-&xo_board_clk {
-	clock-frequency = <19200000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi
index 7c929168ed0805e832b818516083d48968d3bbce..013666efbbe8b5b9c12f3d7dcab0b59de8a69c50 100644
--- a/arch/arm64/boot/dts/qcom/sm6375.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi
@@ -25,6 +25,7 @@ clocks {
 		xo_board_clk: xo-board-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <19200000>;
 		};
 
 		sleep_clk: sleep-clk {

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 28/31] arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (26 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 27/31] arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:31   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 29/31] arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file Dmitry Baryshkov
                   ` (3 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

SM8550 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi                | 8 --------
 arch/arm64/boot/dts/qcom/sm8550-hdk.dts                     | 8 --------
 arch/arm64/boot/dts/qcom/sm8550-mtp.dts                     | 8 --------
 arch/arm64/boot/dts/qcom/sm8550-qrd.dts                     | 8 --------
 arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts             | 8 --------
 arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts | 8 --------
 arch/arm64/boot/dts/qcom/sm8550.dtsi                        | 2 ++
 7 files changed, 2 insertions(+), 48 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi b/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi
index e6ac529e6b7216ac4b9e10900c5ddc9a06c9011c..9f1f99f892f5f92ba0e44bd9cc3daeb2916387b2 100644
--- a/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi
@@ -366,10 +366,6 @@ &pm8550b_eusb2_repeater {
 	vdd3-supply = <&vreg_l5b_3p1>;
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &ufs_mem_hc {
 	reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
 	vcc-supply = <&vreg_l17b_2p5>;
@@ -399,7 +395,3 @@ &usb_dp_qmpphy {
 	vdda-phy-supply = <&vreg_l3e_1p2>;
 	vdda-pll-supply = <&vreg_l3f_0p88>;
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts
index 29bc1ddfc7b25f203c9f3b530610e45c44ae4fb2..656c2b1facd656736495d103b7aa57708d6ad38b 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts
@@ -1171,10 +1171,6 @@ &sdhc_2 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &swr0 {
 	status = "okay";
 
@@ -1367,7 +1363,3 @@ &usb_dp_qmpphy {
 &usb_dp_qmpphy_out {
 	remote-endpoint = <&pmic_glink_ss_in>;
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
index 5648ab60ba4c4bfaf5baa289969898277ee57cef..0e04ca10d04cefe197bc3278675809f73d61b65a 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts
@@ -824,10 +824,6 @@ &sdhc_2 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &swr0 {
 	status = "okay";
 
@@ -971,7 +967,3 @@ &usb_dp_qmpphy {
 &usb_dp_qmpphy_out {
 	remote-endpoint = <&pmic_glink_ss_in>;
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
index 3a6cb279130489168f8d20a6e27808647debdb41..63b5f4be6fe91af799104d1384624b0a4dc592fe 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
@@ -1004,10 +1004,6 @@ &remoteproc_mpss {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &swr0 {
 	status = "okay";
 
@@ -1229,7 +1225,3 @@ &usb_dp_qmpphy {
 &usb_dp_qmpphy_out {
 	remote-endpoint = <&redriver_ss_in>;
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts b/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts
index e8383faac576a2f401fff74231a764712c832291..9d319a0c89be4b67ff4f2934b5526ce2ab5734cc 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts
@@ -564,10 +564,6 @@ &remoteproc_mpss {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &tlmm {
 	gpio-reserved-ranges = <36 4>, <50 2>;
 };
@@ -587,7 +583,3 @@ &ufs_mem_phy {
 	vdda-pll-supply = <&vreg_l3e_1p2>;
 	status = "okay";
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts
index d90dc7b37c4a74cbfb03c929646fda3381413084..0e03ab2ac2eed716712833195ae56f5689a577cb 100644
--- a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts
+++ b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts
@@ -721,10 +721,6 @@ &sdhc_2 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &tlmm {
 	gpio-reserved-ranges = <32 8>;
 };
@@ -759,7 +755,3 @@ &usb_dp_qmpphy {
 &usb_dp_qmpphy_out {
 	remote-endpoint = <&pmic_glink_ss_in>;
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
index e7774d32fb6d2288748ecec00bf525b2b3c40fbb..e6dccb199d7fb4c4a15294c3f22eb842e4c32ce6 100644
--- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
@@ -36,11 +36,13 @@ clocks {
 		xo_board: xo-board {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <76800000>;
 		};
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <32764>;
 		};
 
 		bi_tcxo_div2: bi-tcxo-div2-clk {

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 29/31] arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (27 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 28/31] arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  9:31   ` Krzysztof Kozlowski
  2024-11-30  1:44 ` [PATCH v2 30/31] arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file Dmitry Baryshkov
                   ` (2 subsequent siblings)
  31 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

SM8650 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@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8650-hdk.dts | 8 --------
 arch/arm64/boot/dts/qcom/sm8650-mtp.dts | 8 --------
 arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 8 --------
 arch/arm64/boot/dts/qcom/sm8650.dtsi    | 2 ++
 4 files changed, 2 insertions(+), 24 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
index d0912735b54e5090f9f213c2c9341e03effbbbff..f509689af1c2e0dd6ea85edebe490538ff43964c 100644
--- a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
@@ -1112,10 +1112,6 @@ &sdhc_2 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &swr0 {
 	status = "okay";
 
@@ -1337,7 +1333,3 @@ &usb_dp_qmpphy {
 &usb_dp_qmpphy_out {
 	remote-endpoint = <&pmic_glink_ss_in>;
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts
index 76ef43c10f77d8329ccf0a05c9d590a46372315f..9a7f98d922af887657b4b56b5e271cc4b590db2f 100644
--- a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts
@@ -729,10 +729,6 @@ &sdhc_2 {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &swr0 {
 	status = "okay";
 
@@ -884,7 +880,3 @@ &usb_dp_qmpphy {
 &usb_dp_qmpphy_out {
 	remote-endpoint = <&pmic_glink_ss_in>;
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts
index 71033fba21b56bc63620dca3e453c14191739675..4943127e27a15af72f6d3f281550b1d8ac0ab77c 100644
--- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts
+++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts
@@ -1040,10 +1040,6 @@ &remoteproc_mpss {
 	status = "okay";
 };
 
-&sleep_clk {
-	clock-frequency = <32764>;
-};
-
 &spi4 {
 	status = "okay";
 
@@ -1320,7 +1316,3 @@ &usb_dp_qmpphy {
 &usb_dp_qmpphy_out {
 	remote-endpoint = <&redriver_ss_in>;
 };
-
-&xo_board {
-	clock-frequency = <76800000>;
-};
diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 25e47505adcb790d09f1d2726386438487255824..cda249f767e5f1766134c62a8e5f312ed17e17d5 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -38,11 +38,13 @@ clocks {
 		xo_board: xo-board {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <76800000>;
 		};
 
 		sleep_clk: sleep-clk {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
+			clock-frequency = <32764>;
 		};
 
 		bi_tcxo_div2: bi-tcxo-div2-clk {

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 30/31] arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (28 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 29/31] arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30  1:44 ` [PATCH v2 31/31] arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file Dmitry Baryshkov
  2024-11-30 10:18 ` [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Marijn Suijten
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The SDM670 devices define XO and clocks completely in the
board files, despite sdm670.dtsi file referencing them directly. Follow
the example of other platforms and move clock definitions to the
sdm670.dtsi file.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts | 14 --------------
 arch/arm64/boot/dts/qcom/sdm670.dtsi             | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts
index 176b0119fe6d45d7d3fa584f1825f4e4e681c2e7..44b708c8a4e4ef5ee1d9110bba372d230fdd5b4b 100644
--- a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts
+++ b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts
@@ -49,20 +49,6 @@ framebuffer@9c000000 {
 		};
 	};
 
-	clocks {
-		sleep_clk: sleep-clk {
-			compatible = "fixed-clock";
-			#clock-cells = <0>;
-			clock-frequency = <32764>;
-		};
-
-		xo_board: xo-board {
-			compatible = "fixed-clock";
-			#clock-cells = <0>;
-			clock-frequency = <38400000>;
-		};
-	};
-
 	gpio-keys {
 		compatible = "gpio-keys";
 		autorepeat;
diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi
index c93dd06c0b7d6444aefd0e24201cea999dcb23a4..c4fd7598d1ca8d8baf4c3da0e20cb191f7883f0a 100644
--- a/arch/arm64/boot/dts/qcom/sdm670.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi
@@ -28,6 +28,20 @@ / {
 
 	chosen { };
 
+	clocks {
+		sleep_clk: sleep-clk {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <32764>;
+		};
+
+		xo_board: xo-board {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <38400000>;
+		};
+	};
+
 	cpus {
 		#address-cells = <2>;
 		#size-cells = <0>;

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [PATCH v2 31/31] arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (29 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 30/31] arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file Dmitry Baryshkov
@ 2024-11-30  1:44 ` Dmitry Baryshkov
  2024-11-30 10:18 ` [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Marijn Suijten
  31 siblings, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  1:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Dmitry Baryshkov

The QDU1000 and QRU1000 devices define XO and clocks completely in the
board files, despite qdu1000.dtsi file referencing them directly. Follow
the example of other platforms and move clock definitions to the
qdu1000.dtsi file.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 14 --------------
 arch/arm64/boot/dts/qcom/qdu1000.dtsi    | 14 ++++++++++++++
 arch/arm64/boot/dts/qcom/qru1000-idp.dts | 14 --------------
 3 files changed, 14 insertions(+), 28 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
index c73eda75faf8206181764df4d1ea32f96c9cfcd0..a36a56f03c2d112c6afdae1272b81edff890fca1 100644
--- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts
@@ -22,20 +22,6 @@ chosen {
 		stdout-path = "serial0:115200n8";
 	};
 
-	clocks {
-		xo_board: xo-board-clk {
-			compatible = "fixed-clock";
-			clock-frequency = <19200000>;
-			#clock-cells = <0>;
-		};
-
-		sleep_clk: sleep-clk {
-			compatible = "fixed-clock";
-			clock-frequency = <32764>;
-			#clock-cells = <0>;
-		};
-	};
-
 	ppvar_sys: ppvar-sys-regulator {
 		compatible = "regulator-fixed";
 		regulator-name = "ppvar_sys";
diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
index 47c0dd31aaf2e42d6d85411956207b2509a605b0..30fa8f5f992ff5b440db9871a254b60acddbac94 100644
--- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
+++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
@@ -21,6 +21,20 @@ / {
 
 	chosen: chosen { };
 
+	clocks {
+		xo_board: xo-board-clk {
+			compatible = "fixed-clock";
+			clock-frequency = <19200000>;
+			#clock-cells = <0>;
+		};
+
+		sleep_clk: sleep-clk {
+			compatible = "fixed-clock";
+			clock-frequency = <32764>;
+			#clock-cells = <0>;
+		};
+	};
+
 	cpus {
 		#address-cells = <2>;
 		#size-cells = <0>;
diff --git a/arch/arm64/boot/dts/qcom/qru1000-idp.dts b/arch/arm64/boot/dts/qcom/qru1000-idp.dts
index 52ce51e56e2fdc51c05fb637ed4b1922801ff94b..f35e3111f516ca1ab59011f8a4145d3e21e0a221 100644
--- a/arch/arm64/boot/dts/qcom/qru1000-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qru1000-idp.dts
@@ -22,20 +22,6 @@ chosen {
 		stdout-path = "serial0:115200n8";
 	};
 
-	clocks {
-		xo_board: xo-board-clk {
-			compatible = "fixed-clock";
-			clock-frequency = <19200000>;
-			#clock-cells = <0>;
-		};
-
-		sleep_clk: sleep-clk {
-			compatible = "fixed-clock";
-			clock-frequency = <32764>;
-			#clock-cells = <0>;
-		};
-	};
-
 	ppvar_sys: ppvar-sys-regulator {
 		compatible = "regulator-fixed";
 		regulator-name = "ppvar_sys";

-- 
2.39.5


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
  2024-11-30  1:44 ` [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:29   ` Krzysztof Kozlowski
  2024-11-30  9:57     ` Dmitry Baryshkov
  0 siblings, 1 reply; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:29 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> IPQ5018 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

This contradicts DTS coding style and all my existing review. Obviously
that's a NAK from me. If you want to merge this patch, please kindly
carry my formal objection for this and all following "move board clocks"
patches:

Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

(I'll respond in next patches as well, just for formality/b4)

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 21/31] arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file
  2024-11-30  1:44 ` [PATCH v2 21/31] arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:29   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:29 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> IPQ5332 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---

Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file
  2024-11-30  1:44 ` [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:30   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:30 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---

Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 23/31] arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file
  2024-11-30  1:44 ` [PATCH v2 23/31] arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:30   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:30 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> IPQ9574 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---

Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 24/31] arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file
  2024-11-30  1:44 ` [PATCH v2 24/31] arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:30   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:30 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> QCM2290 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/qcm2290.dtsi    | 1 +
>  arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 4 ----
>  2 files changed, 1 insertion(+), 4 deletions(-)
> 
Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 25/31] arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file
  2024-11-30  1:44 ` [PATCH v2 25/31] arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:30   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:30 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> SC8280XP, SA8540P and SA8295P have main XO clock definition 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---

Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 26/31] arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file
  2024-11-30  1:44 ` [PATCH v2 26/31] arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:30   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:30 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> SM6115, SM4250 and QRB4210 have board-level clocks (XO, sleep)
> definitions 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---

Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 28/31] arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file
  2024-11-30  1:44 ` [PATCH v2 28/31] arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:31   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:31 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> SM8550 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 29/31] arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file
  2024-11-30  1:44 ` [PATCH v2 29/31] arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:31   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:31 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> SM8650 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---

Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 27/31] arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file
  2024-11-30  1:44 ` [PATCH v2 27/31] arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file Dmitry Baryshkov
@ 2024-11-30  9:31   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30  9:31 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo, Stephan Gerhold,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> SM6375 platform has main XO clock definition 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@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---


Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
  2024-11-30  9:29   ` Krzysztof Kozlowski
@ 2024-11-30  9:57     ` Dmitry Baryshkov
  2024-11-30 10:00       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30  9:57 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo,
	Stephan Gerhold, Zac Crosby, Bastian Köcher, Andy Gross,
	Jeremy McNicoll, Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On Sat, Nov 30, 2024 at 10:29:38AM +0100, Krzysztof Kozlowski wrote:
> On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> > IPQ5018 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@kernel.org>
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> 
> This contradicts DTS coding style and all my existing review. Obviously
> that's a NAK from me. If you want to merge this patch, please kindly
> carry my formal objection for this and all following "move board clocks"
> patches:
> 
> Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>

I'd kindly ask Bjorn to chime in as a platform maintainer.

> 
> (I'll respond in next patches as well, just for formality/b4)
> 
> Best regards,
> Krzysztof

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
  2024-11-30  9:57     ` Dmitry Baryshkov
@ 2024-11-30 10:00       ` Krzysztof Kozlowski
  2024-11-30 10:26         ` Dmitry Baryshkov
  0 siblings, 1 reply; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30 10:00 UTC (permalink / raw)
  To: Dmitry Baryshkov, Krzysztof Kozlowski
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo,
	Stephan Gerhold, Zac Crosby, Bastian Köcher, Andy Gross,
	Jeremy McNicoll, Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	linux-arm-msm, devicetree, linux-kernel

On 30/11/2024 10:57, Dmitry Baryshkov wrote:
> On Sat, Nov 30, 2024 at 10:29:38AM +0100, Krzysztof Kozlowski wrote:
>> On 30/11/2024 02:44, Dmitry Baryshkov wrote:
>>> IPQ5018 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@kernel.org>
>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>
>> This contradicts DTS coding style and all my existing review. Obviously
>> that's a NAK from me. If you want to merge this patch, please kindly
>> carry my formal objection for this and all following "move board clocks"
>> patches:
>>
>> Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> I'd kindly ask Bjorn to chime in as a platform maintainer.


To change my NAK? NAK is still a NAK. We discussed it many, many times
already. We have coding style for this explicitly mentioning this case.
Could not be more specific... plus all my reviews for Qualcomm, NXP, TI,
ST and other platforms. I would be quite unpredictable or unfair if I
gave here some sort of exception while expecting different code from
other platforms.

Please carry my NAK.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files
  2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
                   ` (30 preceding siblings ...)
  2024-11-30  1:44 ` [PATCH v2 31/31] arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file Dmitry Baryshkov
@ 2024-11-30 10:18 ` Marijn Suijten
  31 siblings, 0 replies; 52+ messages in thread
From: Marijn Suijten @ 2024-11-30 10:18 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo,
	Stephan Gerhold, Zac Crosby, Bastian Köcher, Andy Gross,
	Jeremy McNicoll, Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel

On 2024-11-30 03:44:12, Dmitry Baryshkov wrote:
> Multiple Qualcomm platforms play strange tricks with board-level clocks
> (XO, sleep) definitions. On some (older) platforms such clocks are
> completely defined within SoC.dtsi file (although these clocks are not a
> part of the SoC). On other platforms definitions of such clocks are
> split between the SoC dtsi file and the board file. Several obscure
> platforms define those clocks completely in the board files. Unify the
> design and move complete description of those clocks to the SoC DTSI
> file.
> 
> The XO clock is (usually) an external crystal used by the external PMIC,
> which then provides RF CLK and LN BB CLK to the main SoC. However for
> technical reasons this part of the PMIC is modelled as a part of the SoC
> as RPM or RPMh clock controllers. It makes it impractical to describe XO
> clock as being used or being connected to the PMIC.
> 
> Sleep clock is a 32.764 kHz RC oscillator provided by one of
> PMICs. However pushing it into the PMIC might interact badly with fw
> devlink, causing unnecessary probe delays and/or devlink loops. One of
> the possible solutions might be to move it to the corresponding
> PMIC.dtsi, but model the clock outside of the PMIC node, providing
> /clocks/sleep-clk node from that file.
> 
> Note, the series includes a set of fixes for the sleep clocks
> frequencies. For several platforms I wasn't able to find corresponding
> document and as such I didn't change defined clocks. These platforms
> are: IPQ5018, IPQ5332, IPQ5424, IPQ6018, IPQ8074, IPQ9574, MSM8953.
> 
> Also several MSM8996 / MSM8994 devices define divisor clocks at
> 32.768 kHz. Most likely these clocks are also generated by dividing the
> 19.2 MHz clock and should have the frequency 32.764 kHz, but being not
> 100% sure I decided to leave those as is for now.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> Changes in v2:
> - Move clocks to SoC DTSI (offline discussion with Bjorn)
> - Link to v1: https://lore.kernel.org/r/20241115-fix-board-clocks-v1-0-8cb00a4f57c2@linaro.org
> 
> ---
> Dmitry Baryshkov (31):
>       arm64: dts: qcom: msm8916: correct sleep clock frequency
>       arm64: dts: qcom: msm8939: correct sleep clock frequency
>       arm64: dts: qcom: msm8994: correct sleep clock frequency
>       arm64: dts: qcom: qcs404: correct sleep clock frequency
>       arm64: dts: qcom: q[dr]u1000: correct sleep clock frequency
>       arm64: dts: qcom: qrb4210-rb2: correct sleep clock frequency
>       arm64: dts: qcom: sar2130p: correct sleep clock frequency
>       arm64: dts: qcom: sc7280: correct sleep clock frequency
>       arm64: dts: qcom: sdx75: correct sleep clock frequency
>       arm64: dts: qcom: sm4450: correct sleep clock frequency
>       arm64: dts: qcom: sm6125: correct sleep clock frequency
>       arm64: dts: qcom: sm6375: correct sleep clock frequency
>       arm64: dts: qcom: sm8250: correct sleep clock frequency
>       arm64: dts: qcom: sm8350: correct sleep clock frequency
>       arm64: dts: qcom: sm8450: correct sleep clock frequency
>       arm64: dts: qcom: sm8550: correct sleep clock frequency
>       arm64: dts: qcom: sm8650: correct sleep clock frequency
>       arm64: dts: qcom: x1e80100: correct sleep clock frequency
>       arm64: dts: qcom: sc8180x: drop extra XO clock frequencies
>       arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
>       arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file
>       arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file
>       arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file
>       arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file
>       arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file
>       arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file
>       arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file
>       arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file
>       arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file
>       arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file
>       arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file
> 
>  arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts             |  8 --------
>  arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts |  8 --------
>  arch/arm64/boot/dts/qcom/ipq5018.dtsi                      |  2 ++
>  arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi           |  8 --------
>  arch/arm64/boot/dts/qcom/ipq5332.dtsi                      |  2 ++
>  arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts                |  9 ---------
>  arch/arm64/boot/dts/qcom/ipq5424.dtsi                      |  2 ++
>  arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi           |  8 --------
>  arch/arm64/boot/dts/qcom/ipq9574.dtsi                      |  2 ++
>  arch/arm64/boot/dts/qcom/msm8916.dtsi                      |  2 +-
>  arch/arm64/boot/dts/qcom/msm8939.dtsi                      |  2 +-
>  arch/arm64/boot/dts/qcom/msm8994.dtsi                      |  2 +-
>  arch/arm64/boot/dts/qcom/qcm2290.dtsi                      |  1 +
>  arch/arm64/boot/dts/qcom/qcs404.dtsi                       |  2 +-
>  arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi               |  8 --------
>  arch/arm64/boot/dts/qcom/qdu1000-idp.dts                   | 14 --------------
>  arch/arm64/boot/dts/qcom/qdu1000.dtsi                      | 14 ++++++++++++++
>  arch/arm64/boot/dts/qcom/qrb2210-rb1.dts                   |  4 ----
>  arch/arm64/boot/dts/qcom/qrb4210-rb2.dts                   |  8 --------
>  arch/arm64/boot/dts/qcom/qru1000-idp.dts                   | 14 --------------
>  arch/arm64/boot/dts/qcom/sa8295p-adp.dts                   |  4 ----
>  arch/arm64/boot/dts/qcom/sa8540p-ride.dts                  |  4 ----
>  arch/arm64/boot/dts/qcom/sar2130p.dtsi                     |  2 +-
>  arch/arm64/boot/dts/qcom/sc7280.dtsi                       |  2 +-
>  arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts        |  4 ----
>  arch/arm64/boot/dts/qcom/sc8180x-primus.dts                |  4 ----
>  arch/arm64/boot/dts/qcom/sc8280xp-crd.dts                  |  4 ----
>  arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts |  4 ----
>  arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts     |  4 ----
>  arch/arm64/boot/dts/qcom/sc8280xp.dtsi                     |  1 +
>  arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts           | 14 --------------
>  arch/arm64/boot/dts/qcom/sdm670.dtsi                       | 14 ++++++++++++++
>  arch/arm64/boot/dts/qcom/sdx75.dtsi                        |  2 +-
>  arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts        |  8 --------
>  arch/arm64/boot/dts/qcom/sm4450.dtsi                       |  2 +-
>  arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts            |  8 --------
>  arch/arm64/boot/dts/qcom/sm6115.dtsi                       |  2 ++
>  arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts          |  8 --------
>  arch/arm64/boot/dts/qcom/sm6125.dtsi                       |  2 +-
>  .../boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts     |  4 ----
>  arch/arm64/boot/dts/qcom/sm6375.dtsi                       |  3 ++-
>  arch/arm64/boot/dts/qcom/sm8250.dtsi                       |  2 +-
>  arch/arm64/boot/dts/qcom/sm8350.dtsi                       |  2 +-
>  arch/arm64/boot/dts/qcom/sm8450.dtsi                       |  2 +-
>  arch/arm64/boot/dts/qcom/sm8550-hdk.dts                    |  8 --------
>  arch/arm64/boot/dts/qcom/sm8550-mtp.dts                    |  8 --------
>  arch/arm64/boot/dts/qcom/sm8550-qrd.dts                    |  8 --------
>  arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts            |  8 --------
>  .../arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts |  8 --------
>  arch/arm64/boot/dts/qcom/sm8550.dtsi                       |  2 ++
>  arch/arm64/boot/dts/qcom/sm8650-hdk.dts                    |  8 --------
>  arch/arm64/boot/dts/qcom/sm8650-mtp.dts                    |  8 --------
>  arch/arm64/boot/dts/qcom/sm8650-qrd.dts                    |  8 --------
>  arch/arm64/boot/dts/qcom/sm8650.dtsi                       |  2 ++
>  arch/arm64/boot/dts/qcom/x1e80100.dtsi                     |  2 +-
>  55 files changed, 59 insertions(+), 237 deletions(-)

It looks like MSM8956/MSM8976 is missing from this list, which most recently
had the its frequency moved out to the loire board in 4a2c9b9e1215 ("arm64: dts:
qcom: msm8976: Add and provide xo clk to rpmcc").

Searching for the `^&sleep_clk` and `^&xo_board` patterns shows
`sa8775p-ride.dtsi` is still overriding these clocks as well, noting that the
label is named `xo_board_clk` on sa8775p and a few platforms but `xo_board` on
everything else...

- Marijn

> ---
> base-commit: cfba9f07a1d6aeca38f47f1f472cfb0ba133d341
> change-id: 20241115-fix-board-clocks-e3afe520627c
> 
> Best regards,
> -- 
> Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> 

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency
  2024-11-30  1:44 ` [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency Dmitry Baryshkov
@ 2024-11-30 10:21   ` Stephan Gerhold
  2024-11-30 10:42     ` Dmitry Baryshkov
  0 siblings, 1 reply; 52+ messages in thread
From: Stephan Gerhold @ 2024-11-30 10:21 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Stephan Gerhold

On Sat, Nov 30, 2024 at 03:44:13AM +0200, Dmitry Baryshkov wrote:
>The MSM8916 platform uses PM8916 to provide sleep clock. According to the
>documentation, that clock has 32.7645 kHz frequency. Correct the sleep
>clock definition.
>
>Fixes: f4fb6aeafaaa ("arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators")
>Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Thanks for spotting this! This fix looks good independent of the more
controversial "arm64: dts: qcom: move board clocks to SoC DTSI files"
changes. Maybe move these to a separate series?

>---
> arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
>index 5e558bcc9d87893486352e5e211f131d4a1f67e5..8f35c9af18782aa1da7089988692e6588c4b7c5d 100644
>--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
>+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
>@@ -125,7 +125,7 @@ xo_board: xo-board {
> 		sleep_clk: sleep-clk {
> 			compatible = "fixed-clock";
> 			#clock-cells = <0>;
>-			clock-frequency = <32768>;
>+			clock-frequency = <32764>;

To be precise the PM8916 specification says the sleep clock is "The 19.2
MHz XO divided by 586". Maybe we can actually describe it that way with
a fixed-factor-clock?

		sleep_clk: sleep-clk {
			compatible = "fixed-factor-clock";
			clocks = <&xo_board>;
			#clock-cells = <0>;
			clock-div = <586>;
			clock-mult = <1>;
		};

If we keep the fixed-clock with the hardcoded frequency I wonder if we
should put 32765 instead of 32764. If you calculate it exactly it's
slightly closer to 32765 than 32764. :-)

	19200000/586 = 32764.505119453926 = ~32765

Thanks,
Stephan

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
  2024-11-30 10:00       ` Krzysztof Kozlowski
@ 2024-11-30 10:26         ` Dmitry Baryshkov
  2024-11-30 10:43           ` Krzysztof Kozlowski
  0 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30 10:26 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Leo Yan, Joseph Gates,
	Georgi Djakov, Shawn Guo, Stephan Gerhold, Zac Crosby,
	Bastian Köcher, Andy Gross, Jeremy McNicoll, Rohit Agarwal,
	Melody Olvera, Bhupesh Sharma, cros-qcom-dts-watchers,
	Stephen Boyd, Rajendra Nayak, Martin Botka, Jonathan Marek,
	Vinod Koul, Tengfei Fan, Fenglin Wu, Neil Armstrong, Abel Vesa,
	Alexandru Marc Serdeliuc, Vladimir Zapolskiy, Sibi Sankar,
	Bryan O'Donoghue, Jun Nie, James Willcox, Max Chen,
	Vincent Knecht, Benjamin Li, linux-arm-msm, devicetree,
	linux-kernel

On Sat, Nov 30, 2024 at 11:00:32AM +0100, Krzysztof Kozlowski wrote:
> On 30/11/2024 10:57, Dmitry Baryshkov wrote:
> > On Sat, Nov 30, 2024 at 10:29:38AM +0100, Krzysztof Kozlowski wrote:
> >> On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> >>> IPQ5018 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@kernel.org>
> >>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> >>
> >> This contradicts DTS coding style and all my existing review. Obviously
> >> that's a NAK from me. If you want to merge this patch, please kindly
> >> carry my formal objection for this and all following "move board clocks"
> >> patches:
> >>
> >> Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>
> > 
> > I'd kindly ask Bjorn to chime in as a platform maintainer.
> 
> 
> To change my NAK? NAK is still a NAK. We discussed it many, many times
> already. We have coding style for this explicitly mentioning this case.
> Could not be more specific... plus all my reviews for Qualcomm, NXP, TI,
> ST and other platforms. I would be quite unpredictable or unfair if I
> gave here some sort of exception while expecting different code from
> other platforms.
> 
> Please carry my NAK.

Of course. I didn't mean to drop your tag or your objection.

BTW, would it be possible for you to clarify the policy on external
references? I mean, is it fine for DTSI to reference a label which is
not defined within that file or within one of the files that it includes?

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency
  2024-11-30 10:21   ` Stephan Gerhold
@ 2024-11-30 10:42     ` Dmitry Baryshkov
  2024-11-30 10:59       ` Stephan Gerhold
  0 siblings, 1 reply; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30 10:42 UTC (permalink / raw)
  To: Stephan Gerhold
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo,
	Zac Crosby, Bastian Köcher, Andy Gross, Jeremy McNicoll,
	Rohit Agarwal, Melody Olvera, Bhupesh Sharma,
	cros-qcom-dts-watchers, Stephen Boyd, Rajendra Nayak,
	Martin Botka, Jonathan Marek, Vinod Koul, Tengfei Fan, Fenglin Wu,
	Neil Armstrong, Abel Vesa, Alexandru Marc Serdeliuc,
	Vladimir Zapolskiy, Sibi Sankar, Bryan O'Donoghue, Jun Nie,
	James Willcox, Max Chen, Vincent Knecht, Benjamin Li,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Stephan Gerhold

On Sat, Nov 30, 2024 at 11:21:56AM +0100, Stephan Gerhold wrote:
> On Sat, Nov 30, 2024 at 03:44:13AM +0200, Dmitry Baryshkov wrote:
> > The MSM8916 platform uses PM8916 to provide sleep clock. According to the
> > documentation, that clock has 32.7645 kHz frequency. Correct the sleep
> > clock definition.
> > 
> > Fixes: f4fb6aeafaaa ("arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators")
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> 
> Thanks for spotting this! This fix looks good independent of the more
> controversial "arm64: dts: qcom: move board clocks to SoC DTSI files"
> changes. Maybe move these to a separate series?
> 
> > ---
> > arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> > index 5e558bcc9d87893486352e5e211f131d4a1f67e5..8f35c9af18782aa1da7089988692e6588c4b7c5d 100644
> > --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> > @@ -125,7 +125,7 @@ xo_board: xo-board {
> > 		sleep_clk: sleep-clk {
> > 			compatible = "fixed-clock";
> > 			#clock-cells = <0>;
> > -			clock-frequency = <32768>;
> > +			clock-frequency = <32764>;
> 
> To be precise the PM8916 specification says the sleep clock is "The 19.2
> MHz XO divided by 586". Maybe we can actually describe it that way with
> a fixed-factor-clock?
> 
> 		sleep_clk: sleep-clk {
> 			compatible = "fixed-factor-clock";
> 			clocks = <&xo_board>;
> 			#clock-cells = <0>;
> 			clock-div = <586>;
> 			clock-mult = <1>;
> 		};

I thought about it, but then it's also not complete truth (at least for
some of PMICs, don't remember if that's the case for PM8916): there is
an external XO and also there is an on-PMIC RC, which is further
divided with PMIC actually selecting which source to use as a source for
sleep_clk.

> 
> If we keep the fixed-clock with the hardcoded frequency I wonder if we
> should put 32765 instead of 32764. If you calculate it exactly it's
> slightly closer to 32765 than 32764. :-)
> 
> 	19200000/586 = 32764.505119453926 = ~32765

Well, I think according to the most typical rounding rules it is 32764.

> 
> Thanks,
> Stephan

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
  2024-11-30 10:26         ` Dmitry Baryshkov
@ 2024-11-30 10:43           ` Krzysztof Kozlowski
  2024-11-30 11:08             ` Dmitry Baryshkov
  2024-11-30 13:14             ` Konrad Dybcio
  0 siblings, 2 replies; 52+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-30 10:43 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Leo Yan, Joseph Gates,
	Georgi Djakov, Shawn Guo, Stephan Gerhold, Zac Crosby,
	Bastian Köcher, Andy Gross, Jeremy McNicoll, Rohit Agarwal,
	Melody Olvera, Bhupesh Sharma, cros-qcom-dts-watchers,
	Stephen Boyd, Rajendra Nayak, Martin Botka, Jonathan Marek,
	Vinod Koul, Tengfei Fan, Fenglin Wu, Neil Armstrong, Abel Vesa,
	Alexandru Marc Serdeliuc, Vladimir Zapolskiy, Sibi Sankar,
	Bryan O'Donoghue, Jun Nie, James Willcox, Max Chen,
	Vincent Knecht, Benjamin Li, linux-arm-msm, devicetree,
	linux-kernel

On 30/11/2024 11:26, Dmitry Baryshkov wrote:
> On Sat, Nov 30, 2024 at 11:00:32AM +0100, Krzysztof Kozlowski wrote:
>> On 30/11/2024 10:57, Dmitry Baryshkov wrote:
>>> On Sat, Nov 30, 2024 at 10:29:38AM +0100, Krzysztof Kozlowski wrote:
>>>> On 30/11/2024 02:44, Dmitry Baryshkov wrote:
>>>>> IPQ5018 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@kernel.org>
>>>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>>
>>>> This contradicts DTS coding style and all my existing review. Obviously
>>>> that's a NAK from me. If you want to merge this patch, please kindly
>>>> carry my formal objection for this and all following "move board clocks"
>>>> patches:
>>>>
>>>> Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>
>>>
>>> I'd kindly ask Bjorn to chime in as a platform maintainer.
>>
>>
>> To change my NAK? NAK is still a NAK. We discussed it many, many times
>> already. We have coding style for this explicitly mentioning this case.
>> Could not be more specific... plus all my reviews for Qualcomm, NXP, TI,
>> ST and other platforms. I would be quite unpredictable or unfair if I
>> gave here some sort of exception while expecting different code from
>> other platforms.
>>
>> Please carry my NAK.
> 
> Of course. I didn't mean to drop your tag or your objection.
> 
> BTW, would it be possible for you to clarify the policy on external
> references? I mean, is it fine for DTSI to reference a label which is
> not defined within that file or within one of the files that it includes?


It is fine, you have plenty of such examples of shared components like
some audio blocks or PMICs.

All Qualcomm PMICs DTSI (e.g. arch/arm64/boot/dts/qcom/pmi632.dtsi )
reference them. Chromebooks are even "worse" here:
arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi
Nothing gets included there but hundred of phandles!

Are you planning to "fix" these as well?

These are just Qualcomm, but same cases are everywhere else.

But *that's not even important* because I do not suggest to move clocks
to DTSI. I suggest - and was almost always suggesting as best compromise
- to follow DTS coding style by doing opposite of what this patch is
doing. That's why I NAKed this and following patches, except last two
which are different.


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency
  2024-11-30 10:42     ` Dmitry Baryshkov
@ 2024-11-30 10:59       ` Stephan Gerhold
  0 siblings, 0 replies; 52+ messages in thread
From: Stephan Gerhold @ 2024-11-30 10:59 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Leo Yan, Joseph Gates, Georgi Djakov, Shawn Guo,
	Zac Crosby, Bastian Köcher, Jeremy McNicoll, Rohit Agarwal,
	Melody Olvera, cros-qcom-dts-watchers, Stephen Boyd,
	Rajendra Nayak, Martin Botka, Jonathan Marek, Vinod Koul,
	Tengfei Fan, Fenglin Wu, Neil Armstrong, Abel Vesa,
	Alexandru Marc Serdeliuc, Vladimir Zapolskiy, Sibi Sankar,
	Bryan O'Donoghue, Jun Nie, Vincent Knecht,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
	Stephan Gerhold

On Sat, Nov 30, 2024 at 12:42:24PM +0200, Dmitry Baryshkov wrote:
>On Sat, Nov 30, 2024 at 11:21:56AM +0100, Stephan Gerhold wrote:
>> On Sat, Nov 30, 2024 at 03:44:13AM +0200, Dmitry Baryshkov wrote:
>> > The MSM8916 platform uses PM8916 to provide sleep clock. According to the
>> > documentation, that clock has 32.7645 kHz frequency. Correct the sleep
>> > clock definition.
>> >
>> > Fixes: f4fb6aeafaaa ("arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators")
>> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>
>> Thanks for spotting this! This fix looks good independent of the more
>> controversial "arm64: dts: qcom: move board clocks to SoC DTSI files"
>> changes. Maybe move these to a separate series?
>>
>> > ---
>> > arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
>> > 1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
>> > index 5e558bcc9d87893486352e5e211f131d4a1f67e5..8f35c9af18782aa1da7089988692e6588c4b7c5d 100644
>> > --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
>> > +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
>> > @@ -125,7 +125,7 @@ xo_board: xo-board {
>> > 		sleep_clk: sleep-clk {
>> > 			compatible = "fixed-clock";
>> > 			#clock-cells = <0>;
>> > -			clock-frequency = <32768>;
>> > +			clock-frequency = <32764>;
>>
>> To be precise the PM8916 specification says the sleep clock is "The 19.2
>> MHz XO divided by 586". Maybe we can actually describe it that way with
>> a fixed-factor-clock?
>>
>> 		sleep_clk: sleep-clk {
>> 			compatible = "fixed-factor-clock";
>> 			clocks = <&xo_board>;
>> 			#clock-cells = <0>;
>> 			clock-div = <586>;
>> 			clock-mult = <1>;
>> 		};
>
>I thought about it, but then it's also not complete truth (at least for
>some of PMICs, don't remember if that's the case for PM8916): there is
>an external XO and also there is an on-PMIC RC, which is further
>divided with PMIC actually selecting which source to use as a source for
>sleep_clk.
>

This exists on PM8916 as well, but I'm not sure it's worth taking it
into consideration here. The PM8916 specification says XO "is the source
of sleep clock when the device is in active and sleep mode". The RC is
used "during PMIC power-up" and "in active or sleep mode only if other
sources are unavailable".

>>
>> If we keep the fixed-clock with the hardcoded frequency I wonder if we
>> should put 32765 instead of 32764. If you calculate it exactly it's
>> slightly closer to 32765 than 32764. :-)
>>
>> 	19200000/586 = 32764.505119453926 = ~32765
>
>Well, I think according to the most typical rounding rules it is 32764.

I think typically you round up on .5? But it's not even exactly half-way
at .500 - given that it's .505, I think any rounding function other than
floor() should round that up to 32765. :-)

Thanks,
Stephan

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
  2024-11-30 10:43           ` Krzysztof Kozlowski
@ 2024-11-30 11:08             ` Dmitry Baryshkov
  2024-11-30 13:14             ` Konrad Dybcio
  1 sibling, 0 replies; 52+ messages in thread
From: Dmitry Baryshkov @ 2024-11-30 11:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Leo Yan, Joseph Gates,
	Georgi Djakov, Shawn Guo, Stephan Gerhold, Zac Crosby,
	Bastian Köcher, Andy Gross, Jeremy McNicoll, Rohit Agarwal,
	Melody Olvera, Bhupesh Sharma, cros-qcom-dts-watchers,
	Stephen Boyd, Rajendra Nayak, Martin Botka, Jonathan Marek,
	Vinod Koul, Tengfei Fan, Fenglin Wu, Neil Armstrong, Abel Vesa,
	Alexandru Marc Serdeliuc, Vladimir Zapolskiy, Sibi Sankar,
	Bryan O'Donoghue, Jun Nie, James Willcox, Max Chen,
	Vincent Knecht, Benjamin Li, linux-arm-msm, devicetree,
	linux-kernel

On Sat, Nov 30, 2024 at 11:43:34AM +0100, Krzysztof Kozlowski wrote:
> On 30/11/2024 11:26, Dmitry Baryshkov wrote:
> > On Sat, Nov 30, 2024 at 11:00:32AM +0100, Krzysztof Kozlowski wrote:
> >> On 30/11/2024 10:57, Dmitry Baryshkov wrote:
> >>> On Sat, Nov 30, 2024 at 10:29:38AM +0100, Krzysztof Kozlowski wrote:
> >>>> On 30/11/2024 02:44, Dmitry Baryshkov wrote:
> >>>>> IPQ5018 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@kernel.org>
> >>>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> >>>>
> >>>> This contradicts DTS coding style and all my existing review. Obviously
> >>>> that's a NAK from me. If you want to merge this patch, please kindly
> >>>> carry my formal objection for this and all following "move board clocks"
> >>>> patches:
> >>>>
> >>>> Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>
> >>>
> >>> I'd kindly ask Bjorn to chime in as a platform maintainer.
> >>
> >>
> >> To change my NAK? NAK is still a NAK. We discussed it many, many times
> >> already. We have coding style for this explicitly mentioning this case.
> >> Could not be more specific... plus all my reviews for Qualcomm, NXP, TI,
> >> ST and other platforms. I would be quite unpredictable or unfair if I
> >> gave here some sort of exception while expecting different code from
> >> other platforms.
> >>
> >> Please carry my NAK.
> > 
> > Of course. I didn't mean to drop your tag or your objection.
> > 
> > BTW, would it be possible for you to clarify the policy on external
> > references? I mean, is it fine for DTSI to reference a label which is
> > not defined within that file or within one of the files that it includes?
> 
> 
> It is fine, you have plenty of such examples of shared components like
> some audio blocks or PMICs.
> 
> All Qualcomm PMICs DTSI (e.g. arch/arm64/boot/dts/qcom/pmi632.dtsi )
> reference them. Chromebooks are even "worse" here:
> arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi
> Nothing gets included there but hundred of phandles!
> 
> Are you planning to "fix" these as well?

No.

> 
> These are just Qualcomm, but same cases are everywhere else.
> 
> But *that's not even important* because I do not suggest to move clocks
> to DTSI. I suggest - and was almost always suggesting as best compromise
> - to follow DTS coding style by doing opposite of what this patch is
> doing. That's why I NAKed this and following patches, except last two
> which are different.

If you remmember my first attempt was implemented other way around. But
I think it still better to have both frequencies in the SoC dtsi, it
points out that it is tightly coupled with the RPM CC (and can not be
easily changed), it saves us from 32 kHz / 32.768 kHz / 32.764 kHz
typos, etc.

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 52+ messages in thread

* Re: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file
  2024-11-30 10:43           ` Krzysztof Kozlowski
  2024-11-30 11:08             ` Dmitry Baryshkov
@ 2024-11-30 13:14             ` Konrad Dybcio
  1 sibling, 0 replies; 52+ messages in thread
From: Konrad Dybcio @ 2024-11-30 13:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Dmitry Baryshkov
  Cc: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Leo Yan, Joseph Gates,
	Georgi Djakov, Shawn Guo, Stephan Gerhold, Zac Crosby,
	Bastian Köcher, Andy Gross, Jeremy McNicoll, Rohit Agarwal,
	Melody Olvera, Bhupesh Sharma, cros-qcom-dts-watchers,
	Stephen Boyd, Rajendra Nayak, Martin Botka, Jonathan Marek,
	Vinod Koul, Tengfei Fan, Fenglin Wu, Neil Armstrong, Abel Vesa,
	Alexandru Marc Serdeliuc, Vladimir Zapolskiy, Sibi Sankar,
	Bryan O'Donoghue, Jun Nie, James Willcox, Max Chen,
	Vincent Knecht, Benjamin Li, linux-arm-msm, devicetree,
	linux-kernel

On 30.11.2024 11:43 AM, Krzysztof Kozlowski wrote:
> On 30/11/2024 11:26, Dmitry Baryshkov wrote:
>> On Sat, Nov 30, 2024 at 11:00:32AM +0100, Krzysztof Kozlowski wrote:
>>> On 30/11/2024 10:57, Dmitry Baryshkov wrote:
>>>> On Sat, Nov 30, 2024 at 10:29:38AM +0100, Krzysztof Kozlowski wrote:
>>>>> On 30/11/2024 02:44, Dmitry Baryshkov wrote:
>>>>>> IPQ5018 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@kernel.org>
>>>>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>>>
>>>>> This contradicts DTS coding style and all my existing review. Obviously
>>>>> that's a NAK from me. If you want to merge this patch, please kindly
>>>>> carry my formal objection for this and all following "move board clocks"
>>>>> patches:
>>>>>
>>>>> Nacked-by: Krzysztof Kozlowski <krzk@kernel.org>
>>>>
>>>> I'd kindly ask Bjorn to chime in as a platform maintainer.
>>>
>>>
>>> To change my NAK? NAK is still a NAK. We discussed it many, many times
>>> already. We have coding style for this explicitly mentioning this case.
>>> Could not be more specific... plus all my reviews for Qualcomm, NXP, TI,
>>> ST and other platforms. I would be quite unpredictable or unfair if I
>>> gave here some sort of exception while expecting different code from
>>> other platforms.
>>>
>>> Please carry my NAK.
>>
>> Of course. I didn't mean to drop your tag or your objection.
>>
>> BTW, would it be possible for you to clarify the policy on external
>> references? I mean, is it fine for DTSI to reference a label which is
>> not defined within that file or within one of the files that it includes?
> 
> 
> It is fine, you have plenty of such examples of shared components like
> some audio blocks or PMICs.
> 
> All Qualcomm PMICs DTSI (e.g. arch/arm64/boot/dts/qcom/pmi632.dtsi )
> reference them. Chromebooks are even "worse" here:
> arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi
> Nothing gets included there but hundred of phandles!
> 
> Are you planning to "fix" these as well?
> 
> These are just Qualcomm, but same cases are everywhere else.
> 
> But *that's not even important* because I do not suggest to move clocks
> to DTSI. I suggest - and was almost always suggesting as best compromise
> - to follow DTS coding style by doing opposite of what this patch is
> doing. That's why I NAKed this and following patches, except last two
> which are different.

Many of these components are simply not "fully on board" or "fully on SoC"
on Qualcomm platforms, and probably others too.
A number of components are tightly coupled and there are lots of circular
dependencies, or in-between cases (like RPM(h)cc which abstract clocks
specific to a SoC+PMIC combo).
Some are effectively represented multiple times.

There's also a lot of internal routing which can't be well-represented
in DT without adding thousands of lines that Linux would register as
virtual clocks that do absolutely nothing. There's also clocks that
are not even visible from software POV that are physically connected.

And as the final point, any given platform requires a fixed frequency
crystal is present and will (to my understanding) not function otherwise.

Hence, I think this is really form over function that gets in the way..

Konrad

^ permalink raw reply	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2024-11-30 13:14 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-30  1:44 [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency Dmitry Baryshkov
2024-11-30 10:21   ` Stephan Gerhold
2024-11-30 10:42     ` Dmitry Baryshkov
2024-11-30 10:59       ` Stephan Gerhold
2024-11-30  1:44 ` [PATCH v2 02/31] arm64: dts: qcom: msm8939: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 03/31] arm64: dts: qcom: msm8994: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 04/31] arm64: dts: qcom: qcs404: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 05/31] arm64: dts: qcom: q[dr]u1000: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 06/31] arm64: dts: qcom: qrb4210-rb2: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 07/31] arm64: dts: qcom: sar2130p: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 08/31] arm64: dts: qcom: sc7280: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 09/31] arm64: dts: qcom: sdx75: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 10/31] arm64: dts: qcom: sm4450: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 11/31] arm64: dts: qcom: sm6125: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 12/31] arm64: dts: qcom: sm6375: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 13/31] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 14/31] arm64: dts: qcom: sm8350: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 15/31] arm64: dts: qcom: sm8450: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 16/31] arm64: dts: qcom: sm8550: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 17/31] arm64: dts: qcom: sm8650: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 18/31] arm64: dts: qcom: x1e80100: " Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 19/31] arm64: dts: qcom: sc8180x: drop extra XO clock frequencies Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file Dmitry Baryshkov
2024-11-30  9:29   ` Krzysztof Kozlowski
2024-11-30  9:57     ` Dmitry Baryshkov
2024-11-30 10:00       ` Krzysztof Kozlowski
2024-11-30 10:26         ` Dmitry Baryshkov
2024-11-30 10:43           ` Krzysztof Kozlowski
2024-11-30 11:08             ` Dmitry Baryshkov
2024-11-30 13:14             ` Konrad Dybcio
2024-11-30  1:44 ` [PATCH v2 21/31] arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file Dmitry Baryshkov
2024-11-30  9:29   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file Dmitry Baryshkov
2024-11-30  9:30   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 23/31] arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file Dmitry Baryshkov
2024-11-30  9:30   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 24/31] arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file Dmitry Baryshkov
2024-11-30  9:30   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 25/31] arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file Dmitry Baryshkov
2024-11-30  9:30   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 26/31] arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file Dmitry Baryshkov
2024-11-30  9:30   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 27/31] arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file Dmitry Baryshkov
2024-11-30  9:31   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 28/31] arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file Dmitry Baryshkov
2024-11-30  9:31   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 29/31] arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file Dmitry Baryshkov
2024-11-30  9:31   ` Krzysztof Kozlowski
2024-11-30  1:44 ` [PATCH v2 30/31] arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file Dmitry Baryshkov
2024-11-30  1:44 ` [PATCH v2 31/31] arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file Dmitry Baryshkov
2024-11-30 10:18 ` [PATCH v2 00/31] arm64: dts: qcom: move board clocks to SoC DTSI files Marijn Suijten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).