arm64: dts: qcom: sm8450: enable GCC_USB3_0_CLKREF_EN for usb
authorJonathan Marek <jonathan@marek.ca>
Sat, 22 Jan 2022 16:29:31 +0000 (11:29 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 Jan 2022 23:44:43 +0000 (17:44 -0600)
USB doesn't work at all without this clock enabled. This fixes USB when not
using clk_ignore_unused.

Fixes: 19fd04fb9247 ("arm64: dts: qcom: sm8450: Add usb nodes")
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220122162932.7686-1-jonathan@marek.ca
arch/arm64/boot/dts/qcom/sm8450.dtsi

index 10c25ad2d0c7422999c7acf8ba92dbbcd4f04721..f68475fb7a323d31838381e6f171c5310c1a8262 100644 (file)
                                 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
                                 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
                                 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
-                                <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
+                                <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
+                                <&gcc GCC_USB3_0_CLKREF_EN>;
                        clock-names = "cfg_noc", "core", "iface", "mock_utmi",
-                                     "sleep";
+                                     "sleep", "xo";
 
                        assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
                                          <&gcc GCC_USB30_PRIM_MASTER_CLK>;