public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Qualcomm DWC3 USB support
@ 2024-03-20 14:30 Caleb Connolly
  2024-03-20 14:30 ` [PATCH v4 1/5] usb: dwc3-generic: implement Qualcomm wrapper Caleb Connolly
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Caleb Connolly @ 2024-03-20 14:30 UTC (permalink / raw)
  To: Marek Vasut, Tom Rini, Lukasz Majewski, Mattijs Korpershoek,
	Caleb Connolly, Neil Armstrong, Sumit Garg
  Cc: u-boot

This series enables support for Qualcomm platforms in the DWC3 driver,
adds support for arbitrary sector sizes to the USB mass storage gadget,
and fixes an issue with the CDC ACM driver where it wouldn't initialise
the USB device.

Additionally, it fixes a syntax bug in the Qualcomm SMMU driver, and
makes USB_DWC3_GADGET select DM_USB_GADGET to fix compilation with
gadget mode.

This is part of a larger series enabling DWC3 USB support on Qualcomm
platforms, a feature branch with all patches can be found at [1].

[1]: https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/tree/b4/qcom-livetree

---
Changes in v4:
- Use map_physmem() instead of casting fdt_addr_t directly to void*
- Link to v3: https://lore.kernel.org/r/20240319-b4-qcom-usb-v3-0-09ba1f86d259@linaro.org

Changes in v3:
- Fix ordering of QSCRATCH registers in qcom dwc3 glue.
- Link to v2: https://lore.kernel.org/r/20240315-b4-qcom-usb-v2-0-5467ec27cb26@linaro.org

Changes in v2:
- Drop custom set/clrbits implementation in qcom dwc3 glue.
- Additional minor cleanup based on Marek's comments.
- Link to v1: https://lore.kernel.org/r/20240131-b4-qcom-usb-v1-0-6438b2a2285e@linaro.org

---
Caleb Connolly (5):
      usb: dwc3-generic: implement Qualcomm wrapper
      usb: dwc3: select DM_USB_GADGET
      usb: gadget: CDC ACM: call usb_gadget_initialize
      usb: gadget: UMS: support multiple sector sizes
      iommu: qcom-smmu: fix debugging

 cmd/usb_mass_storage.c              |   4 --
 drivers/iommu/qcom-hyp-smmu.c       |   2 +-
 drivers/usb/dwc3/Kconfig            |   1 +
 drivers/usb/dwc3/dwc3-generic.c     |  81 ++++++++++++++++++++++++++++-
 drivers/usb/gadget/f_acm.c          |   9 ++++
 drivers/usb/gadget/f_mass_storage.c | 101 ++++++++++++++++++++----------------
 drivers/usb/gadget/storage_common.c |  12 +++--
 include/usb_mass_storage.h          |   1 -
 8 files changed, 156 insertions(+), 55 deletions(-)
---
base-commit: a288571aff7b27eb9f593dbfd8269e1fbdbbfe18

// Caleb (they/them)


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-03-22  9:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20 14:30 [PATCH v4 0/5] Qualcomm DWC3 USB support Caleb Connolly
2024-03-20 14:30 ` [PATCH v4 1/5] usb: dwc3-generic: implement Qualcomm wrapper Caleb Connolly
2024-03-20 14:30 ` [PATCH v4 2/5] usb: dwc3: select DM_USB_GADGET Caleb Connolly
2024-03-20 14:30 ` [PATCH v4 3/5] usb: gadget: CDC ACM: call usb_gadget_initialize Caleb Connolly
2024-03-20 14:30 ` [PATCH v4 4/5] usb: gadget: UMS: support multiple sector sizes Caleb Connolly
2024-03-20 14:30 ` [PATCH v4 5/5] iommu: qcom-smmu: fix debugging Caleb Connolly
2024-03-20 20:01 ` [PATCH v4 0/5] Qualcomm DWC3 USB support Marek Vasut
2024-03-20 20:21   ` Caleb Connolly
2024-03-21  9:23 ` Mattijs Korpershoek
2024-03-21 14:47   ` Mattijs Korpershoek
2024-03-21 15:28     ` [PATCH] usb: gadget: UMS: fix 64-bit division on ARM32 Caleb Connolly
2024-03-21 16:48       ` Mattijs Korpershoek
2024-03-21 17:01         ` Caleb Connolly
2024-03-22  9:21           ` Mattijs Korpershoek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox