
Adjust this code to support a live device tree. This should be implemented as a PHY driver but that is left as an exercise for the maintainer.
Signed-off-by: Simon Glass sjg@chromium.org ---
Changes in v3: - Fix up the implementation which had node instead of subnode in one place
Changes in v2: None
arch/arm/include/asm/arch-tegra/xusb-padctl.h | 2 +- arch/arm/mach-tegra/board2.c | 2 +- arch/arm/mach-tegra/tegra124/xusb-padctl.c | 36 ++++++++++++--- arch/arm/mach-tegra/tegra210/xusb-padctl.c | 40 ++++++++++++----- arch/arm/mach-tegra/xusb-padctl-common.c | 63 ++++++++++++++++----------- arch/arm/mach-tegra/xusb-padctl-common.h | 11 ++--- arch/arm/mach-tegra/xusb-padctl-dummy.c | 2 +- 7 files changed, 104 insertions(+), 52 deletions(-)
Applied to u-boot-dm, thanks!