public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] usb: ehci: rmobile: Add support R8A7794
Date: Thu, 24 Jul 2014 23:38:16 +0200	[thread overview]
Message-ID: <201407242338.16715.marex@denx.de> (raw)
In-Reply-To: <1406181127-27884-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com>

On Thursday, July 24, 2014 at 07:52:07 AM, Nobuhiro Iwamatsu wrote:
> R8A7794 has same IP of USB controller as R8A7790 and R8A7791.
> This addes support for R8A7794.
> 
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
> ---
>  drivers/usb/host/ehci-rmobile.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/usb/host/ehci-rmobile.c
> b/drivers/usb/host/ehci-rmobile.c index 049e4c4..29b4a93 100644
> --- a/drivers/usb/host/ehci-rmobile.c
> +++ b/drivers/usb/host/ehci-rmobile.c
> @@ -29,6 +29,12 @@ static u32
> usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = { 0xEE0C0000,	/* USB1
> */
>  	0xEE000000	/* USB3 (USB3.0 Host)*/

Just a side-note ... Will this one USB3 controller above really work with the 
EHCI driver ? I know there is a compat mode for xHCI, but I'm not quite sure 
it's this easy to make it operational.

>  };
> +#elif defined(CONFIG_R8A7794)
> +static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
> +	0xEE080000,	/* USB0 (EHCI) */
> +	0xEE0C0000,	/* USB1 */
> +	/* R8A7794 does not have USB 3.0. */
> +};
>  #else
>  #error rmobile EHCI USB driver not supported on this platform
>  #endif

Applied, thanks.

Best regards,
Marek Vasut

  reply	other threads:[~2014-07-24 21:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  5:52 [U-Boot] [PATCH] usb: ehci: rmobile: Add support R8A7794 Nobuhiro Iwamatsu
2014-07-24 21:38 ` Marek Vasut [this message]
2014-07-28  6:17   ` Nobuhiro Iwamatsu
2014-07-28  6:46     ` Marek Vasut

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=201407242338.16715.marex@denx.de \
    --to=marex@denx.de \
    --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