add NXP imx8mp usb support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest posting 2/24 patches 0 repliesNew
- v5 posting 1/24 patches 4 repliesSuperseded
- v44 patches 4 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 8 replies | Superseded | |
| v2 | 5 patches | 5 replies | Superseded | |
| v1 | 6 patches | 6 replies | Superseded |
Changes in v5 from the cover letter
- Remove "Items" of compatible in binding doc [1/4]
- Add Krzysztof's R-b tag for patches [3-4/4].
Patches in v5 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: usb: dwc3-imx8mp: add imx8mp dwc3 glue bindingsDocumentation/ | +105 | 0 replies | |
| 2/4 | usb: dwc3: add imx8mp dwc3 glue layer driverdrivers/ drivers/ drivers/ | +374 | 0 replies | |
| 3/4 | arm64: dtsi: imx8mp: add usb nodesarch/ | +82 | 0 replies | |
| 4/4 | arm64: dts: imx8mp-evk: enable usb1 as host modearch/ | +21 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Rob Herring |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | ||
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RESEND v5 0/4] add NXP imx8mp usb support
NXP imx8MPlus integrates 2 indentical dwc3 3.30b IP with additional wakeup logic to support low power, this wakeup logic has a separated interrupt which can generate events with suspend clock(32K); due to SoC integration limitation, it only can support 32 bits DMA, so add dma-ranges property,
changes for v5
- Remove "Items" of compatible in binding doc [1/4]
- Add Krzysztof's R-b tag for patches [3-4/4].
changes for v4:
- Use dma-ranges property to limit 32bits DMA, so don't need the new property "xhci-64bit-support-disable".
- Fix binding doc to pass dt_binding_check dtbs_check.
changes for v3:
- Add dwc3 core related clocks into dwc3 core node, and glue layer driver only handle the clocks(hsio and suspend) for glue block, this is to match real HW.
- Change to use property "xhci-64bit-support-disable" to disable 64bit DMA as imx8mp USB integration actully can't support it, so remove platform data in v2.
- Some changes of imx8mp usb driver binding doc to address comments from Rob
Changes for v2:
- Drop the 2 patches for new property("snps,xhci-dis-64bit-support-quirk") introduction, as suggested, imply by SoC compatible string, this is done by introduce dwc3 core platform data and pass the xhci_plat_priv to xhci-plat for those xhci quirks, so a new patch added:
[1/5] usb: dwc3: add platform data to dwc3 core device to pass data. this patch is based on Peter's one patch which is also in review:
https://patchwork.kernel.org/patch/11640945/
- dts change, use the USB power function of TRL logic instead of a always-on regulator to control vbus on/off.
- Some changes to address Peter's command on patch [2/5].
Li Jun (4):
dt-bindings: usb: dwc3-imx8mp: add imx8mp dwc3 glue bindings
usb: dwc3: add imx8mp dwc3 glue layer driver
arm64: dtsi: imx8mp: add usb nodes
arm64: dts: imx8mp-evk: enable usb1 as host mode
.../devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 105 ++++++ arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 21 ++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 82 +++++ drivers/usb/dwc3/Kconfig | 10 + drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/dwc3-imx8mp.c | 363 +++++++++++++++++++++ 6 files changed, 582 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml create mode 100644 drivers/usb/dwc3/dwc3-imx8mp.c
Signature · 1 line
2.7.4