[PATCH 1/2] ARM: imx_v6_v7_defconfig: add CONFIG_USB_PHY

2013-03-24 Thread Shawn Guo
Commit edc7cb2 (usb: phy: make it a menuconfig) makes USB_MXS_PHY be a sub-item of menuconfig symbol USB_PHY. This change gets the selection of CONFIG_USB_MXS_PHY in imx_v6_v7_defconfig lost. Hence the boot stops at the point below. ci_hdrc ci_hdrc.0: doesn't support gadget ci_hdrc

[PATCHv3 0/3] usb: phy: remaining twl4030-usb/omap fixes

2013-03-24 Thread Grazvydas Ignotas
These are the last 3 patches of earlier twl4030-usb/omap fix series: http://marc.info/?l=linux-usbm=136354462519052w=2 Changed since v2: - simplified patch 5/7 (now 1/3) according to Felipe's suggestion - changed vbus_supplied to be always set to true when VBUS_PRES is set, even when ID is

[PATCHv3 1/3] usb: phy: twl4030-usb: check if vbus is driven by twl itself

2013-03-24 Thread Grazvydas Ignotas
At least on pandora, STS_VBUS gets set even when VBUS is driven by twl itself. Reporting VBUS in this case confuses OMAP musb glue and charger driver, so check if OTG VBUS charge pump is on before reporting VBUS event to avoid this problem. Signed-off-by: Grazvydas Ignotas nota...@gmail.com ---

[PATCHv3 3/3] usb: musb: gadget: use platform callback to enable vbus

2013-03-24 Thread Grazvydas Ignotas
On some platform configurations (like OMAP3+twl4030) it's the platform code that enables VBUS, not OTG transceiver, so call vbus platform callback instead, it will then call the transceiver if needed. This fixes a use case where USB cable is plugged first and gadget driver is loaded later after

[PATCHv3 2/3] usb: musb: omap2430: turn off vbus on cable disconnect

2013-03-24 Thread Grazvydas Ignotas
On USB_EVENT_ID event the musb glue enables VBUS by calling omap2430_musb_set_vbus(musb, 1) that sets the session bit, but on USB_EVENT_NONE reverse action is never made, and that breaks PM. Disable VBUS on USB_EVENT_NONE to be sure musb session is ended on cable unplug so that PM works.

Re: PROBLEM: USB device registered on OHCI instead of EHCI at boot

2013-03-24 Thread Huang Rui
On Thu, Mar 14, 2013 at 06:50:44PM +0800, Huang Rui wrote: On Tue, Mar 12, 2013 at 11:48:49PM +0800, Alan Stern wrote: On Tue, 12 Mar 2013, Huang Rui wrote: Hi Alan, The same problem is encountered in my side. Bruce's log doesn't demonstrate the break point. I attached a new

RE: [PATCH 4/6] usb: gadget: mv_udc_core: fix sparse warnings

2013-03-24 Thread Neil Zhang
-Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: 2013年3月22日 23:15 To: Linux USB Mailing List Cc: Alan Stern; Ido Shayevitz; Yu Xu; Yunfan Zhang; Virupax Sadashivpetimath; Vinod Koul; Sebastian Andrzej Siewior; Alexander Shishkin; Jingoo Han; Bill Pemberton; Neil

Re: Linux USB file storage gadget with new UDC

2013-03-24 Thread victor yeo
Hi, I have a serial console to access the platform. Today i use Linux as USB host. The log of the usb gadget is attached (gadget-log.txt). The Linux usbmon log file is also attached (usbmon-log.txt). Hopefully the log data will be useful. It looks like you cut out a lot of information from

Re: [PATCH] USB: Add EHCI and OHCI for Renesas R-Mobile SoC (r8a7740)

2013-03-24 Thread Nobuhiro Iwamatsu
On Thu, Mar 21, 2013 at 10:02 AM, Kuninori Morimoto kuninori.morimoto...@renesas.com wrote: Hi Iwamatsu-san +void rmobile_hc_start(struct usb_hcd *hcd, struct platform_device *pdev) ... + data = SMODE_READY_CTR | MMODE_HBUSREQ | + MMODE_WR_INCR |