Re: [PATCH v3 3/3] usb: Migrate to support live DT for some driver

2020-03-04 Thread Simon Glass
On Wed, 4 Mar 2020 at 05:32, Marek Vasut wrote: > > On 3/4/20 1:59 AM, Kever Yang wrote: > > 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

Re: [PATCH v3 3/3] usb: Migrate to support live DT for some driver

2020-03-04 Thread Marek Vasut
On 3/4/20 1:59 AM, Kever Yang wrote: > 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

[PATCH v3 3/3] usb: Migrate to support live DT for some driver

2020-03-03 Thread Kever Yang
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