arm64: dts: qcom: ipq6018: fix clock rates for GCC_USB0_MOCK_UTMI_CLK
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 18 Dec 2023 15:08:05 +0000 (23:08 +0800)
committerBjorn Andersson <andersson@kernel.org>
Tue, 19 Dec 2023 17:13:19 +0000 (11:13 -0600)
The downstream QSDK kernel [1] and GCC_USB1_MOCK_UTMI_CLK are both 24MHz.
Adjust GCC_USB0_MOCK_UTMI_CLK to 24MHz to avoid the following error:

clk: couldn't set gcc_usb0_mock_utmi_clk clk rate to 20000000 (-22), current rate: 24000000

1. https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4/-/commit/486c8485f59

Fixes: 5726079cd486 ("arm64: dts: ipq6018: Use reference clock to set dwc3 period")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://lore.kernel.org/r/20231218150805.1228160-1-amadeus@jmu.edu.cn
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq6018.dtsi

index ff25bcb38bc96da3691ceb36aacd41f63873d599..5e1277fea7250b4132039efb18f1cfaafdc5257e 100644 (file)
                                          <&gcc GCC_USB0_MOCK_UTMI_CLK>;
                        assigned-clock-rates = <133330000>,
                                               <133330000>,
-                                              <20000000>;
+                                              <24000000>;
 
                        resets = <&gcc GCC_USB0_BCR>;
                        status = "disabled";