[PATCH v2 0/3] phy: qcom: Describe the AHB2PHY bridge clock on Nord
From: Bartosz Golaszewski
Date: Thu Nov 12 2026 - 10:49:53 EST
On Nord, the register space of all the USB PHYs (the two USB3-DP QMP
PHYs and the three eUSB2 PHYs) sits behind the AHB2PHY_0 bridge, which
is gated by NE_GCC_AHB2PHY_CLK. None of the PHYs currently describe or
enable that clock, so clk_disable_unused() gates it before the PHYs are
initialized. The PHY init sequences then never reach the hardware and
the controllers fail to come up:
dwc3-qcom a600000.usb: DWC3 controller soft reset failed.
dwc3-qcom a600000.usb: error -ETIMEDOUT: failed to initialize core
xhci-hcd xhci-hcd.2.auto: can't setup: -110
As a result, USB on Nord only works when booting with clk_ignore_unused.
An earlier attempt marked the clock always-on in the NE GCC driver. This
series instead makes the PHYs consumers of the bridge clock, so it is
only kept enabled while a PHY is in use:
- Patch 1 adds a fifth "cfg_ahb" clock to the Nord QMP USB3-DP PHY
binding. No driver change is required.
- Patches 2 and 3 add a "bus" clock to the Nord eUSB2 PHY binding, and
Nord-specific match data in the snps-eusb2 driver that enables it
alongside the "ref" clock.
This should go into v7.4.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Drop the qcom,sm8550-snps-eusb2-phy fallback from patch 2/3
- Make constraints on the number of clocks stricter in patch 1/3
- Tweak commit messages
- Add Fixes tags to DT binding patches as they actually fix existing
issues
- Link to v1: https://lore.kernel.org/all/20261008015017.3359804-1-shengchao.guo@xxxxxxxxxxxxxxxx/
---
Shawn Guo (3):
dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add the cfg_ahb clock for Nord
dt-bindings: phy: qcom,snps-eusb2-phy: Add Nord bus clock
phy: phy-snps-eusb2: Enable AHB2PHY bus clock on Nord
.../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 3 +++
.../bindings/phy/qcom,snps-eusb2-phy.yaml | 24 +++++++++++++++++++++-
drivers/phy/phy-snps-eusb2.c | 13 ++++++++++++
3 files changed, 39 insertions(+), 1 deletion(-)
---
base-commit: aaa2f954c21b205a0bcd0961e5b2be4e82e58455
change-id: 20261112-qcom-nord-ahb2phy-clk-2d21a9dcfcc2
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>