All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-usb@vger.kernel.org, Felipe Balbi <balbi@ti.com>,
	Benoit Cousson <benoit.cousson@linaro.org>,
	Linux OMAP Mailing List <linux-omap@vger.kernel.org>
Subject: Re: [PATCH 2/4] usb: musb: am335x: add second port to beagle bone
Date: Fri, 20 Sep 2013 10:44:49 -0500	[thread overview]
Message-ID: <20130920154449.GX26101@radagast> (raw)
In-Reply-To: <1376580112-17677-3-git-send-email-bigeasy@linutronix.de>

[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]

On Thu, Aug 15, 2013 at 05:21:50PM +0200, Sebastian Andrzej Siewior wrote:
> So I assumed that Beagle bone has only one USB port in host mode because
> the micro USB connector had an USB-UART there. I was wrong a little. The
> second port runs on host mode, but the micro USB plug is connected to an
> internal HUB with two ports: one to the USB-UART and one to musb
> instance one.
> For that reason, this patch enables both ports: the primary in device
> mode only and the second in host mode only.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Acked-by: Felipe Balbi <balbi@ti.com>

> ---
>  arch/arm/boot/dts/am335x-bone.dts | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
> index e8447a7..596d653 100644
> --- a/arch/arm/boot/dts/am335x-bone.dts
> +++ b/arch/arm/boot/dts/am335x-bone.dts
> @@ -131,9 +131,24 @@
>  				status = "okay";
>  			};
>  
> +			usb-phy@47401b00 {
> +				status = "okay";
> +			};
> +
>  			usb@47401000 {
>  				status = "okay";
>  			};
> +
> +			usb@47401800 {
> +				status = "okay";
> +				usb@47401c00 {
> +					mg,port-mode = <1>;
> +				};
> +			};
> +
> +			dma-controller@07402000  {
> +				status = "okay";
> +			};
>  		};
>  
>  		i2c0: i2c@44e0b000 {
> -- 
> 1.8.4.rc2
> 

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2013-09-20 15:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1376580112-17677-1-git-send-email-bigeasy@linutronix.de>
     [not found] ` <1376580112-17677-2-git-send-email-bigeasy@linutronix.de>
2013-09-20 15:44   ` [PATCH 1/4] usb: usb: dsps: update code according to the binding document Felipe Balbi
     [not found] ` <1376580112-17677-3-git-send-email-bigeasy@linutronix.de>
2013-09-20 15:44   ` Felipe Balbi [this message]
     [not found] ` <1376580112-17677-4-git-send-email-bigeasy@linutronix.de>
2013-09-20 15:45   ` [PATCH 3/4] usb: musb: am335x: Do not remove the session bit HOST-only mode Felipe Balbi
2013-09-23 14:47     ` Sebastian Andrzej Siewior

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=20130920154449.GX26101@radagast \
    --to=balbi@ti.com \
    --cc=benoit.cousson@linaro.org \
    --cc=bigeasy@linutronix.de \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.