Thread (43 messages) 43 messages, 6 authors, 2012-12-04
STALE4935d

[PATCH v2 1/5] ARM: PXA: Add z2-usb-switch driver

From: anarsoul@gmail.com (Vasily Khoruzhick)
Date: 2012-10-28 22:45:01

On Mon, Oct 29, 2012 at 1:38 AM, Marek Vasut [off-list ref] wrote:
Dear Vasily Khoruzhick,
quoted
On Mon, Oct 29, 2012 at 12:57 AM, Marek Vasut [off-list ref] wrote:
quoted
Dear Vasily Khoruzhick,
Dear Marek Vasut,
quoted
quoted
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.
[...]
quoted
quoted
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.
[...]

Best regards,
Marek Vasut
Regards
Vasily
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help