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 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 v2:
- fix build error for ofnode not define
- add ofnode.h in otg.h to avoid build error
Kever Yang (9):
usb: dwc3-of-simple: Drop redundant inclding header file
usb: ehci-msm: Use dev interface to get device address
usb: cdns3: Migrate to use ofnode API for bind function
usb: dwc3-generic: Migrate to use ofnode API for bind function
usb: dwc3-generic: Use dev_read_addr() instead of devfdt_get_addr()
usb: host: dwc3-sti-glue: Migrate to use ofnode API
usb: musb-new: Migrate to use ofnode API
usb: Use ofnode as usb_get_dr_mode() parameter
usb: Use ofnode as usb_get_maximum_speed() parameter
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(-)