All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnaud.patard@rtp-net.org (Arnaud Patard (Rtp))
To: linux-arm-kernel@lists.infradead.org
Subject: [patch 1/1] imx53-qsb: enable usb power
Date: Mon, 24 Jun 2013 09:29:05 +0200	[thread overview]
Message-ID: <8738s8arwe.fsf@lebrac.rtp-net.org> (raw)
In-Reply-To: <20130623185952.GA26397@pengutronix.de> (Sascha Hauer's message of "Sun, 23 Jun 2013 20:59:52 +0200")

Sascha Hauer <s.hauer@pengutronix.de> writes:

> On Thu, Jun 20, 2013 at 11:29:30PM +0200, Arnaud Patard wrote:
>> Enable usb power pin by using a fixed regulator. With this and the usb clock
>> patch is making usb working on my loco.
>> 
>> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
>> Index: linux-next/arch/arm/boot/dts/imx53-qsb.dts
>> ===================================================================
>> --- linux-next.orig/arch/arm/boot/dts/imx53-qsb.dts	2013-06-20 23:25:46.049428530 +0200
>> +++ linux-next/arch/arm/boot/dts/imx53-qsb.dts	2013-06-20 23:26:34.293425920 +0200
>> @@ -93,6 +93,15 @@
>>  			regulator-max-microvolt = <3200000>;
>>  			regulator-always-on;
>>  		};
>> +
>> +		reg_usbpwr: usbpwr {
>> +			compatible = "regulator-fixed";
>> +			regulator-name = "usbpwr";
>> +			regulator-min-microvolt = <5000000>;
>> +			regulator-max-microvolt = <5000000>;
>> +			gpio = <&gpio7 8 0>;
>> +			regulator-always-on;
>> +		};
>
> Shouldn't this be provided to the chipidea driver as vbus?

I'm not sure about that. This gpio is controlling the usb power for the
2 usb ports while the vbus is more a port-basis thing.

Arnaud

  reply	other threads:[~2013-06-24  7:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20 21:29 [patch 1/1] imx53-qsb: enable usb power Arnaud Patard (Rtp)
2013-06-23 18:59 ` Sascha Hauer
2013-06-24  7:29   ` Arnaud Patard (Rtp) [this message]
2013-06-24 23:52 ` Fabio Estevam
2013-06-25  1:40   ` Fabio Estevam
2013-06-25 17:08     ` Arnaud Patard (Rtp)
2013-06-25 17:12       ` Fabio Estevam
2013-07-25 12:42 ` Fabio Estevam

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=8738s8arwe.fsf@lebrac.rtp-net.org \
    --to=arnaud.patard@rtp-net.org \
    --cc=linux-arm-kernel@lists.infradead.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.