]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
clk: qcom: qcs615: Add GCC_AHB2PHY_WEST_CLK clock support
authorBalaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Fri, 13 Feb 2026 09:01:19 +0000 (14:31 +0530)
committerCasey Connolly <casey.connolly@linaro.org>
Tue, 24 Mar 2026 10:34:58 +0000 (11:34 +0100)
Add GCC_AHB2PHY_WEST_CLK gate clock definition to the QCS615
clock driver. This clock is required for proper PHY operation
and eliminates clock-related warnings during USB initialization.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260213-talos_usb-v1-2-4c4355d61437@oss.qualcomm.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/clk/qcom/clock-qcs615.c

index 65b8db040203aaf2ecec4806fd3033a60930b94e..2087fc38f63d9cc32df4d55f3713ea5909368f68 100644 (file)
@@ -67,6 +67,7 @@ static const struct gate_clk qcs615_clks[] = {
        GATE_CLK(GCC_USB3_PRIM_PHY_COM_AUX_CLK, 0xf054, BIT(0)),
        GATE_CLK(GCC_USB3_PRIM_PHY_PIPE_CLK, 0xf058, BIT(0)),
        GATE_CLK(GCC_USB3_PRIM_CLKREF_CLK, 0x8c014, BIT(0)),
+       GATE_CLK(GCC_AHB2PHY_WEST_CLK, 0x6a004, BIT(0)),
        GATE_CLK(GCC_QUPV3_WRAP0_S0_CLK, 0x5200c, GCC_QUPV3_WRAP0_S0_CLK_ENA_BIT),
        GATE_CLK(GCC_QUPV3_WRAP0_S1_CLK, 0x5200c, GCC_QUPV3_WRAP0_S1_CLK_ENA_BIT),
        GATE_CLK(GCC_QUPV3_WRAP0_S2_CLK, 0x5200c, GCC_QUPV3_WRAP0_S2_CLK_ENA_BIT),