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. Tested on Google Pixel 3 (blueline). --- Changes in v2: - I cannot find v1 on any mailing list where it was sent to, so resending, adding Casey R-b. - Link to v1: https://patch.msgid.link/[email protected] --- 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]>
