mirror of
https://github.com/torvalds/linux.git
synced 2026-10-14 20:04:03 +02:00
arm64: dts: qcom: ipq5332: Represent xo_board as fixed-factor clock
The xo_board clock is derived from the 48 MHz WiFi output clock (divided by 2), and not a standalone fixed frequency source. The previous implementation incorrectly modelled it as a fixed-clock with fixed frequency, which doesn't reflect the actual hardware clock tree. Update for fixed-factor-clock compatibility, and properly reference the source clock. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Luo Jie <jie.luo@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260106-qcom_ipq5332_cmnpll-v2-5-f9f7e4efbd79@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
eba1bea112
commit
985650336d
|
|
@ -70,8 +70,13 @@ &sleep_clk {
|
|||
clock-frequency = <32000>;
|
||||
};
|
||||
|
||||
/*
|
||||
* The frequency of xo_board is fixed to 24 MHZ, which is routed
|
||||
* from WiFi output clock 48 MHZ divided by 2.
|
||||
*/
|
||||
&xo_board {
|
||||
clock-frequency = <24000000>;
|
||||
clock-div = <2>;
|
||||
clock-mult = <1>;
|
||||
};
|
||||
|
||||
&xo_clk {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ sleep_clk: sleep-clk {
|
|||
};
|
||||
|
||||
xo_board: xo-board-clk {
|
||||
compatible = "fixed-clock";
|
||||
compatible = "fixed-factor-clock";
|
||||
clocks = <&ref_48mhz_clk>;
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user