On 3/4/20 1:59 AM, Kever Yang wrote: > 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(-) >
All patches applied, thanks.