Support MSM8916 USB PHY + UDC in qcom_defconfig
Get series with b4
b4 am [email protected] change-id 20250412-msm8916-usb-a1dc93c01bd5Versions newest first
- v2 Latest3 patches 4 repliesIn review
- v13 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- Deduplicate CI UDC setup/teardown paths
- Formatting fix
- Regenerate qcom_defconfig with savedefconfig
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | usb: udc: ci: support USB gadget driver modeldrivers/ drivers/ | +97 | 1 reply | |
| 2/3 | usb: host: ehci-msm: Register ChipIdea UDC from glue wrapperdrivers/ | +7 | 1 reply | |
| 3/3 | qcom_defconfig: Enable MSM8916 USB PHY + ChipIdea UDCconfigs/ | +3 | 2 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Mattijs Korpershoek |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] Support MSM8916 USB PHY + UDC in qcom_defconfig
The MSM8916 SoC includes a ChipIdea UDC. The U-Boot driver for this UDC is quite old, and did not support USB gadget driver model. As a result, it could not be built alongside the DWC3 driver. This meant that qcom_defconfig could not include support for USB on MSM8916.
This series adds support to build ChipIdea UDC with DM_USB_GADGET and ensures that the newly introduced driver is registered from the MSM EHCI glue driver.
The ChipIdea UDC driver continues to work without DM_USB_GADGET. I tested these changes by building dragonboard410c_defconfig (which does not enable DM_USB_GADGET), booting it, and then chain-booting (via fastboot) another u-boot build built with qcom_defconfig. USB gadget mode worked in both builds.
---
Changes in v2 (thanks Stephan):
- Deduplicate CI UDC setup/teardown paths
- Formatting fix
- Regenerate qcom_defconfig with savedefconfig
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Sam Day (3):
usb: udc: ci: support USB gadget driver model
usb: host: ehci-msm: Register ChipIdea UDC from glue wrapper
qcom_defconfig: Enable MSM8916 USB PHY + ChipIdea UDC
configs/qcom_defconfig | 4 +- drivers/usb/gadget/Kconfig | 1 - drivers/usb/gadget/ci_udc.c | 118 ++++++++++++++++++++++++++++++++++++-------- drivers/usb/host/ehci-msm.c | 7 +++ 4 files changed, 107 insertions(+), 23 deletions(-)
---
base-commit: 987907ae4bcc5d6055bdf7d318a3edf53e14d5fa
change-id: 20250412-msm8916-usb-a1dc93c01bd5
Best regards,
Signature · 1 line
Sam Day <[email protected]>