Re: [PATCH 2/5] ARM: dts: AM4372: Add USB nodes

2014-03-06 Thread George Cherian
Hi Roger, On 3/6/2014 2:19 PM, Roger Quadros wrote: Hi George, On 03/03/2014 03:53 PM, George Cherian wrote: Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian

Re: [PATCH 5/5] doc: Add ti,am437x-dwc3 comaptible for dwc3 glue

2014-03-06 Thread George Cherian
Hi Roger, On 3/6/2014 2:25 PM, Roger Quadros wrote: On 03/03/2014 03:53 PM, George Cherian wrote: Add the compatible ti,am437x-dwc3 for dwc3 glue driver. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3

[PATCH v2 3/3] phy: omap-usb2: Add different compatible for OMAP5

2014-03-06 Thread George Cherian
Add a new compatible for OMAP5 since it does not use any of the OTG operations as of now. HAS_SRP and SET_VBUS functionalities are used only for OMAP4. Update the Documentation also to add new comaptible. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings

[PATCH v2 0/3] phy-omap-usb2 driver enhancements

2014-03-06 Thread George Cherian
* changed devm_request_and ioremap to devm_ioremap_resource in Patch2 Austin Beam (1): phy: omap-usb2: Provide workaround for USB2PHY false disconnect George Cherian (2): phy: omap-usb2: Adapt phy-omap-usb2 for AM437x phy: omap-usb2: Add different compatible for OMAP5 Documentation/devicetree

[PATCH v2 1/3] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2014-03-06 Thread George Cherian
-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c | 49 +-- include/linux/phy/omap_usb.h | 9 + 3 files changed, 49 insertions(+), 13 deletions(-) diff

Re: [PATCH 1/3] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2014-03-06 Thread George Cherian
On 3/6/2014 4:43 PM, Kishon Vijay Abraham I wrote: George, On Monday 03 March 2014 03:40 PM, George Cherian wrote: Adapt phy-omap-usb2 driver for AM437x. - Add new comaptible ti,am437x-usb2 for AM437x - Pass proper data to differentiate AM437x and others. - AM437x doesnot support

[PATCH v2 2/3] phy: omap-usb2: Provide workaround for USB2PHY false disconnect

2014-03-06 Thread George Cherian
Beam austinb...@ti.com Signed-off-by: George Cherian george.cher...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3 +- drivers/phy/phy-omap-usb2.c | 44 +++ include/linux/phy/omap_usb.h

Re: [PATCH v3] phy: omap-control: update dra7 and am437 usb2 bindings

2014-03-06 Thread George Cherian
On 3/7/2014 11:18 AM, Kishon Vijay Abraham I wrote: From: Roger Quadros rog...@ti.com The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from

[PATCH 1/5] ARM: dts: am43xx clock data

2014-03-03 Thread George Cherian
Add USB reference clock data Signed-off-by: George Cherian --- arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi index 142009c..506d036 100644 --- a/arch/arm

