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)
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>

No differences found