Re: [PATCH v3 4/4] USB: OMAP1: Tahvo USB transceiver driver

2013-07-09 Thread Felipe Balbi
Hi, On Mon, Jul 08, 2013 at 10:44:02PM +0300, Aaro Koskinen wrote: +static void tahvo_usb_become_host(struct tahvo_usb *tu) +{ + struct retu_dev *rdev = dev_get_drvdata(tu-pt_dev-dev.parent); + + extcon_set_cable_state(tu-extcon, USB-HOST, true); + + /* Power up the

Re: [PATCH v3 4/4] USB: OMAP1: Tahvo USB transceiver driver

2013-07-08 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 08:07:01PM +0300, Aaro Koskinen wrote: +static ssize_t vbus_state_show(struct device *device, +struct device_attribute *attr, char *buf) +{ + struct tahvo_usb *tu = dev_get_drvdata(device); + return sprintf(buf, %d\n,

Re: [PATCH v3 4/4] USB: OMAP1: Tahvo USB transceiver driver

2013-07-08 Thread Aaro Koskinen
Hi, On Mon, Jul 08, 2013 at 10:21:09AM +0300, Felipe Balbi wrote: On Tue, Jun 18, 2013 at 08:07:01PM +0300, Aaro Koskinen wrote: +static ssize_t vbus_state_show(struct device *device, + struct device_attribute *attr, char *buf) +{ + struct tahvo_usb *tu =

[PATCH v3 4/4] USB: OMAP1: Tahvo USB transceiver driver

2013-06-18 Thread Aaro Koskinen
Add Tahvo USB transceiver driver. Based on old code from linux-omap tree. The original driver was written by Juha Yrjölä, Tony Lindgren, and Timo Teräs. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- drivers/usb/phy/Kconfig | 14 ++ drivers/usb/phy/Makefile| 1 +