[PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Michael Trimarchi
and also receives the pad value as an input • GPIO capture: the module of a selected alternative function drives the pin and the value is captured by the GPIO Signed-off-by: Michael Trimarchi <mich...@amarulasolutions.com> --- Refer-to: MX25 USB timeout on ID 0951:1665 Kingston Tech

[RFC V2 PATCH 3/3] usb: chipidea: usbmisc: small clean up

2018-01-18 Thread Michael Trimarchi
The register write can be done outside the if and else condition Signed-off-by: Michael Trimarchi <mich...@amarulasolutions.com> --- Changes v1->v2: - None --- drivers/usb/chipidea/usbmisc_imx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb

[RFC V2 PATCH 2/3] usb: chipidea: usbmisc: evdo can be set e/o reset

2018-01-18 Thread Michael Trimarchi
evdo bit can be set or reset. We can not trust evdo bit status after bootloader stage Signed-off-by: Michael Trimarchi <mich...@amarulasolutions.com> --- Changes v1->v2: - None --- drivers/usb/chipidea/usbmisc_imx.c | 20 1 file changed, 12 insertions(+), 8

[RFC V2 PATCH 1/3] usb: chipidea: usbmisc: evdo is only specific to OTG port

2018-01-18 Thread Michael Trimarchi
The USB_PHY_CTRL_FUNC is used specific for OTG port as described in user manual. EVDO need to be set only for index 0 that correspond to OTG port Signed-off-by: Michael Trimarchi <mich...@amarulasolutions.com> --- Changes v1->v2 - %s/corrispond/correspond/ --- drivers/usb

[RFC PATCH 1/3] usb: chipidea: usbmisc: evdo is only specific to OTG port

2018-01-13 Thread Michael Trimarchi
The USB_PHY_CTRL_FUNC is used specific for OTG port as described in user manual. EVDO need to be set only for index 0 that corrispond to OTG port Signed-off-by: Michael Trimarchi <mich...@amarulasolutions.com> --- drivers/usb/chipidea/usbmisc_imx.c | 3 +++ 1 file changed, 3 insertions(+)

[RFC PATCH 3/3] usb: chipidea: usbmisc: small clean up

2018-01-13 Thread Michael Trimarchi
The register write can be done outside the if and else condition Signed-off-by: Michael Trimarchi <mich...@amarulasolutions.com> --- drivers/usb/chipidea/usbmisc_imx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/ch

[RFC PATCH 2/3] usb: chipidea: usbmisc: evdo can be set e/o reset

2018-01-13 Thread Michael Trimarchi
evdo bit can be set or reset. We can not trust evdo bit status after bootloader stage Signed-off-by: Michael Trimarchi <mich...@amarulasolutions.com> --- drivers/usb/chipidea/usbmisc_imx.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/drive

Re: [RFC PATCH] usb: dwc3: ep0: Fix mem corruption on OUT transfers of more than 512 bytes

2015-06-11 Thread Michael Trimarchi
Hi On Tue, Jun 9, 2015 at 3:44 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Tuesday 09 June 2015 08:09 PM, Michael Trimarchi wrote: Hi On Jun 9, 2015 4:36 PM, Kishon Vijay Abraham I kis...@ti.com mailto:kis...@ti.com wrote: DWC3 uses bounce buffer to handle non max packet

Re: ehci_bus_suspend system halt

2015-05-29 Thread Michael Trimarchi
Hi On Thu, May 28, 2015 at 01:42:07PM -0400, Alan Stern wrote: On Thu, 28 May 2015, Michael Trimarchi wrote: Hi Alan we are working on a samsung exysnos5430 device and we have some problem during suspend. The only way to solve it seems this patch. We don't really know what could

Re: ehci_bus_suspend system halt

2015-05-29 Thread Michael Trimarchi
Hi On Thu, May 28, 2015 at 01:42:07PM -0400, Alan Stern wrote: On Thu, 28 May 2015, Michael Trimarchi wrote: Hi Alan we are working on a samsung exysnos5430 device and we have some problem during suspend. The only way to solve it seems this patch. We don't really know what could

ehci_bus_suspend system halt

2015-05-28 Thread Michael Trimarchi
Hi Alan we are working on a samsung exysnos5430 device and we have some problem during suspend. The only way to solve it seems this patch. We don't really know what could be the problem. Do you have any suggestion to debug it? diff --git a/drivers/usb/host/ehci-hub.c

Re: [PATCH V2] usb: gadget: f_uac1: check return code from config_ep_by_speed

2015-05-25 Thread Michael Trimarchi
Hi Felipe On Mon, May 18, 2015 at 05:28:58PM +0200, Michael Trimarchi wrote: Not checking config_ep_by_speed could lead to a kernel NULL pointer dereference error in usb_ep_enable Cc: Felipe Balbi ba...@ti.com Signed-off-by: Michael Trimarchi mich...@amarulasolutions.com --- v2

Re: OMAP3/AM3517 EHCI USB Issue

2014-09-19 Thread Michael Trimarchi
Hi Roger On Fri, Sep 19, 2014 at 11:22 AM, Roger Quadros rog...@ti.com wrote: Hi Michael, On 08/04/2014 06:27 PM, Michael Welling wrote: On Mon, Aug 04, 2014 at 12:34:16PM +0300, Roger Quadros wrote: On 08/02/2014 02:51 AM, Michael Welling wrote: On Fri, Aug 1, 2014 at 6:04 PM, Michael

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

2013-12-02 Thread Michael Trimarchi
Hi Roger On Mon, Dec 2, 2013 at 10:39 AM, Roger Quadros rog...@ti.com wrote: +Benoit, Tony, Paul. Hi Michael, On 11/30/2013 06:48 AM, Michael Trimarchi wrote: Hi Roger On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros rog...@ti.com wrote: With u-boot 2013.10, USB devices are sometimes

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 mich...@amarulasolutions.com wrote: Hi On Sat, Nov 30, 2013 at 5:48 AM, Michael Trimarchi mich...@amarulasolutions.com wrote: Hi Roger On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros rog...@ti.com wrote: With u-boot 2013.10, USB devices

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

2013-11-29 Thread Michael Trimarchi
Hi Roger On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros rog...@ti.com wrote: With u-boot 2013.10, USB devices are sometimes not detected on OMAP4 Panda. To make us independent of what bootloader does with the USB Host module, we must RESET it to get it to a known good state. This patch Soft

Re: omap4 ehci sporadic resume issue

2013-08-30 Thread Michael Trimarchi
Hi Roger On Thu, Jul 4, 2013 at 10:53 AM, Michael Trimarchi mich...@amarulasolutions.com wrote: Hi On 07/02/2013 05:03 PM, Roger Quadros wrote: On 07/02/2013 05:49 PM, Michael Trimarchi wrote: Hi Roger On 07/02/2013 04:42 PM, Roger Quadros wrote: On 06/28/2013 07:47 PM, Michael Trimarchi

Re: omap4 ehci sporadic resume issue

2013-07-04 Thread Michael Trimarchi
Hi On 07/02/2013 05:03 PM, Roger Quadros wrote: On 07/02/2013 05:49 PM, Michael Trimarchi wrote: Hi Roger On 07/02/2013 04:42 PM, Roger Quadros wrote: On 06/28/2013 07:47 PM, Michael Trimarchi wrote: Hi When you said earlier that the problem doesn't happen when one of the ULPIs

Re: omap4 ehci sporadic resume issue

2013-07-02 Thread Michael Trimarchi
Hi Roger On 07/02/2013 04:42 PM, Roger Quadros wrote: On 06/28/2013 07:47 PM, Michael Trimarchi wrote: Hi On Fri, Jun 28, 2013 at 02:46:11PM +0300, Roger Quadros wrote: On 06/28/2013 02:33 PM, Michael Trimarchi wrote: Hi Roger On Thu, Jun 27, 2013 at 11:07:11PM +0300, Ruslan Bilovol wrote

Re: omap4 ehci sporadic resume issue

2013-06-28 Thread Michael Trimarchi
Hi Roger On Thu, Jun 27, 2013 at 11:07:11PM +0300, Ruslan Bilovol wrote: On Thu, Jun 27, 2013 at 10:24 PM, Michael Trimarchi mich...@amarulasolutions.com wrote: Hi On Thu, Jun 27, 2013 at 09:59:35PM +0300, Ruslan Bilovol wrote: Hello guys, On Thu, Jun 27, 2013 at 8:56 PM, Michael

Re: omap4 ehci sporadic resume issue

2013-06-28 Thread Michael Trimarchi
Hi On Fri, Jun 28, 2013 at 02:46:11PM +0300, Roger Quadros wrote: On 06/28/2013 02:33 PM, Michael Trimarchi wrote: Hi Roger On Thu, Jun 27, 2013 at 11:07:11PM +0300, Ruslan Bilovol wrote: On Thu, Jun 27, 2013 at 10:24 PM, Michael Trimarchi mich...@amarulasolutions.com wrote: Do

Re: omap4 ehci sporadic resume issue

2013-06-28 Thread Michael Trimarchi
Hi On Fri, Jun 28, 2013 at 03:55:08PM +0300, Roger Quadros wrote: On 06/28/2013 03:26 PM, Michael Trimarchi wrote: Hi On Fri, Jun 28, 2013 at 02:46:11PM +0300, Roger Quadros wrote: On 06/28/2013 02:33 PM, Michael Trimarchi wrote: Hi Roger On Thu, Jun 27, 2013 at 11:07:11PM +0300

Re: omap4 ehci sporadic resume issue

2013-06-28 Thread Michael Trimarchi
Hi On Fri, Jun 28, 2013 at 02:46:11PM +0300, Roger Quadros wrote: On 06/28/2013 02:33 PM, Michael Trimarchi wrote: Hi Roger On Thu, Jun 27, 2013 at 11:07:11PM +0300, Ruslan Bilovol wrote: On Thu, Jun 27, 2013 at 10:24 PM, Michael Trimarchi mich...@amarulasolutions.com wrote: Do

Re: omap4 ehci sporadic resume issue

2013-06-28 Thread Michael Trimarchi
Hi On 06/28/2013 01:46 PM, Roger Quadros wrote: On 06/28/2013 02:33 PM, Michael Trimarchi wrote: Hi Roger On Thu, Jun 27, 2013 at 11:07:11PM +0300, Ruslan Bilovol wrote: On Thu, Jun 27, 2013 at 10:24 PM, Michael Trimarchi mich...@amarulasolutions.com wrote: Do you have locks around

omap4 ehci sporadic resume issue

2013-06-27 Thread Michael Trimarchi
Hi I'm working on omap4460 with two ulpi connected to (SMSC3320 - HUB SMSC2514) or (TUSB1210 - HUB SMSC2514). The problem only happen when both port are used and after few suspend resume are triggered. If I use just one port there is no issue on suspend resume. I already covered all TI errata

Re: omap4 ehci sporadic resume issue

2013-06-27 Thread Michael Trimarchi
Hi Roger On Thu, Jun 27, 2013 at 04:59:38PM +0300, Roger Quadros wrote: Hi Michael, On 06/27/2013 02:51 PM, Michael Trimarchi wrote: Hi I'm working on omap4460 with two ulpi connected to (SMSC3320 - HUB SMSC2514) or (TUSB1210 - HUB SMSC2514). The problem only happen when both

Re: omap4 ehci sporadic resume issue

2013-06-27 Thread Michael Trimarchi
Hi Roger On Thu, Jun 27, 2013 at 05:49:41PM +0300, Roger Quadros wrote: +Ruslan On 06/27/2013 05:17 PM, Michael Trimarchi wrote: Hi Roger On Thu, Jun 27, 2013 at 04:59:38PM +0300, Roger Quadros wrote: Hi Michael, On 06/27/2013 02:51 PM, Michael Trimarchi wrote: Hi I'm

Re: omap4 ehci sporadic resume issue

2013-06-27 Thread Michael Trimarchi
Hi On Thu, Jun 27, 2013 at 11:07:11PM +0300, Ruslan Bilovol wrote: On Thu, Jun 27, 2013 at 10:24 PM, Michael Trimarchi mich...@amarulasolutions.com wrote: Hi On Thu, Jun 27, 2013 at 09:59:35PM +0300, Ruslan Bilovol wrote: Hello guys, On Thu, Jun 27, 2013 at 8:56 PM, Michael

EHCI isoc free-list recycling

2013-03-21 Thread Michael Trimarchi
Dear Alan I'm facing an issue on isoc sitd dma recycling. I'm using an omap3 (beableboard xM) board and after a while I don't have anymore the possibity to allocate dma sitd from the pool (128Kb, 1M, 4M, it is a matter of time). I'm playing flac music from usb disk and send on a dac connected

Re: [PATCH] USB: EHCI: fix for leaking isochronous data

2013-03-21 Thread Michael Trimarchi
Hi On 21/03/13 20:10, Arnd Bergmann wrote: On Thursday 21 March 2013, Jason Cooper wrote: On Thu, Mar 21, 2013 at 06:04:59PM +0100, Soeren Moch wrote: Now I found out what is going on here: In itd_urb_transaction() we allocate 9 iTDs for each URB with number_of_packets == 64 in my case.

Re: [PATCH 4/7] usb: otg: twl4030-usb: poll for ID disconnect

2013-03-10 Thread Michael Trimarchi
Hi just one comment. On 10/03/13 02:07, Grazvydas Ignotas wrote: On pandora, STS_USB interrupt doesn't arrive on USB host cable disconnect for some reason while VBUS is driven by twl itself, but STS_HW_CONDITIONS is updated correctly. It does work fine when PHY is powered down though. To

Re: [PATCH] musb: omap2430: fix the readiness check in omap_musb_mailbox

2012-12-22 Thread Michael Trimarchi
Hi Aaro Koskinen aaro.koski...@iki.fi wrote: The check in omap_musb_mailbox does not properly check if the module has been fully initialized. The patch fixes that, and the kernel panic below: $ modprobe twl4030-usb [ 13.924743] twl4030_usb twl4030-usb.33: HW_CONDITIONS 0xe0/224; link 3 [