Re: [PATCH v2] usb: dwc3: qcom: Add support to skip phy management by USB core

From: Greg Kroah-Hartman

Date: Thu Dec 03 2026 - 22:30:16 EST


On Thu, Nov 26, 2026 at 10:05:56PM +0530, Krishna Kurapati wrote:
> DWC3 driver does manage phys itself sufficiently for Qualcomm platforms.
> If xhci-skip-phy-init is not set, the HCD core does a phy_init and phy_
> exit is done only when roothub is being destroyed. Due to this, during
> system suspend in host mode, although phy_exit is done by DWC3 core, the
> init_count on phy is never down to zero since HCD core also did an init.
> consequently causing phy's exit routine to not be called. Hence, add
> support to skip phy management by USB core.
>
> Some Exynos platforms still do rely on USB core for phy_calibrate calls,
> hence disable USB core management for Qualcomm platforms only.
>
> Signed-off-by: Krishna Kurapati <krishna.kurapati@xxxxxxxxxxxxxxxx>
> ---
> Initially, a patch was sent adding software_node properties [1]. But it
> was causing a bootup issue as mentioned in [2]. Hence a revert was sent
> to fix it [3]. This patch uses a different approach as opposed to adding
> sofware node properties and was tested on sm8750 mtp.
>
> Changes in v2:
> - Rebased on top of Thinh's latest patch series [4]
> - Removed Thinh's ACK since code changes are different in this version

Doesn't apply to my tree as Thinh's series did not apply either :(