]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: qcom: gcc-x1e80100: Keep GCC USB QTB clock always ON
authorJagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>
Fri, 27 Mar 2026 15:06:46 +0000 (20:36 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sun, 5 Apr 2026 19:35:15 +0000 (14:35 -0500)
commit05566ebcc0cd170bd4f50c907ee3ed8e106251e3
treecae48637aecba0886fd7ef88ed24634cd305a871
parent87df31ea43eef5f6b9e7be0fa2555e58a9455e05
clk: qcom: gcc-x1e80100: Keep GCC USB QTB clock always ON

In Hamoa, SMMU invalidation requires the GCC_AGGRE_USB_NOC_AXI_CLK
to be on for the USB QTB to be functional. This is currently
explicitly enabled by the DWC3 glue driver, so an invalidation
happening while the USB controller is suspended will fault.

Solve this by voting for the GCC MMU USB QTB clock.

Fixes: 161b7c401f4b ("clk: qcom: Add Global Clock controller (GCC) driver for X1E80100")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260327-hamoa-usb-qtb-clk-always-on-v2-1-7d8a406e650f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-x1e80100.c