Skip to content

Commit

Permalink
arm64: dts: qcom: sm6125: Switch fixed xo_board clock to RPM XO clock
Browse files Browse the repository at this point in the history
We have a working RPM XO clock; no other driver except rpmcc should be
parenting directly to the fixed-factor xo_board clock nor should it be
reachable by that global name.  Remove the name to that effect, so that
every clock relation is explicitly defined in DTS.

Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Marijn Suijten <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
  • Loading branch information
MarijnS95 authored and andersson committed Sep 19, 2023
1 parent 3d06cee commit cbe82d7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/arm64/boot/dts/qcom/sm6125.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <19200000>;
clock-output-names = "xo_board";
};

sleep_clk: sleep-clk {
Expand Down Expand Up @@ -198,6 +197,8 @@
rpmcc: clock-controller {
compatible = "qcom,rpmcc-sm6125", "qcom,rpmcc";
#clock-cells = <1>;
clocks = <&xo_board>;
clock-names = "xo";
};

rpmpd: power-controller {
Expand Down Expand Up @@ -717,7 +718,7 @@

clocks = <&gcc GCC_SDCC1_AHB_CLK>,
<&gcc GCC_SDCC1_APPS_CLK>,
<&xo_board>;
<&rpmcc RPM_SMD_XO_CLK_SRC>;
clock-names = "iface", "core", "xo";
iommus = <&apps_smmu 0x160 0x0>;

Expand All @@ -744,7 +745,7 @@

clocks = <&gcc GCC_SDCC2_AHB_CLK>,
<&gcc GCC_SDCC2_APPS_CLK>,
<&xo_board>;
<&rpmcc RPM_SMD_XO_CLK_SRC>;
clock-names = "iface", "core", "xo";
iommus = <&apps_smmu 0x180 0x0>;

Expand Down

0 comments on commit cbe82d7

Please sign in to comment.