[U-Boot] [PATCH v4 16/20] tegra: usb: Add support for Tegra USB peripheral
Remy Bohmer
linux at bohmer.net
Sun Jan 15 21:40:37 CET 2012
Hi,
2012/1/12 Simon Glass <sjg at chromium.org>:
> This adds basic support for the Tegra2 USB controller. Board files should
> call board_usb_init() to set things up.
>
> Configuration is performed through the FDT, with aliases used to set the
> order of the ports, like this fragment:
>
> aliases {
> /* This defines the order of our USB ports */
> usb0 = "/usb at 0xc5008000";
> usb1 = "/usb at 0xc5000000";
> };
>
> drivers/usb/host files ONLY: Acked-by: Remy Bohmer <linux at bohmer.net>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> Changes in v2:
> - Rename params to timing
> - Store entire fdt config in port list, not just register pointer
> - Remove non-fdt operation of USB, since it is not needed
> - Decode USB VBUS GPIO from the fdt
> - Decode phy type differently (to match new kernel fdt)
> - Rename tegra20-usb to tegra20-ehcui (to match new kernel fdt)
> - Improve debug() printouts in case of failure to init USB
>
> Changes in v3:
> - Remove usbparams properties from fdt and moved them to C code
>
> Changes in v4:
> - Use updated fdtdec alias functiona to get USB aliases
> - Use peripheral clock node to obtain peripheral ID
>
> arch/arm/cpu/armv7/tegra2/Makefile | 4 +-
> arch/arm/cpu/armv7/tegra2/usb.c | 426 +++++++++++++++++++++++++++++
> arch/arm/include/asm/arch-tegra2/tegra2.h | 2 +
> arch/arm/include/asm/arch-tegra2/usb.h | 255 +++++++++++++++++
> drivers/usb/host/Makefile | 1 +
> drivers/usb/host/ehci-tegra.c | 63 +++++
As for the drivers/usb files:
Acked-by: Remy Bohmer <linux at bohmer.net>
Kind regards,
Remy
More information about the U-Boot
mailing list