From: s.nawrocki@samsung•com (Sylwester Nawrocki)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] phy: exynos5-usbdrd: Add facility to toggle vbus gpio on/off
Date: Wed, 09 Apr 2014 15:08:56 +0200 [thread overview]
Message-ID: <53454668.8090300@samsung.com> (raw)
In-Reply-To: <CAFp+6iHf5Ndt3yNbdAaayXi08-A54Sk8LDTiASm4RTw09GuWvg@mail.gmail.com>
On 09/04/14 14:24, Vivek Gautam wrote:
> On Wed, Apr 9, 2014 at 5:41 PM, Sylwester Nawrocki
> <s.nawrocki@samsung•com> wrote:
>> > On 09/04/14 13:54, Vivek Gautam wrote:
>>> >> Adding support to enable/disable VBUS hooked to a gpio
>>> >> to enable vbus supply on the port.
>> >
>> > Does the GPIO control a fixed voltage regulator ? If so, shouldn't
>> > it be modelled by the regulator API instead ?
>
> No, this GPIO controls a 'current limiting power distribution switch',
> which gives the output vbus to usb controller.
> Should i model this as a fixed regulator ?
OK, it's just a power switch then. I suspect using the regulator API
would be more universal, as such a GPIO is somewhat a board design
detail. I'm not going to object to your patch, just might be better
to use the gpiod API instead.
--
Regards,
Sylwester
next prev parent reply other threads:[~2014-04-09 13:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-09 11:54 [PATCH] phy: exynos5-usbdrd: Add facility to toggle vbus gpio on/off Vivek Gautam
2014-04-09 12:11 ` Sylwester Nawrocki
2014-04-09 12:24 ` Vivek Gautam
2014-04-09 12:38 ` Tomasz Figa
2014-04-10 11:07 ` Vivek Gautam
2014-04-09 13:08 ` Sylwester Nawrocki [this message]
2014-04-10 9:09 ` Kishon Vijay Abraham I
2014-04-10 10:32 ` Vivek Gautam
2014-04-12 3:37 ` Felipe Balbi
2014-04-14 8:05 ` Vivek Gautam
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=53454668.8090300@samsung.com \
--to=s.nawrocki@samsung$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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