From: marex@denx.de (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/5] ARM: PXA: Add z2-usb-switch driver
Date: Sun, 28 Oct 2012 23:48:48 +0100 [thread overview]
Message-ID: <201210282348.48681.marex@denx.de> (raw)
In-Reply-To: <CA+E=qVccYJApm=zx7XvS5gbi0w3=HgKxRJQfXoStSMVhuVy9cQ@mail.gmail.com>
Dear Vasily Khoruzhick,
> On Mon, Oct 29, 2012 at 1:38 AM, Marek Vasut <marex@denx.de> wrote:
> > Dear Vasily Khoruzhick,
> >
> >> On Mon, Oct 29, 2012 at 12:57 AM, Marek Vasut <marex@denx.de> wrote:
> >> > Dear Vasily Khoruzhick,
> >>
> >> Dear Marek Vasut,
> >>
> >> >> This driver controls mode of USB port #2 pins - device or host.
> >> >
> >> > Please supply proper commit message. This short message describes
> >> > nothing.
> >>
> >> OK, "This driver allows user to choose USB port #2 mode between device
> >> and host" - that would be OK?
> >
> > Please describe why is this needed at all and what it does.
>
> Because one might need USB device and USB host functionality provided
> by USB port #2?
> It switches pins mode from device to host and backwards.
Good, now compile it into the commit message for v3 please.
> > [...]
> >
> >> > I wonder if we have no better means to control enforcement of mode.
> >>
> >> Why? sysfs fits nicely.
> >
> > Because if there is already an API to implement this OTG in kernel, you
> > should use that and not reinvent wheel.
>
> One needs to select USB mode manually (btw, Z2 can't even power USB
> device properly, only 3.3v or external 5v).
> There's no way to determine what type of device (device/host)
> connected to Z2 at the moment.
Good, so your OTG is software controlled.
[...]
Best regards,
Marek Vasut
prev parent reply other threads:[~2012-10-28 22:48 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-28 15:35 [PATCH 1/5] ARM: PXA: Add z2-usb-switch driver Vasily Khoruzhick
2012-10-28 15:35 ` [PATCH 2/5] ARM: PXA: Zipit Z2: Add USB host and device support Vasily Khoruzhick
2012-10-28 21:59 ` Marek Vasut
2012-10-28 22:38 ` Vasily Khoruzhick
2012-10-28 22:43 ` Marek Vasut
2012-10-28 22:58 ` Daniel Mack
2012-10-29 9:33 ` Vasily Khoruzhick
2012-10-29 9:42 ` Daniel Mack
2012-10-29 10:07 ` Vasily Khoruzhick
2012-10-29 10:22 ` Marek Vasut
2012-10-29 10:26 ` Vasily Khoruzhick
2012-10-29 10:44 ` Daniel Mack
2012-10-29 10:52 ` Vasily Khoruzhick
2012-10-29 11:00 ` Daniel Mack
2012-10-29 11:12 ` Vasily Khoruzhick
2012-10-29 11:14 ` Daniel Mack
2012-10-30 20:01 ` Vasily Khoruzhick
2012-10-30 20:05 ` Daniel Mack
2012-10-30 21:20 ` Vasily Khoruzhick
2012-10-31 14:00 ` Haojian Zhuang
2012-10-31 15:31 ` Haojian Zhuang
2012-11-02 20:52 ` Vasily Khoruzhick
2012-11-02 21:29 ` Vasily Khoruzhick
2012-11-05 17:31 ` Vasily Khoruzhick
2012-12-04 8:30 ` Haojian Zhuang
2012-10-29 10:48 ` Daniel Mack
2012-10-28 15:35 ` [PATCH 3/5] ARM: PXA: Zipit Z2: Fix oops in z2_power_off Vasily Khoruzhick
2012-10-28 15:35 ` [PATCH 4/5] ARM: PXA: Zipit Z2: Change active_state of power button Vasily Khoruzhick
2012-10-28 22:01 ` Marek Vasut
2012-10-28 22:31 ` mark at engine12.com
2012-10-28 15:35 ` [PATCH 5/5] ARM: PXA: Zipit Z2: Fix backlight PWM device number Vasily Khoruzhick
2012-10-28 22:01 ` Marek Vasut
2012-10-28 22:23 ` Vasily Khoruzhick
2012-10-28 22:39 ` Marek Vasut
2012-10-28 15:39 ` [PATCH 1/5] ARM: PXA: Add z2-usb-switch driver Vasily Khoruzhick
2012-10-28 15:42 ` [PATCH v2 " Vasily Khoruzhick
2012-10-28 17:03 ` Marko Katić
2012-10-28 18:12 ` Vasily Khoruzhick
2012-10-28 21:57 ` Marek Vasut
2012-10-28 22:27 ` Vasily Khoruzhick
2012-10-28 22:38 ` Marek Vasut
2012-10-28 22:45 ` Vasily Khoruzhick
2012-10-28 22:48 ` Marek Vasut [this message]
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=201210282348.48681.marex@denx.de \
--to=marex@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).