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. Change-Id: I41a3fa52e8fdb99f7fc36b1bc0eb21ae82f90e63 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (am from http://patchwork.ozlabs.org/patch/1248682/) |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| am35x.c | ||
| da8xx.c | ||
| linux-compat.h | ||
| musb_core.c | ||
| musb_core.h | ||
| musb_debug.h | ||
| musb_dma.h | ||
| musb_dsps.c | ||
| musb_gadget.c | ||
| musb_gadget.h | ||
| musb_gadget_ep0.c | ||
| musb_host.c | ||
| musb_host.h | ||
| musb_io.h | ||
| musb_regs.h | ||
| musb_uboot.c | ||
| musb_uboot.h | ||
| omap2430.c | ||
| omap2430.h | ||
| pic32.c | ||
| sunxi.c | ||
| ti-musb.c | ||
| usb-compat.h | ||