public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/5] ARM: Allwinner sun7i (A20) USB Host EHCI support
@ 2014-07-15 21:56 Roman Byshko
  2014-07-15 21:56 ` [U-Boot] [PATCH v2 1/5] sunxi: add defines to control USB Host clocks/resets Roman Byshko
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Roman Byshko @ 2014-07-15 21:56 UTC (permalink / raw)
  To: u-boot

This patch series adds USB Host EHCI support to the sun7i SoC. It was
tested on Cubietruck. Now you could boot from a USB stick or use a
compatible Ethernet dongle to add a second Ethernet port in U-Boot.

ehci-sunxi.c contains some code for poking GPIOs. This code will go
away once [1] is applied against upstream. For now this patch series is
self-contained and has no dependencies.

Best,
Roman Byshko

Changes since v1:
	- fixed erroneous copyright author
	- used SPDX tag instead of the full license
	- used setbits_le32/clrbits_le32 instead of direct bit poking
	- usage of setbits_le32/clrbits_le32 automatically fixed bug
	  where usbc_bit was clobbered unintentionally
	- added more info about commented out gpio_direction_output, it
	  will be used once [1] is applied against upstream

[1] http://patchwork.ozlabs.org/patch/356566/

Roman Byshko (5):
  sunxi: add defines to control USB Host clocks/resets
  sunxi: add USB EHCI driver
  sunxi: add USB options to configs
  sun7i: add USB EHCI configuration
  sun7i: cubietruck: enable USB EHCI

 arch/arm/include/asm/arch-sunxi/clock_sun4i.h |   4 +
 boards.cfg                                    |   2 +-
 drivers/usb/host/Makefile                     |   1 +
 drivers/usb/host/ehci-sunxi.c                 | 212 ++++++++++++++++++++++++++
 include/configs/sun7i.h                       |   8 +
 include/configs/sunxi-common.h                |   6 +
 6 files changed, 232 insertions(+), 1 deletion(-)
 create mode 100644 drivers/usb/host/ehci-sunxi.c

-- 
2.0.0

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-07-18 19:13 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-15 21:56 [U-Boot] [PATCH v2 0/5] ARM: Allwinner sun7i (A20) USB Host EHCI support Roman Byshko
2014-07-15 21:56 ` [U-Boot] [PATCH v2 1/5] sunxi: add defines to control USB Host clocks/resets Roman Byshko
2014-07-16 19:26   ` Ian Campbell
2014-07-15 21:56 ` [U-Boot] [PATCH v2 2/5] sunxi: add USB EHCI driver Roman Byshko
2014-07-16  6:58   ` Ian Campbell
2014-07-16 11:04     ` [U-Boot] [linux-sunxi] " Hans de Goede
2014-07-16 11:28   ` [U-Boot] [linux-sunxi] " Priit Laes
2014-07-17  8:41   ` [U-Boot] " Marek Vasut
2014-07-18 19:13   ` Ian Campbell
2014-07-15 21:56 ` [U-Boot] [PATCH v2 3/5] sunxi: add USB options to configs Roman Byshko
2014-07-16 19:27   ` Ian Campbell
2014-07-17  8:43   ` Marek Vasut
2014-07-15 21:56 ` [U-Boot] [PATCH v2 4/5] sun7i: add USB EHCI configuration Roman Byshko
2014-07-16 19:27   ` Ian Campbell
2014-07-15 21:56 ` [U-Boot] [PATCH v2 5/5] sun7i: cubietruck: enable USB EHCI Roman Byshko
2014-07-16 19:28   ` Ian Campbell
2014-07-15 22:05 ` [U-Boot] [PATCH v2 0/5] ARM: Allwinner sun7i (A20) USB Host EHCI support Roman B.
2014-07-16  8:34   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox