public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Roman Byshko <rbyshko@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/5] ARM: Allwinner sunxi USB Host EHCI support
Date: Thu, 24 Jul 2014 22:54:19 +0200	[thread overview]
Message-ID: <cover.1405895188.git.rbyshko@gmail.com> (raw)


This patch series adds USB Host EHCI support to the sunxi SoCs. 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.

Best,
Roman Byshko

Changes since v2:
	- improved commit messages
	- removed BIT macro
	- added get_io_base function
	- removed unnecessary verboseness when defining sunxi_echi_hcd
	  array
	- the EHCI driver is now based on [2] and uses GPIO driver 
	- possible failure is ruled out by introducing enabled_hcd_count
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/
[2] http://git.denx.de/u-boot-sunxi.git/

Roman Byshko (5):
  sunxi: add defines to control USB Host clocks/resets
  sunxi: add USB EHCI driver
  sunxi: add general USB settings
  sun7i: add USB EHCI settings
  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                 | 196 ++++++++++++++++++++++++++
 include/configs/sun7i.h                       |   8 ++
 include/configs/sunxi-common.h                |   6 +
 6 files changed, 216 insertions(+), 1 deletion(-)
 create mode 100644 drivers/usb/host/ehci-sunxi.c

-- 
2.0.0

             reply	other threads:[~2014-07-24 20:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24 20:54 Roman Byshko [this message]
2014-07-24 20:54 ` [U-Boot] [PATCH v3 1/5] sunxi: add defines to control USB Host clocks/resets Roman Byshko
2014-07-24 20:54 ` [U-Boot] [PATCH v3 2/5] sunxi: add USB EHCI driver Roman Byshko
2014-07-25 15:01   ` Marek Vasut
2014-07-25 15:38     ` Ian Campbell
2014-07-25 15:41       ` Marek Vasut
2014-07-25 16:06         ` Ian Campbell
2014-07-25 16:31           ` Marek Vasut
2014-07-25 16:36             ` Ian Campbell
2014-07-26 16:25   ` Hans de Goede
2014-07-26 22:22   ` Hans de Goede
2014-07-27  0:55     ` Marek Vasut
2014-07-27  8:29       ` Ian Campbell
2014-07-27 10:03         ` Hans de Goede
2014-07-27 15:35           ` Marek Vasut
2014-07-27 17:32           ` [U-Boot] [PATCH v4 " Roman Byshko
2014-07-27 17:57             ` Marek Vasut
2014-07-27 20:14               ` Hans de Goede
2014-07-27 20:41                 ` Marek Vasut
2014-07-24 20:54 ` [U-Boot] [PATCH v3 3/5] sunxi: add general USB settings Roman Byshko
2014-07-24 20:54 ` [U-Boot] [PATCH v3 4/5] sun7i: add USB EHCI settings Roman Byshko
2014-07-24 20:54 ` [U-Boot] [PATCH v3 5/5] sun7i: cubietruck: enable USB EHCI Roman Byshko
2014-07-25 20:33   ` Ian Campbell
2014-07-26 22:34     ` Hans de Goede
2014-07-25  9:31 ` [U-Boot] [PATCH v3 0/5] ARM: Allwinner sunxi USB Host EHCI support Roman B.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1405895188.git.rbyshko@gmail.com \
    --to=rbyshko@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox