]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 24 Dec 2024 10:17:19 +0000 (12:17 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 27 Dec 2024 03:51:11 +0000 (21:51 -0600)
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>
Link: https://lore.kernel.org/r/20241224-fix-board-clocks-v3-20-e9b08fbeadd3@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts
arch/arm64/boot/dts/qcom/sdm670.dtsi

index 6b14750511c1d8335ff2669000b5f2bdf659ba7d..74b5d9c68eb63547ce76662ca63174bb9e8ea469 100644 (file)
                };
        };
 
-       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;
index 0b2d5c0b976defcd086ac8959b4d353987c14105..d8e4cb533bc65265cd6ead2eb5da8b07d55a5d4a 100644 (file)
 
        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>;