]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: Migrate to support live DT for some driver
authorKever Yang <kever.yang@rock-chips.com>
Wed, 4 Mar 2020 00:59:50 +0000 (08:59 +0800)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 13 Apr 2020 11:48:30 +0000 (13:48 +0200)
commit2517deafc272d35a3dc025014c83683cae3f2182
tree6e39aca7581ae01eee37c5e0c0aeee4f819f1a82
parent0148bbe8f3637001c76e1c3b5ebf42980979111e
usb: Migrate to support live DT for some driver

Use ofnode_ instead of fdt_ APIs so that the drivers can support live DT.
This patch updates usb_get_dr_mode() and usb_get_maximum_speed() to use
ofnode as parameter instead of fdt offset. And all the drivers who use
these APIs update to use live dt APIs at the same time.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
drivers/usb/cdns3/core.c
drivers/usb/cdns3/gadget.c
drivers/usb/common/common.c
drivers/usb/dwc3/dwc3-generic.c
drivers/usb/dwc3/dwc3-meson-g12a.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/host/dwc3-sti-glue.c
drivers/usb/host/ehci-mx6.c
drivers/usb/host/xhci-dwc3.c
drivers/usb/musb-new/ti-musb.c
include/linux/usb/otg.h