Re: [PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-22 Thread Roger Quadros
On 22/01/15 15:32, Roger Quadros wrote: Felipe, On 20/01/15 21:02, Felipe Balbi wrote: On Mon, Jan 19, 2015 at 07:52:17PM +0200, Roger Quadros wrote: Hi, On DRA7 EVMs the USB ID pin is connected to a GPIO line. The USB drivers (dwc3 + dwc3-omap) depend on extcon framework to get the USB

Re: [PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-22 Thread Roger Quadros
Felipe, On 22/01/15 22:29, Felipe Balbi wrote: On Thu, Jan 22, 2015 at 04:57:56PM +0200, Roger Quadros wrote: On 22/01/15 15:32, Roger Quadros wrote: Felipe, On 20/01/15 21:02, Felipe Balbi wrote: On Mon, Jan 19, 2015 at 07:52:17PM +0200, Roger Quadros wrote: Hi, On DRA7 EVMs the USB ID

Re: [PATCH 5/5] ARM: omap2plus_defconfig: Enable PCF857X and EXTCON_GPIO_USB

2015-01-20 Thread Roger Quadros
On 19/01/15 21:38, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [150119 10:52]: * Roger Quadros rog...@ti.com [150119 09:55]: Both are needed for USB cable type detection on dra7-evm. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/configs/omap2plus_defconfig | 2 ++ 1

[PATCH 4/5] ARM: dts: dra72-evm: Add extcon nodes for USB

2015-01-19 Thread Roger Quadros
/peripheral). Gets USB peripheral mode to work on this EVM. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra72-evm.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index 89085d0

[PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-19 Thread Roger Quadros
. cheers, -roger [1] - https://lkml.org/lkml/2014/11/3/513 Roger Quadros (5): extcon: gpio-usb: Introduce gpio usb extcon driver usb: extcon: Fix USB-Host cable name ARM: dts: dra7-evm: Add extcon nodes for USB ARM: dts: dra72-evm: Add extcon nodes for USB ARM: omap2plus_defconfig: Enable

[PATCH 2/5] usb: extcon: Fix USB-Host cable name

2015-01-19 Thread Roger Quadros
The recommended name for USB-Host cable state is USB-Host and not USB-HOST as per drivers/extcon/extcon-class.c extcon_cable_name. Change all instances of USB-HOST to USB-Host. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/extcon/extcon-palmas.c | 18 +- drivers/usb

[PATCH 1/5] extcon: gpio-usb: Introduce gpio usb extcon driver

2015-01-19 Thread Roger Quadros
. For the USB case we need to handle 2 cable states. 1) USB (attach/detach) 2) USB-Host (attach/detach) This driver can be easily updated in the future to handle VBUS events in case it happens to be available on GPIO for any platform. Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings

[PATCH 3/5] ARM: dts: dra7-evm: Add extcon nodes for USB

2015-01-19 Thread Roger Quadros
/peripheral). Gets USB peripheral mode to work on this EVM. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 10b725c

[PATCH 5/5] ARM: omap2plus_defconfig: Enable PCF857X and EXTCON_GPIO_USB

2015-01-19 Thread Roger Quadros
Both are needed for USB cable type detection on dra7-evm. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/configs/omap2plus_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index c2c3a85..bc23b90

Re: dwc3 gadget fails on dra7-evm

2015-01-15 Thread Roger Quadros
On 14/01/15 18:57, Felipe Balbi wrote: Hi, On Wed, Jan 14, 2015 at 05:44:08PM +0200, Roger Quadros wrote: In 3.19-rc4 on dra7-evm or dra72-evm modprobe g_zero [ 34.680683] zero gadget: Gadget Zero, version: Cinco de Mayo 2008 [ 34.687074] zero gadget: zero ready [ 34.694133] dwc3

dwc3 gadget fails on dra7-evm

2015-01-14 Thread Roger Quadros
Hi, In 3.19-rc4 on dra7-evm or dra72-evm modprobe g_zero [ 34.680683] zero gadget: Gadget Zero, version: Cinco de Mayo 2008 [ 34.687074] zero gadget: zero ready [ 34.694133] dwc3 4889.usb: failed to enable ep0out [ 34.701600] zero 4889.usb: failed to start zero: -110 ERROR: could

Re: [PATCH] usb: usb-nop-xceiv.txt: Fix the description of 'vcc-supply'

