RE: [PATCH 2/3 v2] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-30 Thread Peter Chen
> > { > > u32 portsc, lpm, sts = 0; > > > > switch (ci->platdata->phy_mode) { > > case USBPHY_INTERFACE_MODE_UTMI: > > portsc = PORTSC_PTS(PTS_UTMI); > > @@ -273,10 +275,12 @@ static void hw_phymode_configure(struct ci_hdrc > *ci) > > > > if (ci->hw_bank.lpm) { > >

RE: [PATCH 2/3 v3] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-30 Thread Peter Chen
> > usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag > > * init the sts flag to 0 (missed) > * Set PORTCS_STS only if VUSB_HS_PHY_TYPE > 1 > otherwise the register is ReadOnly > * Set/Reset correct BIT(28)/BIT(29) for STS > > Signed-off-by: Chris Ruehl > --- > drivers/

Re: [PATCH v6 0/3] usb: ehci+chipidea: fix imx28 "ENGR119653 USB: ARM to USB register error issue"

2013-11-30 Thread Marc Kleine-Budde
On 11/26/2013 01:11 PM, Peter Chen wrote: > Changes for v6: > - Add volatile for arm swp instruction, since we need io access > to fix this problem > - Add kernel style comment for imx28_write_fix > > Peter Chen (3): > usb: ehci: add freescale imx28 special write register method > usb: chipide

Re: [PATCH 1/1] usb: chipidea: fix nobody cared IRQ when booting with host role

2013-11-30 Thread Marc Kleine-Budde
On 11/22/2013 09:14 AM, Peter Chen wrote: > If we connect Male-A-To-Male-A cable between otg-host and host pc, > the ci->vbus_active is set wrongly, and cause the controller run > at peripheral mode when we load gadget module (ci_udc_start will be run), > but the software runs at host mode due to i

Re: USB instabilities with Atheros AR9344

2013-11-30 Thread Alan Stern
On Fri, 29 Nov 2013, Kristian Evensen wrote: > Hi, > > Thank you very much for the quick reply. > > On Fri, Nov 29, 2013 at 4:13 PM, Alan Stern wrote: > > The most common reason for -71 errors is that the device failed to send > > a reply or handshake packet back to the host. Generally this is

Re: [PATCH] add new pid for alcatel re-shape some alcatel pid list

2013-11-30 Thread Greg KH
On Sat, Nov 30, 2013 at 10:32:28PM +0800, shu.suo wrote: > From: "suo.suo" > > Signed-off-by: suo.suo > --- > drivers/usb/serial/option.c | 58 > - > 1 file changed, 47 insertions(+), 11 deletions(-) > > diff --git a/drivers/usb/serial/option.c b/dr

Re: some question about period scheduleing

2013-11-30 Thread Alan Stern
On Fri, 29 Nov 2013, vichy wrote: > hi all: > My connection like below > ehci --> high speed hub -> full speed device > > I have some questions about period scheduling. > 1. when creating qh for full speed device, why we set EHCI_TUNE_RL_TT. Are you asking why EHCI_TUNE_RL_TT is equal to 0? I

Re: [PATCH 2/3 v3] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-30 Thread Sergei Shtylyov
Hello. On 30-11-2013 7:51, Chris Ruehl wrote: usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag * init the sts flag to 0 (missed) * Set PORTCS_STS only if VUSB_HS_PHY_TYPE > 1 otherwise the register is ReadOnly * Set/Reset correct BIT(28)/BIT(29) for STS Signed-off-

[PATCH] Staging: dwc2: hcd.c: Fixed a coding style issue

2013-11-30 Thread Aldo Iljazi
Fixed a coding style issue, specifically: Line 1798: Removed parentheses since return is not a function. Signed-off-by: Aldo Iljazi --- drivers/staging/dwc2/hcd.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dwc2/hcd.c b/drivers/staging/dwc2/hcd.c index

Re: [PATCH] usb: phy: am335x: Prevent GPIO reset line request

2013-11-30 Thread Ezequiel Garcia
On Thu, Nov 21, 2013 at 07:01:55AM -0600, Felipe Balbi wrote: > On Thu, Nov 21, 2013 at 08:55:20AM -0300, Ezequiel Garcia wrote: > > On Thu, Nov 21, 2013 at 12:44:51PM +0100, Sebastian Andrzej Siewior wrote: > > > On 11/21/2013 12:30 PM, Ezequiel Garcia wrote: > > > > Ah, good to know. That patch s

[PATCH v6 00/17] add COMMON_CLK support for PowerPC MPC512x

2013-11-30 Thread Gerhard Sittig
this series introduces support for the common clock framework (CCF, COMMON_CLK Kconfig option) in the PowerPC based MPC512x platform, which brings device tree based clock lookup as well at subsystem maintainers: this series was streamlined for conflict free application through the subsystems' ind

[PATCH v6 11/17] USB: fsl-mph-dr-of: adjust for OF based clock lookup

2013-11-30 Thread Gerhard Sittig
after device tree based clock lookup became available, the peripheral driver need no longer construct clock names which include the component index -- remove the "usb%d_clk" template, always use "ipg" instead Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Gerhard Sittig ---

Re: [PATCH v5 00/17] ARM: at91: move to common clk framework

2013-11-30 Thread Mike Turquette
Quoting Boris BREZILLON (2013-11-12 12:51:52) > Hello, > > This patch series is the 5th version of the at91 clk implementations > using the Common Clk Framework. Thanks for sending this latest version. A couple recurring themes to be addressed: 1) Some clocks implement .prepare and .disable but

Re: [PATCH v6 00/16] ARM: at91: move to common clk framework

2013-11-30 Thread Mike Turquette
Quoting Boris BREZILLON (2013-11-28 04:36:24) > Hello, > > This patch series is the 5th version of the at91 clk implementations > using the Common Clk Framework. Oops, I just replied to v5 of this series. Thanks for the fixes. Which tree do you want this to go through? Regards, Mike > > Most o

Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-11-30 Thread Michael Trimarchi
Hi On Sat, Nov 30, 2013 at 6:10 AM, Michael Trimarchi wrote: > Hi > > On Sat, Nov 30, 2013 at 5:48 AM, Michael Trimarchi > wrote: >> Hi Roger >> >> On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros wrote: >>> With u-boot 2013.10, USB devices are sometimes not detected >>> on OMAP4 Panda. To make u

Re: some question about period scheduleing

2013-11-30 Thread vichy
hi Alan: 2013/12/1 Alan Stern : > On Fri, 29 Nov 2013, vichy wrote: > >> hi all: >> My connection like below >> ehci --> high speed hub -> full speed device >> >> I have some questions about period scheduling. >> 1. when creating qh for full speed device, why we set EHCI_TUNE_RL_TT. > > Are you