[PATCH 3/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-03 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am437x-gp-evm Signed-off-by: George Cherian --- arch/arm/boot/dts/am437x-gp-evm.dts | 44 + 1 file changed, 44 insertions(+) diff --git a/arch

[PATCH 2/5] ARM: dts: AM4372: Add USB nodes

2014-03-03 Thread George Cherian
Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian --- arch/arm/boot/dts/am4372.dtsi | 99 +++ 1 file changed, 99 insertions

[PATCH 4/5] ARM: dts: am43x-epos-evm: Enable USB

2014-03-03 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am43x-epos-evm Signed-off-by: George Cherian --- arch/arm/boot/dts/am43x-epos-evm.dts | 44 1 file changed, 44 insertions(+) diff --git a/arch

[PATCH 5/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue

2014-03-03 Thread George Cherian
Add the compatible "ti,am437x-dwc3" for dwc3 glue driver. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt b/Documentation/

[PATCH 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-03 Thread George Cherian
/ George Cherian (5): ARM: dts: am43xx clock data ARM: dts: AM4372: Add USB nodes ARM: dts: am437x-gp-evm: Enable USB ARM: dts: am43x-epos-evm: Enable USB doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +- arch/ar

[PATCH 2/3] phy: omap-usb2: Provide workaround for USB2PHY false disconnect

2014-03-03 Thread George Cherian
-by: George Cherian Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3 +- drivers/phy/phy-omap-usb2.c | 48 +++ include/linux/usb/omap_usb.h | 3 ++ 3 files changed, 53 insertions(+), 1

[PATCH 3/3] phy: omap-usb2: Add different compatible for OMAP5

2014-03-03 Thread George Cherian
Add a new compatible for OMAP5 since it does not use any of the OTG operations as of now. HAS_SRP and SET_VBUS functionalities are used only for OMAP4. Update the Documentation also to add new comaptible. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3

[PATCH 2/3] phy: omap-usb2: Provide workaround for USB2PHY false disconnect

2014-03-03 Thread George Cherian
-by: George Cherian Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3 +- drivers/phy/phy-omap-usb2.c | 48 +++ include/linux/usb/omap_usb.h | 3 ++ 3 files changed, 53 insertions(+), 1

[PATCH 2/3] phy: omap-usb2: Provide workaround for USB2PHY false disconnect

2014-03-03 Thread George Cherian
-by: George Cherian Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3 +- drivers/phy/phy-omap-usb2.c | 48 +++ include/linux/usb/omap_usb.h | 3 ++ 3 files changed, 53 insertions(+), 1

[PATCH 0/3] phy-omap-usb2 driver enhancements

2014-03-03 Thread George Cherian
This series * Adds suport for AM437x USB2 PHY driver * Address DRA7 PHY errata for false disconnect * New compatible for OMAP5 Austin Beam (1): phy: omap-usb2: Provide workaround for USB2PHY false disconnect George Cherian (2): phy: omap-usb2: Adapt phy-omap-usb2

[PATCH 1/3] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2014-03-03 Thread George Cherian
Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c | 49 +-- include/linux/usb/omap_usb.h | 9 + 3 files changed, 49 insertions(+), 13 deletions(-) diff --git a/Doc

[PATCH 0/3] phy-omap-usb2 driver enhancements

2014-03-03 Thread George Cherian
This series * Adds suport for AM437x USB2 PHY driver * Address DRA7 PHY errata for false disconnect * New compatible for OMAP5 Austin Beam (1): phy: omap-usb2: Provide workaround for USB2PHY false disconnect George Cherian (2): phy: omap-usb2: Adapt phy-omap-usb2

[PATCH 1/3] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2014-03-03 Thread George Cherian
-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c | 49 +-- include/linux/usb/omap_usb.h | 9 + 3 files changed, 49 insertions(+), 13 deletions(-) diff

[PATCH 2/3] phy: omap-usb2: Provide workaround for USB2PHY false disconnect

2014-03-03 Thread George Cherian
Beam austinb...@ti.com Signed-off-by: George Cherian george.cher...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3 +- drivers/phy/phy-omap-usb2.c | 48 +++ include/linux/usb/omap_usb.h

[PATCH 2/3] phy: omap-usb2: Provide workaround for USB2PHY false disconnect

2014-03-03 Thread George Cherian
Beam austinb...@ti.com Signed-off-by: George Cherian george.cher...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3 +- drivers/phy/phy-omap-usb2.c | 48 +++ include/linux/usb/omap_usb.h

[PATCH 2/3] phy: omap-usb2: Provide workaround for USB2PHY false disconnect

2014-03-03 Thread George Cherian
Beam austinb...@ti.com Signed-off-by: George Cherian george.cher...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3 +- drivers/phy/phy-omap-usb2.c | 48 +++ include/linux/usb/omap_usb.h

[PATCH 3/3] phy: omap-usb2: Add different compatible for OMAP5

2014-03-03 Thread George Cherian
Add a new compatible for OMAP5 since it does not use any of the OTG operations as of now. HAS_SRP and SET_VBUS functionalities are used only for OMAP4. Update the Documentation also to add new comaptible. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings

[PATCH 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-03 Thread George Cherian
/ George Cherian (5): ARM: dts: am43xx clock data ARM: dts: AM4372: Add USB nodes ARM: dts: am437x-gp-evm: Enable USB ARM: dts: am43x-epos-evm: Enable USB doc: Add ti,am437x-dwc3 comaptible for dwc3 glue Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +- arch/arm/boot/dts/am4372

[PATCH 4/5] ARM: dts: am43x-epos-evm: Enable USB

2014-03-03 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am43x-epos-evm Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 44 1 file changed, 44 insertions

[PATCH 5/5] doc: Add ti,am437x-dwc3 comaptible for dwc3 glue

2014-03-03 Thread George Cherian
Add the compatible ti,am437x-dwc3 for dwc3 glue driver. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt b

[PATCH 2/5] ARM: dts: AM4372: Add USB nodes

2014-03-03 Thread George Cherian
Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 99 +++ 1 file

[PATCH 3/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-03 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am437x-gp-evm Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 44 + 1 file changed, 44 insertions

[PATCH 1/5] ARM: dts: am43xx clock data

2014-03-03 Thread George Cherian
Add USB reference clock data Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi index 142009c..506d036

Re: [PATCH 1/2] dma: cppi41: start tear down only if channel is busy

2014-02-27 Thread George Cherian
On 2/27/2014 2:17 PM, Shevchenko, Andriy wrote: On Thu, 2014-02-27 at 10:44 +0530, George Cherian wrote: Start the channel tear down only if the channel is busy, else just bail out. In some cases its seen that by the time the tear down is initiated the cppi completes the DMA, especially

Re: [PATCH 1/2] dma: cppi41: start tear down only if channel is busy

2014-02-27 Thread George Cherian
On 2/27/2014 2:17 PM, Shevchenko, Andriy wrote: On Thu, 2014-02-27 at 10:44 +0530, George Cherian wrote: Start the channel tear down only if the channel is busy, else just bail out. In some cases its seen that by the time the tear down is initiated the cppi completes the DMA, especially

[PATCH 2/2] usb: musb: musb_cppi41: Dont reprogram DMA if tear down is initiated

2014-02-26 Thread George Cherian
Reprogramming the DMA after tear down is initiated leads to warning. This is mainly seen with ISOCH since we do a delayed completion for ISOCH transfers. In ISOCH transfers dma_completion should not reprogram if the channel tear down is initiated. Signed-off-by: George Cherian --- drivers/usb

[PATCH 1/2] dma: cppi41: start tear down only if channel is busy

2014-02-26 Thread George Cherian
Start the channel tear down only if the channel is busy, else just bail out. In some cases its seen that by the time the tear down is initiated the cppi completes the DMA, especially in ISOCH transfers. Signed-off-by: George Cherian --- drivers/dma/cppi41.c | 7 +-- 1 file changed, 5

[PATCH 0/2] Fix CPPI Warnings during tear down after ISOCH transfers

2014-02-26 Thread George Cherian
completions are done differently, so this might lead to reprogram of dma channel on which already a teardown is done. George Cherian (2): dma: cppi41: start tear down only if channel is busy usb: musb: musb_cppi41: Dont reprogram DMA if tear down is initiated drivers/dma/cppi41.c

[PATCH 0/2] Fix CPPI Warnings during tear down after ISOCH transfers

2014-02-26 Thread George Cherian
completions are done differently, so this might lead to reprogram of dma channel on which already a teardown is done. George Cherian (2): dma: cppi41: start tear down only if channel is busy usb: musb: musb_cppi41: Dont reprogram DMA if tear down is initiated drivers/dma/cppi41.c

[PATCH 2/2] usb: musb: musb_cppi41: Dont reprogram DMA if tear down is initiated

2014-02-26 Thread George Cherian
Reprogramming the DMA after tear down is initiated leads to warning. This is mainly seen with ISOCH since we do a delayed completion for ISOCH transfers. In ISOCH transfers dma_completion should not reprogram if the channel tear down is initiated. Signed-off-by: George Cherian george.cher

[PATCH 1/2] dma: cppi41: start tear down only if channel is busy

2014-02-26 Thread George Cherian
Start the channel tear down only if the channel is busy, else just bail out. In some cases its seen that by the time the tear down is initiated the cppi completes the DMA, especially in ISOCH transfers. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/dma/cppi41.c | 7 +-- 1

[PATCH v2 1/3] usb: musb: musb_host: Enable ISOCH IN handling for AM335x host

2014-01-27 Thread George Cherian
Enable the isochrounous IN handling for AM335x HOST. Reprogram CPPI to receive consecutive ISOCH frames in the same URB. Signed-off-by: George Cherian --- drivers/usb/musb/musb_host.c | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/drivers/usb

[PATCH v2 2/3] usb: musb: musb_cppi41: Make CPPI aware of high bandwidth transfers

2014-01-27 Thread George Cherian
Enable CPPI to handle high bandwidth transfers, especially to support webcam captures. Use a single bd to get the whole of the data in case of high bandwidth transfers. Signed-off-by: George Cherian --- drivers/usb/musb/musb_cppi41.c | 13 + 1 file changed, 13 insertions(+) diff

[PATCH v2 0/3] Enable ISOCH IN handling for AM335x

2014-01-27 Thread George Cherian
leads to hang , fixes it v1 -> v2 Fix code-style comments. George Cherian (3): usb: musb: musb_host: Enable ISOCH IN handling for AM335x host usb: musb: musb_cppi41: Make CPPI aware of high bandwidth transfers usb: musb: musb_cppi41: Handle ISOCH differently and not

[PATCH v2 3/3] usb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer.

2014-01-27 Thread George Cherian
In case of ISOCH transfers the hrtimer workaround for the hardware issue is not very reliable. Instead of checking musb_is_tx_fifo_empty() in hrtimer routine, schedule a completion work and check the same in completion work. Signed-off-by: George Cherian --- drivers/usb/musb/musb_cppi41.c | 53

Re: [PATCH 3/3] usb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer.

2014-01-27 Thread George Cherian
On 1/24/2014 11:16 PM, Sergei Shtylyov wrote: Hello. On 24-01-2014 18:14, George Cherian wrote: In case of ISOCH transfers the hrtimer workaround for the hardware issue is not very reliable. Instead of checking musb_is_tx_fifo_empty() in hrtimer routine, schedule a completion work and check

Re: [PATCH 1/3] usb: musb: musb_host: Enable ISOCH IN handling for AM335x host

2014-01-27 Thread George Cherian
On 1/24/2014 11:13 PM, Sergei Shtylyov wrote: Hello. On 24-01-2014 18:14, George Cherian wrote: Enable the isochrounous IN handling for AM335x HOST. Reprogram CPPI to receive consecutive ISOCH frames in the same URB. Sigh, I knew CPPI ISO path was broken for years but didn't have time

Re: [PATCH 1/3] usb: musb: musb_host: Enable ISOCH IN handling for AM335x host

2014-01-27 Thread George Cherian
On 1/24/2014 11:13 PM, Sergei Shtylyov wrote: Hello. On 24-01-2014 18:14, George Cherian wrote: Enable the isochrounous IN handling for AM335x HOST. Reprogram CPPI to receive consecutive ISOCH frames in the same URB. Sigh, I knew CPPI ISO path was broken for years but didn't have time

Re: [PATCH 3/3] usb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer.

2014-01-27 Thread George Cherian
On 1/24/2014 11:16 PM, Sergei Shtylyov wrote: Hello. On 24-01-2014 18:14, George Cherian wrote: In case of ISOCH transfers the hrtimer workaround for the hardware issue is not very reliable. Instead of checking musb_is_tx_fifo_empty() in hrtimer routine, schedule a completion work and check

[PATCH v2 0/3] Enable ISOCH IN handling for AM335x

2014-01-27 Thread George Cherian
leads to hang , fixes it v1 - v2 Fix code-style comments. George Cherian (3): usb: musb: musb_host: Enable ISOCH IN handling for AM335x host usb: musb: musb_cppi41: Make CPPI aware of high bandwidth transfers usb: musb: musb_cppi41: Handle ISOCH differently and not use

[PATCH v2 3/3] usb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer.

2014-01-27 Thread George Cherian
In case of ISOCH transfers the hrtimer workaround for the hardware issue is not very reliable. Instead of checking musb_is_tx_fifo_empty() in hrtimer routine, schedule a completion work and check the same in completion work. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb

[PATCH v2 1/3] usb: musb: musb_host: Enable ISOCH IN handling for AM335x host

2014-01-27 Thread George Cherian
Enable the isochrounous IN handling for AM335x HOST. Reprogram CPPI to receive consecutive ISOCH frames in the same URB. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/musb/musb_host.c | 30 ++ 1 file changed, 26 insertions(+), 4 deletions

[PATCH v2 2/3] usb: musb: musb_cppi41: Make CPPI aware of high bandwidth transfers

2014-01-27 Thread George Cherian
Enable CPPI to handle high bandwidth transfers, especially to support webcam captures. Use a single bd to get the whole of the data in case of high bandwidth transfers. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/musb/musb_cppi41.c | 13 + 1 file changed, 13

[PATCH 2/3] usb: musb: musb_cppi41: Make CPPI aware of high bandwidth transfers

2014-01-24 Thread George Cherian
Enable CPPI to handle high bandwidth transfers, especially to support webcam captures. Use a single bd to get the whole of the data in case of high bandwidth transfers. Signed-off-by: George Cherian --- drivers/usb/musb/musb_cppi41.c | 13 + 1 file changed, 13 insertions(+) diff

[PATCH 1/3] usb: musb: musb_host: Enable ISOCH IN handling for AM335x host

2014-01-24 Thread George Cherian
Enable the isochrounous IN handling for AM335x HOST. Reprogram CPPI to receive consecutive ISOCH frames in the same URB. Signed-off-by: George Cherian --- drivers/usb/musb/musb_host.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/drivers/usb

[PATCH 0/3] Enable ISOCH IN handling for AM335x

2014-01-24 Thread George Cherian
leads to hang , fixes it George Cherian (3): usb: musb: musb_host: Enable ISOCH IN handling for AM335x host usb: musb: musb_cppi41: Make CPPI aware of high bandwidth transfers usb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer. drivers/usb/musb/musb_cppi41.c | 67

[PATCH 3/3] usb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer.

2014-01-24 Thread George Cherian
In case of ISOCH transfers the hrtimer workaround for the hardware issue is not very reliable. Instead of checking musb_is_tx_fifo_empty() in hrtimer routine, schedule a completion work and check the same in completion work. Signed-off-by: George Cherian --- drivers/usb/musb/musb_cppi41.c | 54

[PATCH 3/3] usb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer.

2014-01-24 Thread George Cherian
In case of ISOCH transfers the hrtimer workaround for the hardware issue is not very reliable. Instead of checking musb_is_tx_fifo_empty() in hrtimer routine, schedule a completion work and check the same in completion work. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb

[PATCH 0/3] Enable ISOCH IN handling for AM335x

2014-01-24 Thread George Cherian
leads to hang , fixes it George Cherian (3): usb: musb: musb_host: Enable ISOCH IN handling for AM335x host usb: musb: musb_cppi41: Make CPPI aware of high bandwidth transfers usb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer. drivers/usb/musb/musb_cppi41.c | 67

[PATCH 1/3] usb: musb: musb_host: Enable ISOCH IN handling for AM335x host

2014-01-24 Thread George Cherian
Enable the isochrounous IN handling for AM335x HOST. Reprogram CPPI to receive consecutive ISOCH frames in the same URB. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/musb/musb_host.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff

[PATCH 2/3] usb: musb: musb_cppi41: Make CPPI aware of high bandwidth transfers

2014-01-24 Thread George Cherian
Enable CPPI to handle high bandwidth transfers, especially to support webcam captures. Use a single bd to get the whole of the data in case of high bandwidth transfers. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/musb/musb_cppi41.c | 13 + 1 file changed, 13

[PATCH] usb: phy: am335x: Enable USB remote wakeup using PHY wakeup

2013-12-18 Thread George Cherian
hy_(suspend/resume) and use the same for enabling the PHY_WKUP. Signed-off-by: George Cherian --- drivers/usb/phy/phy-am335x.c | 46 +--- 1 file changed, 35 insertions(+), 11 deletions(-) diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335

[PATCH] usb: dwc3: dwc3-omap: Fix the crash in module removal

2013-12-18 Thread George Cherian
) [ 57.996368] ---[ end trace 2af5f15c0b475a3d ]--- Replace platform_device_unregister with of_device_unregister. Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc3-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3

[PATCH] usb: dwc3: dwc3-omap: Fix the crash in module removal

2013-12-18 Thread George Cherian
. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index b269dbd..d241ff3 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb

[PATCH] usb: phy: am335x: Enable USB remote wakeup using PHY wakeup

2013-12-18 Thread George Cherian
am335x_phy_(suspend/resume) and use the same for enabling the PHY_WKUP. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/phy/phy-am335x.c | 46 +--- 1 file changed, 35 insertions(+), 11 deletions(-) diff --git a/drivers/usb/phy/phy-am335x.c b

[PATCH v3] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
but since commit 0f9548ca1 ("lockdep: check that no locks held at freeze time") lockdep complains about it. Signed-off-by: George Cherian Acked-by: Sebastian Andrzej Siewior Acked-by: Alan Stern --- change from v1 -> v2 amend the commit log v2 -> v3 ame

[PATCH v2] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
but since commit 0f9548ca1 ("lockdep: check that no locks held at freeze time") lockdep complains about it. Signed-off-by: George Cherian Acked-by: Sebastian Andrzej Siewior --- change from v1 -> v2 amend the commit log drivers/usb/gadget/f_mass_storage.c | 23 -

Re: [PATCH] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
On 11/7/2013 7:19 PM, Sebastian Andrzej Siewior wrote: On 11/07/2013 02:37 PM, George Cherian wrote: Call try_to_freeze() in sleep_thread() only when its safe to sleep. do_read() and do_write() calls sleep_thread with lock held. Make sure these wont call try_to_freeze() by passing can_freeze

[PATCH] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
Call try_to_freeze() in sleep_thread() only when its safe to sleep. do_read() and do_write() calls sleep_thread with lock held. Make sure these wont call try_to_freeze() by passing can_freeze flag to sleep_thread. Signed-off-by: George Cherian --- drivers/usb/gadget/f_mass_storage.c | 23

[PATCH] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
Call try_to_freeze() in sleep_thread() only when its safe to sleep. do_read() and do_write() calls sleep_thread with lock held. Make sure these wont call try_to_freeze() by passing can_freeze flag to sleep_thread. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/gadget

Re: [PATCH] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
On 11/7/2013 7:19 PM, Sebastian Andrzej Siewior wrote: On 11/07/2013 02:37 PM, George Cherian wrote: Call try_to_freeze() in sleep_thread() only when its safe to sleep. do_read() and do_write() calls sleep_thread with lock held. Make sure these wont call try_to_freeze() by passing can_freeze

[PATCH v2] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
but since commit 0f9548ca1 (lockdep: check that no locks held at freeze time) lockdep complains about it. Signed-off-by: George Cherian george.cher...@ti.com Acked-by: Sebastian Andrzej Siewior bige...@linutronix.de --- change from v1 - v2 amend the commit log drivers/usb/gadget

[PATCH v3] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
but since commit 0f9548ca1 (lockdep: check that no locks held at freeze time) lockdep complains about it. Signed-off-by: George Cherian george.cher...@ti.com Acked-by: Sebastian Andrzej Siewior bige...@linutronix.de Acked-by: Alan Stern st...@rowland.harvard.edu --- change from v1 - v2

[PATCH v3 1/2] phy: omap-usb2: Sort the headers alphabetically

2013-10-15 Thread George Cherian
This makes checking for duplicates easier while adding new #include. Signed-off-by: George Cherian --- drivers/phy/phy-omap-usb2.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c index bfc5c33

[PATCH v3 2/2] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2013-10-15 Thread George Cherian
This patch adds a compatible for AM437x "ti,am43xx-usb2" to reuse the same phy-omap-usb2 driver. Also updated the documentation to add the new compatible. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-o

[PATCH v3 0/2] Adapt phy-omap-usb2 for AM437x platform

2013-10-15 Thread George Cherian
ata instead of checking compatible each time. George Cherian (2): phy: omap-usb2: Sort the headers alphabetically phy: omap-usb2: Adapt phy-omap-usb2 for AM437x Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c |

[PATCH v2] usb: phy: omap: Add omap-control Support for AM437x

2013-10-15 Thread George Cherian
This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian --- Changes from v1: Make ON and OFF operations symmetric. Documentation/devicetree/bindings/usb/omap-usb.txt | 2 ++ drivers/usb/phy

Re: [PATCH] phy: omap: Adapt phy-omap-usb2 for AM437x

2013-10-15 Thread George Cherian
Hi Mark, Fixed all your comments and already sent a V2. On 10/14/2013 8:03 PM, Mark Rutland wrote: On Mon, Oct 14, 2013 at 01:43:23PM +0100, George Cherian wrote: This patch adds a compatible for AM437x "ti,am43xx-usb2" to reuse the same phy-omap-usb2 driver. Also updated the doc

Re: [PATCH] usb: phy: omap: Add omap-control Support for AM437x

2013-10-15 Thread George Cherian
On 10/14/2013 6:49 PM, Roger Quadros wrote: Hi George, On 10/14/2013 03:51 PM, George Cherian wrote: This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian --- Documentation/devicetree/bindings

[PATCH v2 1/2] phy: omap-usb2: Arrange the include in alphabetical order

2013-10-15 Thread George Cherian
This patch arranges the includes in alphabetical order Signed-off-by: George Cherian --- drivers/phy/phy-omap-usb2.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c index bfc5c33..3e5f08c 100644

[PATCH v2 2/2] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2013-10-15 Thread George Cherian
This patch adds a compatible for AM437x "ti,am43xx-usb2" to reuse the same phy-omap-usb2 driver. Also updated the documentation to add the new compatible. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-o

[PATCH v2 0/2] Adapt phy-omap-usb2 for AM437x platform

2013-10-15 Thread George Cherian
time. George Cherian (2): phy: omap-usb2: Arrange the include in alphabetical order phy: omap-usb2: Adapt phy-omap-usb2 for AM437x Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c | 72 +++ include/linux/usb

[PATCH v2 0/2] Adapt phy-omap-usb2 for AM437x platform

2013-10-15 Thread George Cherian
time. George Cherian (2): phy: omap-usb2: Arrange the include in alphabetical order phy: omap-usb2: Adapt phy-omap-usb2 for AM437x Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c | 72 +++ include/linux/usb

[PATCH v2 2/2] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2013-10-15 Thread George Cherian
This patch adds a compatible for AM437x ti,am43xx-usb2 to reuse the same phy-omap-usb2 driver. Also updated the documentation to add the new compatible. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c

[PATCH v2 1/2] phy: omap-usb2: Arrange the include in alphabetical order

2013-10-15 Thread George Cherian
This patch arranges the includes in alphabetical order Signed-off-by: George Cherian george.cher...@ti.com --- drivers/phy/phy-omap-usb2.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c index

Re: [PATCH] usb: phy: omap: Add omap-control Support for AM437x

2013-10-15 Thread George Cherian
On 10/14/2013 6:49 PM, Roger Quadros wrote: Hi George, On 10/14/2013 03:51 PM, George Cherian wrote: This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation

Re: [PATCH] phy: omap: Adapt phy-omap-usb2 for AM437x

2013-10-15 Thread George Cherian
Hi Mark, Fixed all your comments and already sent a V2. On 10/14/2013 8:03 PM, Mark Rutland wrote: On Mon, Oct 14, 2013 at 01:43:23PM +0100, George Cherian wrote: This patch adds a compatible for AM437x ti,am43xx-usb2 to reuse the same phy-omap-usb2 driver. Also updated the documentation

[PATCH v2] usb: phy: omap: Add omap-control Support for AM437x

2013-10-15 Thread George Cherian
This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian george.cher...@ti.com --- Changes from v1: Make ON and OFF operations symmetric. Documentation/devicetree/bindings/usb/omap-usb.txt | 2

[PATCH v3 2/2] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2013-10-15 Thread George Cherian
This patch adds a compatible for AM437x ti,am43xx-usb2 to reuse the same phy-omap-usb2 driver. Also updated the documentation to add the new compatible. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c

[PATCH v3 0/2] Adapt phy-omap-usb2 for AM437x platform

2013-10-15 Thread George Cherian
instead of checking compatible each time. George Cherian (2): phy: omap-usb2: Sort the headers alphabetically phy: omap-usb2: Adapt phy-omap-usb2 for AM437x Documentation/devicetree/bindings/usb/usb-phy.txt | 4 +- drivers/phy/phy-omap-usb2.c | 72

[PATCH v3 1/2] phy: omap-usb2: Sort the headers alphabetically

2013-10-15 Thread George Cherian
This makes checking for duplicates easier while adding new #include. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/phy/phy-omap-usb2.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2

Re: [PATCH] extcon: palmas: Handle ID interrupt properly using USB_ID_INT_SRC

2013-10-14 Thread George Cherian
Laxman/Chanwoo/Kishon, Any comments on this!! Regards -George On 10/11/2013 12:18 AM, George Cherian wrote: Always cross check with the ID state and the source of interrupt. Also add a case in which ID Source is ID_GND but LATCH state is set wrongly. This uses the previous Link stat

[PATCH] usb: phy: omap: Add omap-control Support for AM437x

2013-10-14 Thread George Cherian
This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/omap-usb.txt | 2 ++ drivers/usb/phy/phy-omap-control.c | 17 + include

[PATCH] phy: omap: Adapt phy-omap-usb2 for AM437x

2013-10-14 Thread George Cherian
This patch adds a compatible for AM437x "ti,am43xx-usb2" to reuse the same phy-omap-usb2 driver. Also updated the documentation to add the new compatible. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/usb-phy.txt | 2 +- drivers/phy/phy-o

[PATCH] phy: omap: Adapt phy-omap-usb2 for AM437x

2013-10-14 Thread George Cherian
This patch adds a compatible for AM437x ti,am43xx-usb2 to reuse the same phy-omap-usb2 driver. Also updated the documentation to add the new compatible. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/usb-phy.txt | 2 +- drivers/phy/phy-omap-usb2.c

[PATCH] usb: phy: omap: Add omap-control Support for AM437x

2013-10-14 Thread George Cherian
This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 2 ++ drivers/usb/phy/phy-omap-control.c | 17

Re: [PATCH] extcon: palmas: Handle ID interrupt properly using USB_ID_INT_SRC

2013-10-14 Thread George Cherian
Laxman/Chanwoo/Kishon, Any comments on this!! Regards -George On 10/11/2013 12:18 AM, George Cherian wrote: Always cross check with the ID state and the source of interrupt. Also add a case in which ID Source is ID_GND but LATCH state is set wrongly. This uses the previous Link stat

[PATCH] extcon: palmas: Handle ID interrupt properly using USB_ID_INT_SRC

2013-10-10 Thread George Cherian
Always cross check with the ID state and the source of interrupt. Also add a case in which ID Source is ID_GND but LATCH state is set wrongly. This uses the previous Link stat to determine the new state. Signed-off-by: George Cherian --- drivers/extcon/extcon-palmas.c | 15 --- 1

[PATCH] extcon: palmas: Handle ID interrupt properly using USB_ID_INT_SRC

2013-10-10 Thread George Cherian
Always cross check with the ID state and the source of interrupt. Also add a case in which ID Source is ID_GND but LATCH state is set wrongly. This uses the previous Link stat to determine the new state. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/extcon/extcon-palmas.c | 15

Re: [RFC v2] gpio/omap: auto-setup a GPIO when used as an IRQ

2013-09-27 Thread George Cherian
/omap: auto-setup a GPIO when used as an IRQ [2] Linus, Could you please add Stephen Acked-by when taking the patches and also George Cherian Tested-by that sent for this RFC. George it would be great if you can also comment on which OMAP platform you had tested. Tested on dra7xx/evm with GPIO

Re: [RFC v2] gpio/omap: auto-setup a GPIO when used as an IRQ

2013-09-27 Thread George Cherian
] [PATCH 2/2] gpio/omap: auto-setup a GPIO when used as an IRQ [2] Linus, Could you please add Stephen Acked-by when taking the patches and also George Cherian Tested-by that sent for this RFC. George it would be great if you can also comment on which OMAP platform you had tested. Tested on dra7xx

<    3   4   5   6   7   8   9   10   11   >