2014-12-15 Thread Roger Quadros
that the description of vcc-supply and reset-supply was swapped in the original commit 0eba387973f5 that introduced this file. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Acked-by: Roger Quadros rog...@ti.com cheers, -roger --- Documentation/devicetree/bindings/usb/usb-nop

Re: About wakeup IRQ support in USB core

2014-11-17 Thread Roger Quadros
Hi Yu, On 11/17/2014 07:51 AM, Wang, Yu wrote: Hi Roger, I saw one old thread about your patch for wakeup IRQ support in USB core. We need it for Intel platform. And it is work well on intel platform. May I know why this patch haven't get merged so far? I saw everything was smooth

[PATCH] usb: dwc3: gadget: Fix broken gadget on system suspend/resume

2014-11-12 Thread Roger Quadros
] [c0630964] (__irq_svc) from [c00926cc] (cpu_startup_entry+0x100/0x1f4) [ 55.718444] [c00926cc] (cpu_startup_entry) from [c0901ac4] (start_kernel+0x324/0x388) Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/dwc3/gadget.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

Re: [PATCH] usb: dwc3: gadget: Fix broken gadget on system suspend/resume

2014-11-12 Thread Roger Quadros
On 11/12/2014 05:08 PM, Felipe Balbi wrote: On Wed, Nov 12, 2014 at 04:58:16PM +0200, Roger Quadros wrote: On TI SoCs (e.g. DRA7) we don't support the DWC3 hibernation feature. We need to stop the gadget controller while system suspend else it results in L3 Bus errors on resume with broken

Re: [PATCH] usb: dwc3: gadget: Fix broken gadget on system suspend/resume

2014-11-12 Thread Roger Quadros
On 11/12/2014 05:36 PM, Felipe Balbi wrote: Hi, On Wed, Nov 12, 2014 at 05:32:00PM +0200, Roger Quadros wrote: On 11/12/2014 05:08 PM, Felipe Balbi wrote: On Wed, Nov 12, 2014 at 04:58:16PM +0200, Roger Quadros wrote: On TI SoCs (e.g. DRA7) we don't support the DWC3 hibernation feature. We

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-10-08 Thread Roger Quadros
to pm_runtime_enable() function is moved after the call to devm_phy_create() function, which has side effect since later in the subsequent calls of devm_phy_create() there is a check with pm_runtime_enabled() to configure few things. Signed-off-by: Oussama Ghorbel ghor...@pivasoftware.com Acked-by: Roger

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-10-08 Thread Roger Quadros
/2014 09:17 AM, Roger Quadros wrote: Hi Oussama, On 10/07/2014 02:02 PM, Oussama Ghorbel wrote: The USB OTG port does not work since v3.16 on omap platform. This is a regression introduced by the commit eb82a3d846fa (phy: omap-usb2: Balance pm_runtime_enable() on probe failure and remove

Re: OMAP3/AM3517 EHCI USB Issue

2014-09-19 Thread Roger Quadros
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 Welling mwell...@emacinc.com wrote: On Wed, Jul 30, 2014 at 12:03:22PM +0300

Re: OMAP3/AM3517 EHCI USB Issue

2014-09-19 Thread Roger Quadros
On 09/19/2014 12:37 PM, Michael Trimarchi wrote: Hi Roger On Fri, Sep 19, 2014 at 11:22 AM, Roger Quadros rog...@ti.com wrote: Hi Michael, snip It should be noted that the external HUB must be prevented from autosuspend otherwise the resume fails. OK. I was able to reproduce

Re: [PATCH v2] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-28 Thread Roger Quadros
On 08/28/2014 12:02 AM, Greg KH wrote: On Wed, Aug 27, 2014 at 12:23:39PM -0700, Greg KH wrote: On Wed, Aug 27, 2014 at 03:11:10PM +0300, Roger Quadros wrote: If user specifies that USB autosuspend must be disabled by module parameter usbcore.autosuspend=-1 then we must prevent autosuspend

Re: [PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-27 Thread Roger Quadros
On 08/04/2014 05:07 PM, Alan Stern wrote: On Mon, 4 Aug 2014, Roger Quadros wrote: If user specifies that USB autosuspend must be disabled by module parameter usbcore.autosuspend=-1 then we must prevent autosuspend of USB hub devices as well. commit 596d789a211d introduced in v3.8 changed

[PATCH v2] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-27 Thread Roger Quadros
. Fixes: 596d789a211d USB: set hub's default autosuspend delay as 0 Cc: [3.8+] sta...@vger.kernel.org Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/core/hub.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c

Re: OMAP3/AM3517 EHCI USB Issue

2014-08-04 Thread Roger Quadros
On 08/02/2014 02:51 AM, Michael Welling wrote: On Fri, Aug 1, 2014 at 6:04 PM, Michael Welling mwell...@emacinc.com wrote: On Wed, Jul 30, 2014 at 12:03:22PM +0300, Roger Quadros wrote: On 07/29/2014 06:20 PM, Michael Welling wrote: On Tue, Jul 29, 2014 at 11:59:07AM +0300, Roger Quadros wrote

[PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-04 Thread Roger Quadros
. Fixes: 596d789a211d USB: set hub's default autosuspend delay as 0 Cc: [3.8+] sta...@vger.kernel.org Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/core/hub.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index

Re: OMAP3/AM3517 EHCI USB Issue

2014-07-30 Thread Roger Quadros
On 07/29/2014 06:20 PM, Michael Welling wrote: On Tue, Jul 29, 2014 at 11:59:07AM +0300, Roger Quadros wrote: Hi Michael, On 07/28/2014 09:10 PM, Felipe Balbi wrote: On Mon, Jul 28, 2014 at 12:57:39PM -0500, Michael Welling wrote: On Mon, Jul 28, 2014 at 10:57:18AM -0500, Felipe Balbi wrote

Re: [PATCH] drivers:mfd:omap-usb-host.c: Fix improper mask use.

2014-07-29 Thread Roger Quadros
])) { - reg = OMAP_UHH_HOSTCONFIG_ULPI_BYPASS; + reg = ~OMAP_UHH_HOSTCONFIG_ULPI_BYPASS; break; } } Acked-by: Roger Quadros rog...@ti.com Good catch! It seems the regression was introduced

