On 7/21/26 10:28, William Bright wrote:
GCC_CFG_NOC_USB3_PRIM_AXI_CLK is missing and is required for usb_1. The
missing clock entry was ported from the upstream Linux sm8550 clock
driver.
Link:
https://github.com/torvalds/linux/blob/b95f03f04d475aa6719d15a636ddf32222d55657/drivers/clk/qcom/gcc-sm8550.c#L1346
Signed-off-by: William Bright <[email protected]>
---
The following warning logs were being printed when starting fastboot on
the sm8550-hdk:
fastboot 0
gcc@0x100000: unknown clock ID 11!
gcc@0x100000: unknown clock ID 11!
No USB device found
USB init failed: -19
I found that there was a missing clock entry for
GCC_CFG_NOC_USB3_PRIM_AXI_CLK which I have ported from upstream linux.
---
drivers/clk/qcom/clock-sm8550.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/clock-sm8550.c b/drivers/clk/qcom/clock-sm8550.c
index 7c06489b9c4..3d5a410ba33 100644
--- a/drivers/clk/qcom/clock-sm8550.c
+++ b/drivers/clk/qcom/clock-sm8550.c
@@ -122,6 +122,7 @@ static const struct gate_clk sm8550_clks[] = {
GATE_CLK(GCC_AGGRE_UFS_PHY_AXI_CLK, 0x770e4, BIT(0)),
GATE_CLK(GCC_AGGRE_UFS_PHY_AXI_HW_CTL_CLK, 0x770e4, BIT(1)),
GATE_CLK(GCC_AGGRE_USB3_PRIM_AXI_CLK, 0x3908c, BIT(0)),
+ GATE_CLK(GCC_CFG_NOC_USB3_PRIM_AXI_CLK, 0x39088, BIT(0)),
GATE_CLK(GCC_CNOC_PCIE_SF_AXI_CLK, 0x52008, BIT(6)),
GATE_CLK(GCC_DDRSS_GPU_AXI_CLK, 0x71154, BIT(0)),
GATE_CLK(GCC_DDRSS_PCIE_SF_QTB_CLK, 0x52000, BIT(19)),
---
base-commit: 8a905a58e3b4832c4cd7dc0e8a596a6d7ce19562
change-id: 20260720-sm8550-fastboot-clk-86ef12e532de
Best regards,
--
William Bright <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Thanks,
Neil