Hi David,

On 30/08/2026 00:23, David Heidelberg via B4 Relay wrote:
> USB gadget mode nor serial console does not work on some sdm845 boards:
> 
>   dwc3-generic-peripheral usb@a600000: failed to enable ep0out
> 
> with exception of the first boot.
> 
> This series implements "qcom,sdm845-qmp-usb3-dp-phy", so the USB3/DP combo
> PHY is never bound, GCC_USB3_PRIM_PHY_PIPE_CLK has no source and stays off,
> and the DWC3 endpoint command times out. It can be masked by an earlier
> boot stage having left the PHY initialised, which is why this only shows
> up on some boots.
> 
> Add SDM845 to the combo PHY driver, plus the two things needed to make
> it usable: PM8998 regulators, without which the PHY cannot get its
> supplies, and the defconfig symbol, without which the driver is left out
> of the build entirely.

Thanks! Hopefully this will solve a lot of the unreliable USB issues on
SDM845.

Reviewed-by: Casey Connolly <[email protected]>

> 
> Tested on Google Pixel 3 (blueline).
> 
> ---
> David Heidelberg (4):
>       phy: qcom: qmp-combo: select PCS register offsets per version
>       phy: qcom: qmp-combo: add SDM845 support
>       power: regulator: qcom-rpmh: add PM8998 support
>       configs: qcom: enable QMP USB3-DP combo PHY
> 
>  configs/qcom_defconfig                        |   1 +
>  drivers/phy/qcom/phy-qcom-qmp-combo.c         | 168 
> ++++++++++++++++++++++++--
>  drivers/power/regulator/qcom-rpmh-regulator.c | 137 +++++++++++++++++++++
>  3 files changed, 299 insertions(+), 7 deletions(-)
> ---
> base-commit: ece349ade2973e220f524ce59e59711cc919263f
> change-id: 20260830-b4-sdm845-usb-gadget-c43be8cd094d
> 
> Best regards,
> --  
> David Heidelberg <[email protected]>
> 
> 

-- 
// Casey (she/her)

Reply via email to