Skip to content

usb: Covert to support Live DT

Kever Yang u-boot u-boot-amlogic 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v29 patches 0 repliesSuperseded
  3. v110 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Squesh the 3rd~9th into one patch.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: dwc3-of-simple: Drop redundant inclding header filedrivers/usb/host/dwc3-of-simple.c+0 -11 reply
2/3usb: ehci-msm: Use dev interface to get device addressdrivers/usb/host/ehci-msm.c+1 -31 reply
3/3usb: Migrate to support live DT for some driverdrivers/usb/cdns3/core.c drivers/usb/cdns3/gadget.c drivers/usb/common/common.c +8 more+42 -572 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchRamon FriedSimon Glass
1/3
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] usb: Covert to support Live DT

This patch set convert to use APIs leading with dev_ or ofnode_ which supports live DT instead of fdt_ or fdtdec or devfdt_.
Two functions update there parameter from offset to ofnode:
- usb_get_maximum_speed()
- usb_get_dr_mode()

For V3 update:
Squesh patch 3rd~9th/9 into one patch because the ofnode_to_offset(node) is not work with the livetree, so we have to convert the api to support livetree and its related function at the same time.

For V2 update:
Drop below patch after include ofnode.h in otg.h:
[PATCH 09/10] usb: Use ofnode as usb_get_dr_mode() parameter

Changes in v3:
- Squesh the 3rd~9th into one patch.

Kever Yang (3):
usb: dwc3-of-simple: Drop redundant inclding header file
usb: ehci-msm: Use dev interface to get device address
usb: Migrate to support live DT for some driver

 drivers/usb/cdns3/core.c           | 15 ++++++---------
 drivers/usb/cdns3/gadget.c         |  2 +-
 drivers/usb/common/common.c        | 12 +++++-------
 drivers/usb/dwc3/dwc3-generic.c    | 16 +++++++---------
 drivers/usb/dwc3/dwc3-meson-g12a.c |  2 +-
 drivers/usb/gadget/dwc2_udc_otg.c  |  5 ++---
 drivers/usb/host/dwc3-of-simple.c  |  1 -
 drivers/usb/host/dwc3-sti-glue.c   | 20 +++++++-------------
 drivers/usb/host/ehci-msm.c        |  4 +---
 drivers/usb/host/ehci-mx6.c        |  2 +-
 drivers/usb/host/xhci-dwc3.c       |  3 +--
 drivers/usb/musb-new/ti-musb.c     | 12 +++++-------
 include/linux/usb/otg.h            | 10 ++++++----
 13 files changed, 43 insertions(+), 61 deletions(-)
Signature · 1 line
2.17.1