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 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 | MMODE_BYT

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 infor

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; N

Re: gm45 intel gfx can generate non-MSI irq# in MSI mode (was Re: [PATCH] drm/i915: stop using GMBUS IRQs on Gen4 chips (was Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt respo

2013-03-24 Thread Shawn Starr
On Tuesday, March 19, 2013 04:12:18 PM Daniel Vetter wrote: > On Tue, Mar 19, 2013 at 10:03 AM, Chris Wilson wrote: > >> > How about just using: > >> > if (!HAS_GMBUS_IRQ(dev_priv->dev)) gmbus4_irq_en = 0; > >> > > >> > and the existing wait loop? > >> > >> I explicitly wanted to avoid touchi

Re: PROBLEM: since linux kernel 3.8 Apple Cinema Display's usb hub spits errors randomly at boot.

2013-03-24 Thread Jenya Y
On 03/18/2013 04:29 PM, Alan Stern wrote: On Sat, 16 Mar 2013, Alan Stern wrote: On Sat, 16 Mar 2013, Jenya Y wrote: Alan, looks like we are not quite there yet, just tried a fresh 3.8.3 build with both of your patches and here is what I have - [7.797975] usb 1-2.2: can't set config #1,

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 at

[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 th

[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. Signed-o

[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 --- drivers/usb/phy/ph

[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-usb&m=136354462519052&w=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 gro

[PATCH 2/2] ARM: mxs_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 mxs_defconfig lost. Hence the boot stops at the point below. [1.600867] ci_hdrc ci_hdrc.0: doesn't support gadget [1.6

[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 ci_hdrc.0