]> git.sur5r.net Git - u-boot/commit
usb: ehci: add Faraday USB 2.0 EHCI support
authorKuo-Jung Su <dantesu@faraday-tech.com>
Wed, 15 May 2013 07:29:23 +0000 (15:29 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 12 Jun 2013 20:22:51 +0000 (22:22 +0200)
commite82a316d7f9425943d86c1ed61c5cf57b0d5b188
treef32a19b18dde2c92c54c86018f88689057e9f6fb
parentaa1550588cc60549bf3a97dc6dccb7de4c022aa6
usb: ehci: add Faraday USB 2.0 EHCI support

This patch adds support to both Faraday FUSBH200 and FOTG210,
the differences between Faraday EHCI and standard EHCI are
listed bellow:

1. The PORTSC starts at 0x30 instead of 0x44.
2. The CONFIGFLAG(0x40) is not only un-implemented, and
   also has its address space removed.
3. Faraday EHCI is a TDI design, but it doesn't
   compatible with the general TDI implementation
   found at both U-Boot and Linux.
4. The ISOC descriptors differ from standard EHCI in
   several ways. But since U-boot doesn't support ISOC,
   we don't have to worry about that.

Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
CC: Marek Vasut <marex@denx.de>
common/usb_hub.c
drivers/usb/host/Makefile
drivers/usb/host/ehci-faraday.c [new file with mode: 0644]
drivers/usb/host/ehci-hcd.c
include/usb/fotg210.h [new file with mode: 0644]
include/usb/fusbh200.h [new file with mode: 0644]