Re: OMAP3/AM3517 EHCI USB Issue

2014-07-29 Thread Roger Quadros
Hi Michael, On 07/28/2014 09:10 PM, Felipe Balbi wrote: On Mon, Jul 28, 2014 at 12:57:39PM -0500, Michael Welling wrote: On Mon, Jul 28, 2014 at 10:57:18AM -0500, Felipe Balbi wrote: Hi, On Mon, Jul 28, 2014 at 10:29:49AM -0500, Michael Welling wrote: On Mon, Jul 28, 2014 at 11:02:47AM

Re: [PATCH RESEND V2] usb: phy: am335x: Use SIMPLE_DEV_PM_OPS macro

2014-07-09 Thread Roger Quadros
On 07/08/2014 02:51 PM, Jingoo Han wrote: Use SIMPLE_DEV_PM_OPS macro and remove DEV_PM_OPS macro, in order to make the code simpler. Signed-off-by: Jingoo Han jg1@samsung.com Acked-by: Roger Quadros rog...@ti.com --- drivers/usb/phy/phy-am335x.c | 12 +++- 1 file changed

Re: [PATCH v2 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-07 Thread Roger Quadros
Hi Tony, On 07/07/2014 11:29 AM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [140704 02:57]: After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. Since the PHY IPs don't contain isolation logic built in the design

[PATCH v2 6/6] ARM: dts: dra7-evm: Add regulator information to USB2 PHYs

2014-07-04 Thread Roger Quadros
The ldousb_reg regulator provides power to the USB1 and USB2 High Speed PHYs. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 8308954

[PATCH v2 5/6] phy: omap-usb2: Balance pm_runtime_enable() on probe failure and remove

2014-07-04 Thread Roger Quadros
the pm_runtime_enable() call in .remove() as well. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-omap-usb2.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c index 7007c11..3a1d00e 100644

[PATCH v2 4/6] phy: core: Add phy-supply to DT binding documentation

2014-07-04 Thread Roger Quadros
phy-supply is a phandle to the regulator that provides power to the PHY. This regulator is managed during the PHY power on/off sequence by the phy core driver. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/phy-bindings.txt | 4 1 file changed, 4

[PATCH v2 3/6] phy: core: Support regulator supply for PHY power

2014-07-04 Thread Roger Quadros
Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 26 ++ include/linux/phy/phy.h | 2 ++ 2 files changed, 28

[PATCH v2 2/6] phy: core: Fix error path in phy_create()

2014-07-04 Thread Roger Quadros
Prevent resources from being freed twice in case device_add() call fails within phy_create(). Also use ida_simple_remove() instead of ida_remove() as we had used ida_simple_get() to allocate the ida. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 7 --- 1 file

[PATCH v2 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-04 Thread Roger Quadros
: Rajendra Nayak rna...@ti.com CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 4adc280..8308954 100644 --- a/arch/arm

[PATCH v2 0/6] omap: phy: dra7-evm PHY fixes for 3.16

2014-07-04 Thread Roger Quadros
1V8_PHY power line - added pm_runtime_disable in omap_usb2_remove() --- Roger Quadros (6): ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on phy: core: Fix error path in phy_create() phy: core: Support regulator supply for PHY power phy: core: Add phy-supply to DT binding documentation

Re: [PATCH 3/6] phy: core: Support regulator supply for PHY power

2014-07-03 Thread Roger Quadros
On 07/02/2014 03:32 PM, Sergei Shtylyov wrote: Hello. On 07/02/2014 04:03 PM, Roger Quadros wrote: Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros rog...@ti.com

[PATCH v2 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-03 Thread Roger Quadros
From: Roger Quadros rog...@ti.com After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. Since the PHY IPs don't contain isolation logic built in the design to allow the power rail to be switched off, there is a very high risk

[PATCH v2 3/6] phy: core: Support regulator supply for PHY power

2014-07-03 Thread Roger Quadros
From: Roger Quadros rog...@ti.com Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 27 +++ include/linux/phy/phy.h

Re: [PATCH 5/6] phy: omap-usb2: Balance pm_runtime_enable() on probe failure

2014-07-03 Thread Roger Quadros
On 07/03/2014 04:31 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Wednesday 02 July 2014 05:33 PM, Roger Quadros wrote: If probe fails then we need to call pm_runtime_disable() to balance out the previous pm_runtime_enable() call. Else it will cause unbalanced pm_runtime_enable() call

Re: [PATCH v3 5/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-07-02 Thread Roger Quadros
Sekhar, On 06/18/2014 02:19 PM, Rajendra Nayak wrote: On Wednesday 18 June 2014 04:40 PM, Roger Quadros wrote: + Nishant and Rajendra for review. On 05/05/2014 12:54 PM, Roger Quadros wrote: Add the sysconfig class bits for the Super Speed USB controllers CC: Paul Walmsley p...@pwsan.com

[PATCH 5/6] phy: omap-usb2: Balance pm_runtime_enable() on probe failure

2014-07-02 Thread Roger Quadros
-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-omap-usb2.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c index 7007c11..c6f9809 100644 --- a/drivers/phy/phy-omap-usb2.c +++ b/drivers/phy/phy-omap-usb2.c

[PATCH 6/6] ARM: dts: dra7-evm: Add regulator information to USB2 PHYs

2014-07-02 Thread Roger Quadros
The ldousb_reg regulator provides power to the USB1 and USB2 High Speed PHYs. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 8308954

[PATCH 2/6] phy: core: Fix error path in phy_create()

2014-07-02 Thread Roger Quadros
Prevent resources from being freed twice in case device_add() call fails within phy_create(). Also use ida_simple_remove() instead of ida_remove() as we had used ida_simple_get() to allocate the ida. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 7 --- 1 file

[PATCH 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Roger Quadros
...@ti.com CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 4adc280..8308954 100644 --- a/arch/arm/boot/dts/dra7-evm.dts

[PATCH 3/6] phy: core: Support regulator supply for PHY power

2014-07-02 Thread Roger Quadros
Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 32 include/linux/phy/phy.h | 2 ++ 2 files changed, 34

[PATCH 4/6] phy: core: Add phy-supply to DT binding documentation

2014-07-02 Thread Roger Quadros
phy-supply is a phandle to the regulator that provides power to the PHY. This regulator is managed during the PHY power on/off sequence by the phy core driver. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/phy-bindings.txt | 4 1 file changed, 4

[PATCH 0/6] omap: phy: dra7-evm PHY fixes for 3.16

2014-07-02 Thread Roger Quadros
power on/off. Finally we add the 3.3V regulator information to the USB2 PHYs. This series should get the USB and SATA working again on 3.16 on DRA7-evm. cheers, -roger --- Roger Quadros (6): ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on phy: core: Fix error path in phy_create() phy

Re: [PATCH 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Roger Quadros
On 07/02/2014 04:05 PM, Nishanth Menon wrote: On 07/02/2014 07:03 AM, Roger Quadros wrote: After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. It can only be switched off when in PORz (power on reset). I dont think

Re: [PATCH 1/3] phy: omap-usb2: Manage PHY 3.3V supply regulator

2014-07-01 Thread Roger Quadros
On 07/01/2014 12:56 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Monday 30 June 2014 04:30 PM, Roger Quadros wrote: On some SoCs e.g. J6 the 3.3V supply to the USB2 PHY can be powered down when the PHY is not in use. Add regulator management code to control this power line. Signed-off

Re: [PATCH 1/3] phy: omap-usb2: Manage PHY 3.3V supply regulator

2014-07-01 Thread Roger Quadros
On 07/01/2014 01:20 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 01 July 2014 03:43 PM, Roger Quadros wrote: On 07/01/2014 12:56 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Monday 30 June 2014 04:30 PM, Roger Quadros wrote: On some SoCs e.g. J6 the 3.3V supply to the USB2 PHY can

[PATCH 2/3] phy: omap-usb2: Add PHY regulator to DT binding documentation

2014-06-30 Thread Roger Quadros
The PHY driver can manage a regulator that supplies power to the USB2 PHY. Add DT binding information for that. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH 3/3] ARM: dts: dra7-evm: Add regulator information to USB2 PHYs

2014-06-30 Thread Roger Quadros
The ldousb_reg regulator provides power to the USB1 and USB2 High Speed PHYs. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 4adc280

[PATCH 0/3] PHY: ti-pipe3: Manage 3.3V PHY regulator

2014-06-30 Thread Roger Quadros
Hi, On some SoCs e.g. J6 the 3.3V supply to the USB2 PHY can be powered down when the PHY is not in use. Add regulator management code to control this power line. cheers, -roger --- Roger Quadros (3): phy: omap-usb2: Manage PHY 3.3V supply regulator phy: omap-usb2: Add PHY regulator to DT

[PATCH 1/3] phy: omap-usb2: Manage PHY 3.3V supply regulator

2014-06-30 Thread Roger Quadros
On some SoCs e.g. J6 the 3.3V supply to the USB2 PHY can be powered down when the PHY is not in use. Add regulator management code to control this power line. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-omap-usb2.c | 25 + include/linux/phy/omap_usb.h

Re: [PATCH v3 5/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-06-18 Thread Roger Quadros
+ Nishant and Rajendra for review. On 05/05/2014 12:54 PM, Roger Quadros wrote: Add the sysconfig class bits for the Super Speed USB controllers CC: Paul Walmsley p...@pwsan.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 12 1

Re: [PATCH v3 5/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-06-18 Thread Roger Quadros
On 06/18/2014 02:19 PM, Rajendra Nayak wrote: On Wednesday 18 June 2014 04:40 PM, Roger Quadros wrote: + Nishant and Rajendra for review. On 05/05/2014 12:54 PM, Roger Quadros wrote: Add the sysconfig class bits for the Super Speed USB controllers CC: Paul Walmsley p...@pwsan.com Signed

Re: [PATCH v3 7/7] dts: dra7-evm: add USB support

2014-05-14 Thread Roger Quadros
On 05/13/2014 08:18 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [140505 02:55]: Add USB pinmux information and USB modes for the USB controllers. CC: Benoît Cousson bcous...@baylibre.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch

[PATCH v4 7/7] dts: dra7-evm: add USB support

2014-05-14 Thread Roger Quadros
From: Roger Quadros rog...@ti.com Add USB pinmux information and USB modes for the USB controllers. CC: Benoît Cousson bcous...@baylibre.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 24 1 file

Re: [PATCH v3 6/7] ARM: dts: dra7: Add USB related nodes

2014-05-07 Thread Roger Quadros
Tony, This patch will need to be updated for IRQ crossbar changes. I will send a revised version of just this patch based on crossbar changes [1] [1] - http://article.gmane.org/gmane.linux.documentation/23293 cheers, -roger On 05/05/2014 12:54 PM, Roger Quadros wrote: Add nodes for the Super

[PATCH v4 6/7] ARM: dts: dra7: Add USB related nodes

2014-05-07 Thread Roger Quadros
Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 148 ++ arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 10 -- 2 files changed, 148 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7

Re: [PATCH v3 0/7] USB support for DRA7-evm

2014-05-06 Thread Roger Quadros
Hi Kishon, Could you please pick the first 2 patches in this series for phy-next? They are independent of the rest. Thanks. cheers, -roger On 05/05/2014 12:54 PM, Roger Quadros wrote: Hi, This series enables the 2 USB ports on the DRA7-evm. NOTE: USB1 port is hard coded to work

Re: [PATCH v2 3/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-05-05 Thread Roger Quadros
On 04/30/2014 06:20 PM, Nishanth Menon wrote: On Tue, Apr 29, 2014 at 11:16 AM, Felipe Balbi ba...@ti.com wrote: On Tue, Apr 29, 2014 at 11:14:20AM -0500, Felipe Balbi wrote: On Tue, Apr 29, 2014 at 10:50:39AM +0300, Roger Quadros wrote: +Nishant Hi, On 04/28/2014 07:03 PM, Felipe Balbi

Re: [PATCH v2 3/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-05-05 Thread Roger Quadros
On 05/05/2014 10:23 AM, Roger Quadros wrote: On 04/30/2014 06:20 PM, Nishanth Menon wrote: On Tue, Apr 29, 2014 at 11:16 AM, Felipe Balbi ba...@ti.com wrote: On Tue, Apr 29, 2014 at 11:14:20AM -0500, Felipe Balbi wrote: On Tue, Apr 29, 2014 at 10:50:39AM +0300, Roger Quadros wrote: +Nishant

[PATCH v3 1/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-05-05 Thread Roger Quadros
As clocks might be named differently on multiple platforms, use a generic name in the driver and allow device tree node to specify the platform specific clock name. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-omap-usb2.c | 30 +++--- 1 file changed, 23

[PATCH v3 0/7] USB support for DRA7-evm

2014-05-05 Thread Roger Quadros
. -Addressed backward compatibility issue for phy-omap-usb2. v2: -Rebased on v3.15-rc3 --- Roger Quadros (7): phy: omap-usb2: Use generic clock names wkupclk and refclk phy: omap-usb2: Add clock names to Documentation binding ARM: dts: omap4+: Add clocks to USB2 PHY node ARM: dts: dra7-clock: Add

[PATCH v3 4/7] ARM: dts: dra7-clock: Add l3init_960m_gfclk clock gate

2014-05-05 Thread Roger Quadros
of usb_otg_ss1_refclk960m and usb_otg_ss2_refclk960m. CC: Benoît Cousson bcous...@baylibre.com CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7xx-clocks.dtsi | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH v3 2/7] phy: omap-usb2: Add clock names to Documentation binding

2014-05-05 Thread Roger Quadros
Add wkupclk and refclk information to DT binding information. Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti

[PATCH v3 7/7] dts: dra7-evm: add USB support

2014-05-05 Thread Roger Quadros
Add USB pinmux information and USB modes for the USB controllers. CC: Benoît Cousson bcous...@baylibre.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 24 1 file changed, 24 insertions(+) diff

[PATCH v3 3/7] ARM: dts: omap4+: Add clocks to USB2 PHY node

2014-05-05 Thread Roger Quadros
The USB2 PHY driver expects named clocks for wakeup clock and reference clock. Provide this information for USB2 PHY nodes in OMAP4 and OMAP5 SoC DTS. CC: Benoît Cousson bcous...@baylibre.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts

[PATCH v3 6/7] ARM: dts: dra7: Add USB related nodes

2014-05-05 Thread Roger Quadros
Add nodes for the Super Speed USB controllers, omap-control-usb, USB2 PHY and USB3 PHY devices. Remove ocp2scp1 address space from hwmod data as it is now provided via device tree. CC: Benoît Cousson bcous...@baylibre.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Roger Quadros rog

[PATCH v3 5/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-05-05 Thread Roger Quadros
Add the sysconfig class bits for the Super Speed USB controllers CC: Paul Walmsley p...@pwsan.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c

Re: [PATCH v2 3/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-04-30 Thread Roger Quadros
On 04/29/2014 07:16 PM, Felipe Balbi wrote: On Tue, Apr 29, 2014 at 11:14:20AM -0500, Felipe Balbi wrote: On Tue, Apr 29, 2014 at 10:50:39AM +0300, Roger Quadros wrote: +Nishant Hi, On 04/28/2014 07:03 PM, Felipe Balbi wrote: Hi, On Mon, Apr 28, 2014 at 05:01:23PM +0300, Roger Quadros

Re: [PATCH v2 3/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-04-29 Thread Roger Quadros
+Nishant Hi, On 04/28/2014 07:03 PM, Felipe Balbi wrote: Hi, On Mon, Apr 28, 2014 at 05:01:23PM +0300, Roger Quadros wrote: As clocks might be named differently on multiple platforms, use a generic name in the driver and allow device tree node to specify the platform specific clock name

Re: [PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding

2014-04-29 Thread Roger Quadros
Hi Sergei, On 04/28/2014 08:23 PM, Sergei Shtylyov wrote: Hello. On 04/28/2014 06:01 PM, Roger Quadros wrote: Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 7

[PATCH v2 2/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-04-28 Thread Roger Quadros
Add the sysconfig class bits for the Super Speed USB controllers Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2

[PATCH v2 1/7] ARM: dts: dra7-clock: Add l3init_960m_gfclk clock gate

2014-04-28 Thread Roger Quadros
of usb_otg_ss1_refclk960m and usb_otg_ss2_refclk960m. CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7xx-clocks.dtsi | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm

[PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding

2014-04-28 Thread Roger Quadros
Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti-phy.txt b/Documentation/devicetree

[PATCH v2 7/7] dts: dra7-evm: add USB support

2014-04-28 Thread Roger Quadros
Add USB pinmux information and USB modes for the USB controllers. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index

[PATCH v2 0/7] USB support for DRA7-evm

2014-04-28 Thread Roger Quadros
and mailbox write. To test this I had to do a manual write to enable VBUSVALID in the USB_UTMI_OTG_STATUS register. omapconf set bit 0x48880084 1 USB2 port works well in host mode. Patches are based on 3.15-rc3. cheers, -roger Roger Quadros (7): ARM: dts: dra7-clock: Add l3init_960m_gfclk clock

[PATCH v2 6/7] ARM: dts: dra7: Add USB related nodes

2014-04-28 Thread Roger Quadros
Add nodes for the Super Speed USB controllers, omap-control-usb, USB2 PHY and USB3 PHY devices. Remove ocp2scp1 address space from hwmod data as it is now provided via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 149

[PATCH v2 4/7] ARM: dts: omap4+: Add clocks to USB2 PHY node

2014-04-28 Thread Roger Quadros
The USB2 PHY driver expects named clocks for wakeup clock and reference clock. Provide this information for USB2 PHY nodes in OMAP4 and OMAP5 SoC DTS. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 2 ++ arch/arm/boot/dts/omap5.dtsi | 2 ++ 2 files changed, 4

[PATCH v2 3/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-04-28 Thread Roger Quadros
As clocks might be named differently on multiple platforms, use a generic name in the driver and allow device tree node to specify the platform specific clock name. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-omap-usb2.c | 8 1 file changed, 4 insertions(+), 4

Re: [PATCH v2] usb: dwc3: core: Fix gadget for system suspend/resume

2014-04-22 Thread Roger Quadros
Hi Felipe, Looks like we missed this one. Could you please pick this up for -rc? Thanks. cheers, -roger On 03/26/2014 11:43 AM, Roger Quadros wrote: During system resume, if the event buffers are not setup before the gadget controller starts then we start with invalid context and this can

Re: [PATCH v2] usb: gadget: zero: Fix SuperSpeed enumeration for alternate setting 1

2014-04-22 Thread Roger Quadros
Hi Felipe, On 03/26/2014 06:46 PM, Roger Quadros wrote: It was impossible to enumerate on a SuperSpeed (XHCI) host with alternate setting = 1 due to the wrongly set 'bMaxBurst' field in the SuperSpeed Endpoint Companion descriptor. Testcase: host modprobe -r usbtest; modprobe usbtest alt=1

Re: [PATCH v2] usb: gadget: zero: Fix SuperSpeed enumeration for alternate setting 1

2014-04-22 Thread Roger Quadros
Felipe, Sorry for the noise. I see that they have been applied already. cheers, -roger On 04/22/2014 03:28 PM, Roger Quadros wrote: Hi Felipe, On 03/26/2014 06:46 PM, Roger Quadros wrote: It was impossible to enumerate on a SuperSpeed (XHCI) host with alternate setting = 1 due

Re: [PATCH 1/1] ARM: dts: omap5: Add clocks to USB3 PHY node

2014-04-14 Thread Roger Quadros
Hi Tony, On 04/01/2014 05:13 PM, Felipe Balbi wrote: On Tue, Apr 01, 2014 at 01:37:27PM +0300, Roger Quadros wrote: The USB3 PHY driver (ti-pipe3) was updated so that the relevant clock phandles are expected in the DT node. Provide the necessary clocks. Reported-by: Kishon Vijay Abraham I

[PATCH 1/1] ARM: dts: omap5: Add clocks to USB3 PHY node

2014-04-01 Thread Roger Quadros
The USB3 PHY driver (ti-pipe3) was updated so that the relevant clock phandles are expected in the DT node. Provide the necessary clocks. Reported-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6

[PATCH 0/1] OMAP5: USB3 fix for 3.15

2014-04-01 Thread Roger Quadros
://patchwork.ozlabs.org/patch/327481/ Roger Quadros (1): ARM: dts: omap5: Add clocks to USB3 PHY node arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6 insertions(+) -- 1.8.3.2 -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord

[PATCH] usb: gadget: zero: Fix SuperSpeed enumeration for alternate setting 1

2014-03-26 Thread Roger Quadros
Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/gadget/zero.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c index 9f170c5..134f354 100644 --- a/drivers/usb/gadget/zero.c

[PATCH v2] usb: dwc3: core: Fix gadget for system suspend/resume

2014-03-26 Thread Roger Quadros
) from [c0014660] (ret_fast_syscall+0x0/0x30) Signed-off-by: Roger Quadros rog...@ti.com Acked-by: Felipe Balbi ba...@ti.com --- drivers/usb/dwc3/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index d001417..10e

Re: [PATCH] usb: gadget: zero: Fix SuperSpeed enumeration for alternate setting 1

2014-03-26 Thread Roger Quadros
On 03/26/2014 03:06 PM, Sergei Shtylyov wrote: Hello. On 26-03-2014 13:28, Roger Quadros wrote: It was impossible to enumerate on a SuperSpeed (XHCI) host with alternate setting = 1 due to the wrongly set 'bMaxBurst' field in the SuperSpeed Endpoint Companion descriptor. Testcase

[PATCH v2] usb: gadget: zero: Fix SuperSpeed enumeration for alternate setting 1

2014-03-26 Thread Roger Quadros
interface) Cc: 3.9+ sta...@vger.kernel.org # 3.9+ Reviewed-by: Felipe Balbi ba...@ti.com Acked-by: Sebastian Andrzej Siewior bige...@linutronix.de Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/gadget/zero.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget

Re: [PATCH v3 5/8] ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods

2014-03-18 Thread Roger Quadros
Hi Tony, On 03/13/2014 11:44 PM, Paul Walmsley wrote: On Wed, 12 Mar 2014, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [140307 02:18]: From: Keshava Munegowda keshava_mgo...@ti.com Create hwmods for ocp2scp3 and sata modules. Paul, does this look OK to you? I didn't go over

[PATCH] usb: dwc3: core: Fix gadget for system suspend/resume

2014-03-17 Thread Roger Quadros
) from [c0014660] (ret_fast_syscall+0x0/0x30) Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/dwc3/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index d001417..0b99e3a 100644 --- a/drivers/usb/dwc3/core.c

Re: [PATCH 7/8] ARM: dts: dra7: Add USB related nodes

2014-03-14 Thread Roger Quadros
On 03/14/2014 12:38 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Friday 07 March 2014 06:39 PM, Roger Quadros wrote: Add nodes for the Super Speed USB controllers, omap-control-usb, USB2 PHY and USB3 PHY devices. Remove ocp2scp1 address space from hwmod data as it is now provided via

Re: [PATCH 7/8] ARM: dts: dra7: Add USB related nodes

2014-03-14 Thread Roger Quadros
On 03/14/2014 04:54 PM, Kishon Vijay Abraham I wrote: On Friday 14 March 2014 05:41 PM, Roger Quadros wrote: On 03/14/2014 12:38 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Friday 07 March 2014 06:39 PM, Roger Quadros wrote: Add nodes for the Super Speed USB controllers, omap-control

Re: [PATCH v9 0/9] USB Host support for OMAP5 uEVM

2014-03-11 Thread Roger Quadros
Hi Lee, On 02/27/2014 04:18 PM, Roger Quadros wrote: Hi, This patchset brings up USB Host ports and Ethernet port on the OMAP5 uEVM board. It also does some cleanup with respect to DT clock binding for the mfd/omap-usb-host driver. Please queue these for -next. Lee, I've folded

Re: [PATCH v9 0/9] USB Host support for OMAP5 uEVM

2014-03-11 Thread Roger Quadros
On 03/11/2014 02:02 PM, Lee Jones wrote: Hi, This patchset brings up USB Host ports and Ethernet port on the OMAP5 uEVM board. It also does some cleanup with respect to DT clock binding for the mfd/omap-usb-host driver. Please queue these for -next. Lee, I've folded some platform data

<    5   6   7   8   9   10   11   12   13   14   >