The patch set is tested on imx6q_sabrelite board.
The patch can also be found at
https://github.com/riczhao/kernel-imx/commits/topics/usb-driver
For test which merged platform patches:
https://github.com/riczhao/kernel-imx/commits/topics/usb-test
It's better apply after patch I sent out:
usb: ch
Some controllers may not need to setup pinctrl, so we don't fail the
probe if pinctrl get/select failed.
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/ci13xxx_imx.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/chipidea/ci13xxx_imx.c
b/drivers/usb/chipidea/ci1
OTGSC_IDIS must be cleared in irq handler to avoid re-queue the work.
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/core.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 3c3ed77..19ef324 100644
--- a
States in gadget are not needed any more, set it to zero.
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/udc.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 9029985..fd27f4d 100644
--- a/drivers/usb/chipidea/udc.c
+++ b
One role failed, but the other role will possiblly still work.
For example, when udc start failed, if plug in a host device,
it works.
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/core.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/chipidea/co
Signed-off-by: Richard Zhao
---
drivers/usb/otg/mxs-phy.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/otg/mxs-phy.c
index c1a67cb..6a03e97 100644
--- a/drivers/usb/otg/mxs-phy.c
+++ b/drivers/usb/otg/mxs-phy.c
@@ -97,12 +97,
Using vbus valid interrupt to detect vbus.
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/ci.h |1 +
drivers/usb/chipidea/udc.c | 39 ++-
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipid
The ID pin needs 1ms debounce time, event at probe time. We delay 2ms
for safe.
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/core.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 1083585..3c3ed77 100644
--- a/drive
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/core.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 8fd390a..7485c84 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -4
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/Makefile |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile
index 5c66d9c..3f56b76 100644
--- a/drivers/usb/chipidea/Makefile
+++ b/drivers/usb/chipidea/Makefile
@@ -1,3 +1,5 @
set_vbus_power is used to enable or disable vbus power for usb host.
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/ci13xxx_imx.c | 39 +---
drivers/usb/chipidea/host.c|8
include/linux/usb/chipidea.h |2 ++
3 files changed,
i.MX usb controllers shares non-core registers, which may include
SoC specific controls. We take it as a usbmisc device and usbmisc
driver export functions needed by ci13xxx_imx driver.
For example, Sabrelite board has bad over-current design, we can
usbmisc to disable over-current detect.
Signed
- let role driver handle irq before ID change check. It give the
role driver a chance to handle disconnect.
- disable irq during switch role. No role driver to handle irq in
the period.
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/core.c | 21 +
1 file changed,
[snip]
> --- /dev/null
> +++ b/drivers/usb/chipidea/imx_usbmisc.c
> @@ -0,0 +1,144 @@
> +/*
> + * Copyright 2012 Freescale Semiconductor, Inc.
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + *
On 07/09/2012 10:17 PM, Alan Stern wrote:
> On Sun, 8 Jul 2012, Jonathan Nieder wrote:
>
>> Eric Ding wrote:
>>
>>> So it looks like you'd have to both look for USB_CLASS_VIDEO and check
>>> uvc_ids[] too... which becomes somewhat hairy, since I assume you don't
>>> realy want usb_detect_quirks()
Am 12.07.2012 10:05, schrieb Eric Ding:
> On 07/09/2012 10:17 PM, Alan Stern wrote:
>> On Sun, 8 Jul 2012, Jonathan Nieder wrote:
>>
>>> Eric Ding wrote:
>>>
So it looks like you'd have to both look for USB_CLASS_VIDEO and check
uvc_ids[] too... which becomes somewhat hairy, since I assum
On 07/12/2012 04:21 PM, Oleksij Rempel wrote:
>> On 07/09/2012 10:17 PM, Alan Stern wrote:
>>> On Sun, 8 Jul 2012, Jonathan Nieder wrote:
>>>
Eric Ding wrote:
> So it looks like you'd have to both look for USB_CLASS_VIDEO and check
> uvc_ids[] too... which becomes somewhat hairy,
The ehci_setup() require the pointer of usb_hcd.
Passing the correct pointer in place of ehci_hcd
pointer.
This is side effetct of change:
commit 1a49e2ac9651df7349867a5cf44e2c83de1046af
Author: Alan Stern
EHCI: centralize controller initialization
Signed-off-by: Laxman Dewangan
---
driv
Hi,
>
> Hello.
>
> On 11-07-2012 14:29, Damodar Santhapuri wrote:
>
> > From: Ajay Kumar Gupta
>
> > Added usb_ctrl0 and usb_ctrl1 base address as new memory resources
> > which will be used at am335x musb driver glue layer to turn on or
> > off builin PHY untill we have a separate system con
> -Original Message-
> From: Sebastian Andrzej Siewior [mailto:sebast...@breakpoint.cc]
> Sent: terça-feira, 10 de Julho de 2012 16:37
> To: Mario Jorge Isidoro
> Cc: Fabio Porcedda; Sebastian Andrzej Siewior; ba...@ti.com;
> gre...@linuxfoundation.org; linux-usb@vger.kernel.org; Nicolas F
Acked-by: Venu Byravarasu
Tested-by: Venu Byravarasu
On Thursday 12 July 2012 02:06 PM, Laxman Dewangan wrote:
The ehci_setup() require the pointer of usb_hcd.
Passing the correct pointer in place of ehci_hcd
pointer.
This is side effetct of change:
commit 1a49e2ac9651df7349867a5cf44e2c83de10
Bjørn Mork wrote:
> USB: option: add ZTE MF821D
> net: qmi_wwan: add ZTE MF821D
>
> drivers/net/usb/qmi_wwan.c |9 +
> drivers/usb/serial/option.c |2 ++
> 2 files changed, 11 insertions(+)
They work well. Thanks o lot to all people involved, especially Bjørn!
[ 1530.91713
As NOP device node is now added in am33xx tree so remove the call
which creates the NOP platform_device.
Signed-off-by: Ajay Kumar Gupta
---
drivers/usb/musb/musb_dsps.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/mus
AM33xx has two musb controller and they have one NOP PHY each.
Added the device tree data for NOP PHY.
Signed-off-by: Ajay Kumar Gupta
---
arch/arm/boot/dts/am33xx.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/d
AM335x and TI81xx platform has dual musb controller so updating the
musb_dspc.c to support the same.
Changes:
- Moved otg_workaround timer to glue structure
- Moved static local variable last_timer to glue structure
- PHY on/off related cleanups
Signed-off-by: Ajay Kumar G
Currently we have one single nop transceiver support as same is
defined as a global variable in drivers/usb/otg/nop-usb-xceiv.c.
This need to be changed to support multiple otg controller each
using nop transceiver on a platform such as am335x.
Signed-off-by: Ajay Kumar Gupta
---
arch/arm/mach-o
Added device tree support for dsps musb glue driver and updated the
Documentation with device tree binding information.
Signed-off-by: Ajay Kumar Gupta
---
.../devicetree/bindings/usb/am33xx-usb.txt | 14 +
drivers/usb/musb/musb_dsps.c | 62 +
Added 'id' field within 'struct musb' which can be used to determine
the current instance of musb controller.
Signed-off-by: Ajay Kumar Gupta
---
drivers/usb/musb/am35x.c |2 +-
drivers/usb/musb/blackfin.c |2 +-
drivers/usb/musb/da8xx.c |2 +-
drivers/usb/musb/davinci.c |
Hi,
This series of patches adds,
a) Multi instances support in musb driver
b) DT support for musb_dsps glue layer
c) DT support for NOP transceiver
AM33xx and TI81xx has dual musb controller and has two usb PHY of same type.
This patch series uses 'phandle' based API devm_usb_get_phy_by_phandle()
Moved global variable "musb_debugfs_root" and static variable
"old_state" to 'struct musb' to help support multi instance of
musb controller as present on AM335x platform.
Also removed the global variable "orig_dma_mask" and filled the
dev->dma_mask with parent device's dma_mask.
Signed-off-by: A
Added device tree support for nop transceiver driver and updated the
Documentation with device tree binding information for am33xx platform.
Signed-off-by: Ajay Kumar Gupta
---
.../devicetree/bindings/usb/am33xx-usb.txt |3 +++
drivers/usb/otg/nop-usb-xceiv.c| 1
AM33xx has two PHY of same type used by each musb controller so
use phandle of phy nodes to get the phy pointer.
Signed-off-by: Ajay Kumar Gupta
---
.../devicetree/bindings/usb/am33xx-usb.txt |2 ++
drivers/usb/musb/musb_dsps.c |4 +++-
2 files changed, 5 in
Added NOP PHY phandle to usbss device node as same will be used
to get the phy from otg framework.
Signed-off-by: Ajay Kumar Gupta
---
arch/arm/boot/dts/am33xx.dtsi |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.
Added device tree data for usbss on am33xx. There are two musb controllers
on am33xx platform so have port0_mode and port1_mode additional data.
Signed-off-by: Ajay Kumar Gupta
---
arch/arm/boot/dts/am33xx.dtsi | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/a
From: Ajay Kumar Gupta
Enabled the phy control logic for am335x also based on usbss
revision register.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Damodar Santhapuri
---
arch/arm/plat-omap/include/plat/usb.h |1 +
drivers/usb/musb/musb_dsps.c | 17 +++--
2 files
From: Ajay Kumar Gupta
AM335x uses NOP transceiver driver and need to enable builtin PHY
by writing into usb_ctrl register available in system control
module register space. This is being added at musb glue driver
layer untill a separate system control module driver is available.
Signed-off-by:
From: Ajay Kumar Gupta
Added usb_ctrl0 and usb_ctrl1 base address as new memory resources
which will be used at am335x musb driver glue layer to turn on or
off builin PHY untill we have a separate system control module
driver.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Damodar Santhapuri
-
Sold by O2 (telefonica germany) under the name "LTE4G"
Tested-by: Thomas Schäfer
Signed-off-by: Bjørn Mork
---
drivers/usb/serial/option.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 417ab1b..46cee56 100644
--- a/drive
Hi Ron/Greg,
I am facing similar issue with serial gadget configured on i.MX6Q
Sabrelite board.
In my case Host sends packets starting with 10 bytes to 2MB bytes in
increments of 1 byte. And device simply loopback the same packet with
status byte.
However everything works fine until Tx (repl
Sold by O2 (telefonica germany) under the name "LTE4G"
Tested-by: Thomas Schäfer
Signed-off-by: Bjørn Mork
---
I've verified that this applies cleanly to both net and net-next.
Please apply to the branch you find appropriate.
Thanks,
Bjørn
drivers/net/usb/qmi_wwan.c |9 +
1 file
Hi
On Thu, Nov 18, 2010 at 6:17 PM, Tatyana Brokhman
wrote:
>
> Add config_ep_by_speed() to configure the endpoint according to the gadget
> speed. Using this function will spare the FDs from handling the endpoint
> chosen descriptor.
>
> Signed-off-by: Tatyana Brokhman
> ---
> drivers/usb/gad
On 2012-07-11 17:15, Alan Stern wrote:
> On Wed, 11 Jul 2012, Udo van den Heuvel wrote:
>
>> New occurrence:
>
>> Any clues and/or updates?
>
> Didn't you see the message I posted on Monday?
>
> http://marc.info/?l=linux-usb&m=134186054713868&w=2
Nothing changed except the kernel.
Main c
On 07/12/2012 03:23 PM, Udo van den Heuvel wrote:
> How to list what modules/programs are using that irq?
cat /proc/interrupts
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.or
On 2012-07-12 15:43, Jan Ceuleers wrote:
> On 07/12/2012 03:23 PM, Udo van den Heuvel wrote:
>> How to list what modules/programs are using that irq?
>
> cat /proc/interrupts
# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 40 0 0 0
On Thu, 12 Jul 2012, Laxman Dewangan wrote:
> The ehci_setup() require the pointer of usb_hcd.
> Passing the correct pointer in place of ehci_hcd
> pointer.
>
> This is side effetct of change:
> commit 1a49e2ac9651df7349867a5cf44e2c83de1046af
> Author: Alan Stern
>
> EHCI: centralize contro
From: Laxman Dewangan
The ehci_setup() require the pointer of usb_hcd.
Passing the correct pointer in place of ehci_hcd
pointer.
This is side effect of change:
commit 1a49e2ac9651df7349867a5cf44e2c83de1046af
Author: Alan Stern
EHCI: centralize controller initialization
[Although I checked
Hi,
Resolved this by fixing a bug in device side transmit routine. Anyways thank you
guys. This was the only post I found on net with exactly my problem.
Regards,
Dipen Patel
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel
On Thu, 12 Jul 2012, Tomoya MORINAGA wrote:
> Intel EG20T USB host controller does not send SOF in resuming time
> after suspending, if the FLR bit was not cleared. When pen drive is
> attached, the controller has a long resuming time to try re-connect
> it. This patch clear the FLR bit in suspend
On Thu, 12 Jul 2012, Dipen Patel wrote:
>
> Hi Ron/Greg,
>
> I am facing similar issue with serial gadget configured on i.MX6Q
> Sabrelite board.
>
> In my case Host sends packets starting with 10 bytes to 2MB bytes in
> increments of 1 byte. And device simply loopback the same packet with
>
On Thu, 12 Jul 2012, Udo van den Heuvel wrote:
> # cat /proc/interrupts
>CPU0 CPU1 CPU2 CPU3
> 0: 40 0 0 0 IO-APIC-edge timer
> 1: 1 4 91884418 IO-APIC-edge i8042
> 4: 1
From: Dan Carpenter
Date: Wed, 11 Jul 2012 09:32:51 +0300
> "retval" has to be a signed integer for the error handling to work.
>
> Signed-off-by: Dan Carpenter
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.or
On Thu, Jul 12, 2012 at 04:35:57PM +0100, Richard Adams wrote:
> Hi,
>
> I've recently been doing some development work with the latest Linux Kernel
> (3.4 & 3.5rc6) and I'm experiencing problems with USB3 on both.
>
> I've been in conversation with the developers at gphoto and they've
> directed
On Thu, Jul 12, 2012 at 2:04 AM, Andiry Xu wrote:
> On 07/12/2012 10:53 AM, Matt Causey wrote:
>>
>> On Wed, Jul 11, 2012 at 11:03 AM, Matt Causey
>> wrote:
>>>
>>> On Wed, Jul 11, 2012 at 10:12 AM, Matt Causey
>>> wrote:
On Tue, Jul 10, 2012 at 10:55 PM, Andiry Xu wrote:
>
> On
Hi Andiry, hi Sarah,
Andiry is right, the test patch was applied. Please advise what I can do on
top of this ...
Thank you for all your time and all your efforts,
take care
Dieter Jurzitza
On Donnerstag, 12. Juli 2012 08:39:30 Andiry Xu wrote:
> The dmesg is catched with test patch applied,
> Hi,
>
> Resolved this by fixing a bug in device side transmit routine. Anyways thank
> you
> guys. This was the only post I found on net with exactly my problem.
>
Do you mean BUGs at fsl_udc_core.c?
Do you mind share of your finding?
Thanks,
Peter
> Regards,
> Dipen Patel
>
> --
> To unsubscr
On Thu, Jul 12, 2012 at 12:54 PM, Matt Causey wrote:
> On Thu, Jul 12, 2012 at 2:04 AM, Andiry Xu wrote:
>> On 07/12/2012 10:53 AM, Matt Causey wrote:
>>>
>>> On Wed, Jul 11, 2012 at 11:03 AM, Matt Causey
>>> wrote:
On Wed, Jul 11, 2012 at 10:12 AM, Matt Causey
wrote:
>
> O
Intel EG20T USB host controller does not send SOF in resuming time after
suspending, if the FLR bit was not cleared. When pen drive is attached,
the controller has a long resuming time to try re-connect it.
This patch clear the FLR bit in suspending time for fixing the issue.
Signed-off-by: Tomoya
The omap_ehci_init() is introduced in the below commit:
commit 1a49e2ac9651df7349867a5cf44e2c83de1046af(EHCI:
centralize controller initialization)
the local variable of 'pdev' inside omap_ehci_init() is used
but not defined, so fix the bug.
Cc: Alan Stern
Signed-off-by: Ming Le
On Fri, Jul 13, 2012 at 11:54 AM, Ming Lei wrote:
> The omap_ehci_init() is introduced in the below commit:
>
> commit 1a49e2ac9651df7349867a5cf44e2c83de1046af(EHCI:
> centralize controller initialization)
>
> the local variable of 'pdev' inside omap_ehci_init() is used
> but not d
Convert the existing uses of random_ether_addr to
the new eth_random_addr.
Signed-off-by: Joe Perches
---
drivers/usb/atm/xusbatm.c|4 ++--
drivers/usb/gadget/u_ether.c |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/x
net-next commit ad7eee98be ("etherdevice: introduce eth_broadcast_addr")
added a new style API. Rename random_ether_addr to eth_random_addr to
create some API symmetry.
Joe Perches (8):
etherdevice: Rename random_ether_addr to eth_random_addr
ethernet: Use eth_random_addr
net: usb: Use eth_
Convert the existing uses of random_ether_addr to
the new eth_random_addr.
Signed-off-by: Joe Perches
---
drivers/net/usb/smsc75xx.c |2 +-
drivers/net/usb/smsc95xx.c |2 +-
drivers/net/usb/usbnet.c |2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/u
On Thursday 12 July 2012 08:04 PM, Alan Stern wrote:
From: Laxman Dewangan
The ehci_setup() require the pointer of usb_hcd.
Passing the correct pointer in place of ehci_hcd
pointer.
This is side effect of change:
commit 1a49e2ac9651df7349867a5cf44e2c83de1046af
Author: Alan Stern
EHCI: cen
Hi ,
I am working on 3.4 kernel , when i try to connect a USB 2.0 device on Super
Speed HUB , i get following error.
usb 3-1.1: Device not responding to set address.
usb 3-1.1: device not accepting address 3, error -71
any inputs will be of great help.
Thanks and Regards
Vikas Sajjan
64 matches
Mail list logo