[PATCH v2] usb: xhci: Fix TRB transfer length macro used for Event TRB.

2013-03-20 Thread Vivek Gautam
Use proper macro while extracting TRB transfer length from Transfer event TRBs. Adding a macro EVENT_TRB_LEN (bits 0:23) for the same, and use it instead of TRB_LEN (bits 0:16) in case of event TRBs. Signed-off-by: Vivek gautam --- Hi Sarah, Updated the patch as suggested. There are two 80

[PATCH 0/3 v2] USB: host: Add Device tree support for ohci-exynos & ehci-s5p

2012-07-11 Thread Vivek Gautam
s5p ehci glue layer Vivek Gautam (2): USB: ohci-exynos: Add support for device tree USB: ehci-s5p: Add support for device tree drivers/usb/host/ehci-s5p.c| 47 drivers/usb/host/ohci-exynos.c | 22 ++ 2 files changed, 69

[PATCH 2/3 v2] USB: ehci-s5p: Add support for device tree

2012-07-11 Thread Vivek Gautam
This patch adds support to parse probe data for ehci driver for exynos using device tree Signed-off-by: Thomas Abraham Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index c474cec..52d0049 100644 --- a/drivers

[PATCH 1/3 v2] USB: ohci-exynos: Add support for device tree

2012-07-11 Thread Vivek Gautam
This patch adds support to parse probe data for ohci driver for exynos using device tree. Signed-off-by: Thomas Abraham Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c index 2909621..c4ad60f 100644 --- a

[PATCH 3/3 v2] USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer

2012-07-11 Thread Vivek Gautam
From: Abhilash Kesavan This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host

[PATCH 0/2 v2] USB: host: Add Device tree support for dwc3-exynos

2012-07-11 Thread Vivek Gautam
layer Vivek Gautam (1): USB: dwc3-exynos: Add support for device tree drivers/usb/dwc3/dwc3-exynos.c | 47 1 files changed, 47 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the

[PATCH 2/2 v2] USB: dwc3-exynos: Add vbus setup function to the exynos dwc3 glue layer

2012-07-11 Thread Vivek Gautam
From: Abhilash Kesavan This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb

[PATCH 1/2 v2] USB: dwc3-exynos: Add support for device tree

2012-07-11 Thread Vivek Gautam
This patch adds support to parse probe data for dwc3 driver for exynos using device tree Signed-off-by: Praveen Paneri Signed-off-by: Vivek Gautam diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c index d190301..9ae91b7 100644 --- a/drivers/usb/dwc3/dwc3-exynos.c

[PATCH 2/3 v3] USB: ehci-s5p: Add support for device tree

2012-07-15 Thread Vivek Gautam
This patch adds support to parse probe data for ehci driver for exynos using device tree Signed-off-by: Thomas Abraham Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index 13c179f..37d84cf 100644 --- a/drivers

[PATCH 1/3 v3] USB: ohci-exynos: Add support for device tree

2012-07-15 Thread Vivek Gautam
This patch adds support to parse probe data for ohci driver for exynos using device tree. Signed-off-by: Thomas Abraham Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c index 8bcbdb5..fc3091b 100644 --- a

[PATCH 0/3 v3] USB: host: Add Device tree support for ohci-exynos & ehci-s5p

2012-07-15 Thread Vivek Gautam
Changes from v1: 1) Moved "struct of_device_id exynos_ehci_match[]" to the next of "struct dev_pm_ops s5p_ehci_pm_ops" in ehci-s5p.c. 2) Rebased on 'usb-next' branch. Vivek Gautam (3): USB: ohci-exynos: Add support for device tree USB: ehci-s5p: Add support f

[PATCH 3/3 v3] USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer

2012-07-15 Thread Vivek Gautam
This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index 37d84cf

[PATCH 0/2 v3] USB: host: Add Device tree support for dwc3-exynos

2012-07-15 Thread Vivek Gautam
Changes from v1: 1) Rebased on 'usb-next' branch. Vivek Gautam (2): USB: dwc3-exynos: Add support for device tree USB: dwc3-exynos: Add vbus setup function to the exynos dwc3 glue layer drivers/usb/dwc3/dwc3-exynos.c | 47 1 files c

[PATCH 1/2 v3] USB: dwc3-exynos: Add support for device tree

2012-07-15 Thread Vivek Gautam
This patch adds support to parse probe data for dwc3 driver for exynos using device tree Signed-off-by: Praveen Paneri Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/drivers/usb/dwc3

[PATCH 2/2 v3] USB: dwc3-exynos: Add vbus setup function to the exynos dwc3 glue layer

2012-07-15 Thread Vivek Gautam
This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 25 + 1 files changed

[PATCH v4] USB: host: Add Device tree support for ohci-exynos & ehci-s5p

2012-07-16 Thread Vivek Gautam
Reworked third patch; other two got applied to 'usb-next' branch. Changes from v3: 1) Change the function name from s5p_ehci_setup_gpio() to s5p_setup_vbus_gpio(). 2) Make s5p_setup_vbus_gpio() function to return void instead of int. 3) Return void in case of failures. Vivek Gautam

[PATCH v4] USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer

2012-07-16 Thread Vivek Gautam
This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam --- drivers/usb/host/ehci-s5p.c | 21 + 1 files changed, 21

[PATCH RESEND v4] USB: host: Add Device tree support for ohci-exynos & ehci-s5p

2012-07-17 Thread Vivek Gautam
3) Return void in case of failures. Vivek Gautam (1): USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer drivers/usb/host/ehci-s5p.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscrib

[PATCH RESEND v4] USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer

2012-07-17 Thread Vivek Gautam
This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam --- drivers/usb/host/ehci-s5p.c | 21 + 1 files changed, 21

[PATCH] usb: phy: Cleanup error code in **_usb_get_phy_**() APIs

2013-08-07 Thread Vivek Gautam
xynos: fix PHY error handling, fixed PHY error handling. Also adding error handling in usb_phy_**() APIs. Signed-off-by: Vivek Gautam --- drivers/usb/phy/phy.c | 18 ++ include/linux/usb/phy.h | 42 ++ 2 files changed, 32 inserti

Re: [PATCH 1/3 v5] usb: phy-samsung-usb: Simplify PMU register handling

2013-08-08 Thread Vivek Gautam
On Thu, Aug 8, 2013 at 2:56 PM, Mark Rutland wrote: > On Wed, Aug 07, 2013 at 06:06:05PM +0100, Julius Werner wrote: >> > This breaks compatibility, both for an old kernel and a new dt and a new >> > kernel with an old dt. Is anyone using these bindings? >> >> They only affect Samsung SoCs and hav

USB suspend/resume sequence

2013-08-14 Thread Vivek Gautam
Hi all, Going through the power suspend/resume sequence of USB, got hit by a doubt. I am not able to figure out how the USB core driver takes care of devices and root-hubs across suspend/resume. Are the device contexts saved somewhere and then restored back on resume ? How does the suspend/resum

Re: USB suspend/resume sequence

2013-08-14 Thread Vivek Gautam
CCing myself On Wed, Aug 14, 2013 at 1:24 PM, Vivek Gautam wrote: > Hi all, > > > Going through the power suspend/resume sequence of USB, got hit by a doubt. > > I am not able to figure out how the USB core driver takes care of > devices and root-hubs across suspend/r

Re: USB suspend/resume sequence

2013-08-14 Thread Vivek Gautam
Hi Oliver, On Wed, Aug 14, 2013 at 2:19 PM, Oliver Neukum wrote: Thanks for you response. > On Wed, 2013-08-14 at 13:24 +0530, Vivek Gautam wrote: >> Hi all, >> >> >> Going through the power suspend/resume sequence of USB, got hit by a doubt. >> >> I am

Re: [PATCH] usb: phy: Cleanup error code in **_usb_get_phy_**() APIs

2013-08-18 Thread Vivek Gautam
Hi, On Thu, Aug 8, 2013 at 12:05 AM, Julius Werner wrote: >> @@ -94,11 +94,11 @@ static int devm_usb_phy_match(struct device *dev, void >> *res, void *match_data) >> */ >> struct usb_phy *devm_usb_get_phy(struct device *dev, enum usb_phy_type type) >> { >> - struct usb_phy **ptr, *phy

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-09-12 Thread Vivek Gautam
Hi Kishon, On Mon, Sep 2, 2013 at 9:13 PM, Kishon Vijay Abraham I wrote: > Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, > power_on and power_off the following APIs are used phy_init(), phy_exit(), > phy_power_on() and phy_power_off(). > > However using the old USB phy l

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-09-12 Thread Vivek Gautam
On Thu, Sep 12, 2013 at 3:40 PM, Kishon Vijay Abraham I wrote: > On Thursday 12 September 2013 02:57 PM, Vivek Gautam wrote: >> Hi Kishon, >> >> >> On Mon, Sep 2, 2013 at 9:13 PM, Kishon Vijay Abraham I wrote: >>> Adapted dwc3 core to use the Gene

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-12 Thread Vivek Gautam
On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros wrote: > Hi Kishon, > > On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: >> There can be systems which does not have a external usb_phy, so get >> usb_phy only if usb-phy property is added in the case of dt boot or if >> platform_data indicates t

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-12 Thread Vivek Gautam
Hi, On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros wrote: > Hi, > > On 09/12/2013 01:47 PM, Vivek Gautam wrote: >> On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros wrote: >>> Hi Kishon, >>> >>> On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: >&

Re: [PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-16 Thread Vivek Gautam
Hi, On Thu, Sep 12, 2013 at 6:41 PM, Roger Quadros wrote: > On 09/12/2013 02:26 PM, Vivek Gautam wrote: >> Hi, >> >> >> On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros wrote: >>> Hi, >>> >>> On 09/12/2013 01:47 PM, Vivek Gautam wrote: >

[PATCH] usb: dwc3: Remove additional delay of 100ms when resuming

2013-09-22 Thread Vivek Gautam
) sequence. We should get rid of this delay, since things will still work fine without this. Signed-off-by: Vivek Gautam --- Hi Felipe, I remember this change for phy_init including msleep(100) was suggested by me, after testing the patch-series for PM support to dwc3. Sorry for that !! driver

Re: [PATCH 4/5] usb: ehci-s5p: Change to use phy provided by the generic phy framework

2013-10-26 Thread Vivek Gautam
Hi Kamil, On Fri, Oct 25, 2013 at 7:45 PM, Kamil Debski wrote: > Change the phy provider used from the old usb phy specific to a new one > using the generic phy framework. > > Signed-off-by: Kamil Debski > Signed-off-by: Kyungmin Park > --- > drivers/usb/host/ehci-s5p.c | 21 +++

Re: [PATCH 4/5] usb: ehci-s5p: Change to use phy provided by the generic phy framework

2013-10-28 Thread Vivek Gautam
Hi Kamil, On Mon, Oct 28, 2013 at 7:23 PM, Kamil Debski wrote: > Hi Vivek, > >> From: Vivek Gautam [mailto:gautamvivek1...@gmail.com] >> Sent: Saturday, October 26, 2013 11:41 AM >> >> Hi Kamil, >> >> >> On Fri, Oct 25, 2013 at 7:45 PM, Kamil Deb

Re: [RFC PATCH 2/5] phy: Add WIP Exynos 5250 support to the Exynos USB PHY driver

2013-10-28 Thread Vivek Gautam
1); >> + exynos5250_isol(inst, 0); >> + >> + /* Power on the device, as it is necessary for HSIC to work */ >> + if (inst->cfg->id == EXYNOS5250_HSIC0) { >> + struct uphy_instance *device = >> + &

[PATCH 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy

2013-10-31 Thread Vivek Gautam
Update device tree bindings for DWC3 controller and USB 3.0 phy present on Exynos 5250 SoC, to start using the phy driver based on generic phy framework. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5250.dtsi | 17 ++--- 1 files changed, 6 insertions(+), 11 deletions

[PATCH 4/4] dt: exynos5420: Enable support for DWC3 controller

2013-10-31 Thread Vivek Gautam
Add device tree nodes for DWC3 controller present on Exynos 5420 SoC, to enable support for USB 3.0. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5420.dtsi | 38 +++- 1 files changed, 36 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 3/4] dt: exynos5420: Enable support for USB 3.0 PHY controller

2013-10-31 Thread Vivek Gautam
Add device tree nodes for USB 3.0 PHY present alongwith USB 3.0 controller Exynos 5420 SoC. This phy driver is based on generic phy framework. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5420.dtsi | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git

[PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-10-31 Thread Vivek Gautam
Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact with DWC3 controller present on Exynos5 series of SoCs. Signed-off-by: Vivek Gautam --- .../devicetree/bindings/phy/samsung-phy.txt| 20 + drivers/phy

[PATCH RFC 0/4] Add Exynos5 USB 3.0 phy driver based on generic PHY framework

2013-10-31 Thread Vivek Gautam
13/10/25/230 [2] [PATCH v2 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY's (http://www.spinics.net/lists/linux-usb/msg95733.html) [PATCH v2 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework (http://www.spinics.net/lists/linux-usb/m

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-04 Thread Vivek Gautam
On Tue, Nov 5, 2013 at 11:06 AM, Vivek Gautam wrote: > Hi Tomasz, Sorry my mail client had some problem, so forwarding this again. > > On Nov 4, 2013 5:59 PM, "Tomasz Figa" wrote: >> >> Hi Kishon, >> >> On Monday 04 of November 2013 12:24:42

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-04 Thread Vivek Gautam
er 04, 2013 7:55 AM >>> >>> Hi Vivek, >>> >>> On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote: >>>> >>>> Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. >>>> The new driver uses the generic PHY framework an

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-05 Thread Vivek Gautam
Hi Kamil, On Tue, Nov 5, 2013 at 3:06 PM, Kamil Debski wrote: > Hi, > >> From: Vivek Gautam [mailto:gautamvivek1...@gmail.com] >> Sent: Tuesday, November 05, 2013 8:20 AM >> To: Kishon Vijay Abraham I >> Cc: Kamil Debski; Vivek Gautam; Linux USB Mai

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-05 Thread Vivek Gautam
On Tue, Nov 5, 2013 at 5:33 PM, Jingoo Han wrote: > On Tuesday, November 05, 2013 8:13 PM, Jingoo Han wrote: >> On Tuesday, November 05, 2013 6:37 PM, Kamil Debski wrote: >> > On Tuesday, November 05, 2013 8:20 AM, Vivek Gautam wrote: >> > > On Mon, Nov 4, 2013 at 6

Re: [PATCH v2 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY's

2013-11-05 Thread Vivek Gautam
t; >> In the Exynos case, there is only 1 phy and it is the USB3 phy. This code >> will wrongly treat it as usb2_phy. Thank you Roger for your concern regarding Exynos case. It's true that, Exynos5 series of SoCs have got only one IP block for DWC3'c PHY. This block is actually

Re: [PATCH v2 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY's

2013-11-05 Thread Vivek Gautam
On Tue, Nov 5, 2013 at 11:41 PM, Vivek Gautam wrote: > Dear Kishon, Roger > > > On Wed, Oct 16, 2013 at 6:40 PM, Kishon Vijay Abraham I wrote: >> Hi roger, >> >> On Wednesday 16 October 2013 06:33 PM, Roger Quadros wrote: >>> Hi Kishon, > >

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-20 Thread Vivek Gautam
Hi Tomasz, On Sun, Nov 10, 2013 at 7:38 PM, Tomasz Figa wrote: > Hi Vivek, > > On Thursday 31 of October 2013 13:15:41 Vivek Gautam wrote: >> Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. >> The new driver uses the generic PHY framework and will

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-20 Thread Vivek Gautam
On Wed, Nov 20, 2013 at 2:14 PM, Vivek Gautam wrote: > Hi Tomasz, > > > On Sun, Nov 10, 2013 at 7:38 PM, Tomasz Figa wrote: >> Hi Vivek, >> >> On Thursday 31 of October 2013 13:15:41 Vivek Gautam wrote: >>> Add a new driver for the USB 3.0 PHY on Exynos5

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-20 Thread Vivek Gautam
Hi Kishon, On Mon, Nov 11, 2013 at 4:41 PM, Kishon Vijay Abraham I wrote: > Hi, sorry for the delayed response. > > On Wednesday 06 November 2013 05:37 AM, Jingoo Han wrote: >> On Wednesday, November 06, 2013 2:58 AM, Vivek Gautam wrote: >>> On Tue, Nov 5, 2013 at 5:

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-20 Thread Vivek Gautam
On Wed, Nov 20, 2013 at 2:34 PM, Kishon Vijay Abraham I wrote: > On Wednesday 20 November 2013 02:27 PM, Vivek Gautam wrote: >> Hi Kishon, >> >> >> On Mon, Nov 11, 2013 at 4:41 PM, Kishon Vijay Abraham I >> wrote: >>> Hi, >> sorry for the delay

Re: XHCI Bug discovered in 3.6-RC6 (solution included)

2012-09-25 Thread Vivek Gautam
Hi I have posted the required patch for this: usb: host: xhci: Fix Null pointer dereferencing with 71c731a for non-x86 systems Can we please get that in ? On Tue, Sep 18, 2012 at 8:06 PM, Greg KH wrote: > On Tue, Sep 18, 2012 at 02:51:57AM +0200, Sebastian Gottschall (DD-WRT) wrote: >> this fol

Re: XHCI Bug discovered in 3.6-RC6 (solution included)

2012-09-25 Thread Vivek Gautam
Apologies for that. I should have been rather a bit patient. Best regards Vivek On Tue, Sep 25, 2012 at 7:10 PM, Greg KH wrote: > > A: No. > Q: Should I include quotations after my reply? > > http://daringfireball.net/2007/07/on_top > > On Tue, Sep 25, 2012 at 03:12:33P

[PATCH 0/5] Adding usb2.0 host-phy support for exynos5250

2012-10-08 Thread Vivek Gautam
://thread.gmane.org/gmane.linux.kernel.samsung-soc/13048 Also tested successfully on smdkv310 for any break. Vivek Gautam (5): usb: phy: samsung: Add host phy support to samsung-phy driver ARM: S3C64XX: Add phy_type to pmu_isolation ARM: Exynos5250: Enabling samsung-usbphy driver usb: s5p

[PATCH 1/5] usb: phy: samsung: Add host phy support to samsung-phy driver

2012-10-08 Thread Vivek Gautam
This patch adds host phy support for samsung's exynos5250. Signed-off-by: Vivek Gautam --- drivers/usb/phy/Kconfig |1 - drivers/usb/phy/samsung-usbphy.c | 362 -- include/linux/platform_data/samsung-usbphy.h |9 +- 3

[PATCH 2/5] ARM: S3C64XX: Add phy_type to pmu_isolation

2012-10-08 Thread Vivek Gautam
It adds 'type' argument to pmu_isolation function, aligning with other platforms, which keeps track of usbphy_type. Signed-off-by: Vivek Gautam --- arch/arm/mach-s3c64xx/setup-usb-phy.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-s3c64xx

[PATCH 3/5] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-10-08 Thread Vivek Gautam
Adding usbphy node for Exynos5250 along with the platform data. Signed-off-by: Vivek Gautam --- .../devicetree/bindings/usb/samsung-usbphy.txt | 12 - arch/arm/boot/dts/exynos5250.dtsi |5 ++ arch/arm/mach-exynos/Kconfig |1 + arch/arm

[PATCH 4/5] usb: s5p-ehci: Adding phy driver support

2012-10-08 Thread Vivek Gautam
Adding the transceiver to ehci driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam --- drivers/usb/host/ehci-s5p.c | 62 +- 1 files changed, 43 insertions(+), 19 deletions

[PATCH 5/5] usb: exynos-ohci: Adding phy driver support

2012-10-08 Thread Vivek Gautam
Adding the transceiver to ohci driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam --- drivers/usb/host/ohci-exynos.c | 62 +++ 1 files changed, 43 insertions(+), 19 deletions

Re: [PATCH] usb: dwc3: debugfs: fixes debugfs regdump returning all zeros

2012-10-09 Thread Vivek Gautam
Hi, CC: Ido Shayevitz On Tue, Aug 21, 2012 at 5:48 PM, Vikas Sajjan wrote: > Even though the mem region is requested from the Globals address > space (DWC3_GLOBALS_REGS_START), the offsets are given from the > starting of the xHCI address space. > > By subtracting DWC3_GLOBALS_REGS_START from th

Re: [PATCH 2/5] ARM: S3C64XX: Add phy_type to pmu_isolation

2012-10-09 Thread Vivek Gautam
Hi Kishon, Firstly, thanks for the quick review. On Tue, Oct 9, 2012 at 11:03 AM, kishon wrote: > Hi, > > > On Monday 08 October 2012 07:42 PM, Vivek Gautam wrote: >> >> It adds 'type' argument to pmu_isolation function, aligning >> with other pla

Re: [PATCH 2/5] ARM: S3C64XX: Add phy_type to pmu_isolation

2012-10-09 Thread Vivek Gautam
Hi, On Tue, Oct 9, 2012 at 4:42 PM, Jingoo Han wrote: > On Tuesday, October 09, 2012 7:51 PM Vivek Gautam wrote >> >> Hi Kishon, >> >> Firstly, thanks for the quick review. >> >> On Tue, Oct 9, 2012 at 11:03 AM, kishon wrote: >> > Hi, >>

Re: [PATCH 4/5] usb: s5p-ehci: Adding phy driver support

2012-10-09 Thread Vivek Gautam
Hi, On Tue, Oct 9, 2012 at 3:10 PM, Jingoo Han wrote: > On Monday, October 08, 2012 11:12 PM Vivek Gautam wrote >> >> Adding the transceiver to ehci driver. Keeping the platform data >> for continuing the smooth operation for boards which still uses it >> >> Si

Re: [PATCH 5/5] usb: exynos-ohci: Adding phy driver support

2012-10-09 Thread Vivek Gautam
Hi, On Tue, Oct 9, 2012 at 3:16 PM, Jingoo Han wrote: > On Monday, October 08, 2012 11:12 PM Vivek Gautam wrote >> >> Adding the transceiver to ohci driver. Keeping the platform data >> for continuing the smooth operation for boards which still uses it >> >> Si

[PATCH 0/4 v2] Adding usb2.0 host-phy support for exynos5250

2012-10-10 Thread Vivek Gautam
nos5250: http://thread.gmane.org/gmane.linux.kernel.samsung-soc/13042 http://thread.gmane.org/gmane.linux.kernel.samsung-soc/13048 Vivek Gautam (4): usb: phy: samsung: Add host phy support to samsung-phy driver ARM: Exynos5250: Enabling samsung-usbphy driver USB: ehci-s5p: Add phy driver sup

[PATCH 1/4 v2] usb: phy: samsung: Add host phy support to samsung-phy driver

2012-10-10 Thread Vivek Gautam
This patch adds host phy support to samsung-usbphy.c and further adds support for samsung's exynos5250 usb-phy. Signed-off-by: Vivek Gautam --- arch/arm/mach-exynos/setup-usb-phy.c |2 +- arch/arm/mach-s3c64xx/setup-usb-phy.c|2 +- arch/arm/plat-samsung/include/pla

[PATCH 3/4 v2] USB: ehci-s5p: Add phy driver support

2012-10-10 Thread Vivek Gautam
Adding the transceiver to ehci driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam --- drivers/usb/host/ehci-s5p.c | 65 +- 1 files changed, 45 insertions(+), 20 deletions

[PATCH 2/4 v2] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-10-10 Thread Vivek Gautam
Adding usbphy node for Exynos5250 along with the platform data. Signed-off-by: Vivek Gautam --- .../devicetree/bindings/usb/samsung-usbphy.txt | 12 +- arch/arm/boot/dts/exynos5250.dtsi |5 ++ arch/arm/mach-exynos/Kconfig |1 + arch/arm

[PATCH 4/4 v2] USB: ohci-exynos: Add phy driver support

2012-10-10 Thread Vivek Gautam
Adding the transceiver to ohci driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam --- drivers/usb/host/ohci-exynos.c | 65 +++ 1 files changed, 45 insertions(+), 20 deletions

[PATCH 0/2] USB: dwc3-exynos: Adding device tree support

2012-10-13 Thread Vivek Gautam
This patchset adds support to parse the dwc3-exynos device using device tree. It also removes the platform data and phy_init() or phy_exit() calls which is no longer needed. Based and tested on 'usb-next' branch of greg's tree. Vivek Gautam (2): USB: dwc3-exynos: Add support

[PATCH 1/2] USB: dwc3-exynos: Add support for device tree

2012-10-13 Thread Vivek Gautam
This patch adds support to parse probe data for dwc3 driver for exynos using device tree Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb

[PATCH 2/2] USB: DWC3: EXYNOS: Remove platform data for dwc3-exynos

2012-10-13 Thread Vivek Gautam
We are removing plat data which was used till now to init and exit phy. We no longer need this since dwc3-core takes care of initializing and shutting-down the phy using usb_phy_init() and usb_phy_shutdown(). Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 16

[PATCH] USB: DWC3: Shutdown usb_phy when removing the device

2012-10-13 Thread Vivek Gautam
We do usb_phy_init() while doing core_init() in probe, so adding usb_phy_shutdown() when we do core_exit() while removing the device. Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/core.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/usb/dwc3/core.c b

Re: [PATCH] USB: DWC3: Shutdown usb_phy when removing the device

2012-10-15 Thread Vivek Gautam
Hi Felipe, On Mon, Oct 15, 2012 at 5:44 PM, Felipe Balbi wrote: > On Sat, Oct 13, 2012 at 07:20:18PM +0530, Vivek Gautam wrote: >> We do usb_phy_init() while doing core_init() in probe, >> so adding usb_phy_shutdown() when we do core_exit() >> while removing the device

Re: [PATCH] USB: DWC3: Shutdown usb_phy when removing the device

2012-10-15 Thread Vivek Gautam
Hi, On Mon, Oct 15, 2012 at 6:54 PM, Felipe Balbi wrote: > On Mon, Oct 15, 2012 at 06:56:13PM +0530, Vivek Gautam wrote: >> Hi Felipe, >> >> On Mon, Oct 15, 2012 at 5:44 PM, Felipe Balbi wrote: >> > On Sat, Oct 13, 2012 at 07:20:18PM +0530, Vivek Gautam wrote: &g

[PATCH v2 0/2] USB: dwc3-exynos: Adding device tree support

2012-10-16 Thread Vivek Gautam
Changes from v1: - Removed setting-up of "dev.coherent_dma_mask", since of/platform.c itself takes care of it. Vivek Gautam (2): USB: dwc3-exynos: Add support for device tree USB: DWC3: EXYNOS: Remove platform data for dwc3-exynos drivers/usb/dwc3/dwc3-exyno

[PATCH v2 2/2] USB: DWC3: EXYNOS: Remove platform data for dwc3-exynos

2012-10-16 Thread Vivek Gautam
We are removing plat data which was used till now to init and exit phy. We no longer need this since dwc3-core takes care of initializing and shutting-down the phy using usb_phy_init() and usb_phy_shutdown(). Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 16

[PATCH v2 1/2] USB: dwc3-exynos: Add support for device tree

2012-10-16 Thread Vivek Gautam
This patch adds support to parse probe data for dwc3-exynos driver using device tree. Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3

Re: [PATCH 2/4 v2] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-10-21 Thread Vivek Gautam
Hi, On Mon, Oct 22, 2012 at 10:33 AM, Jingoo Han wrote: > On Wednesday, October 10, 2012 7:43 PM Vivek Gautam wrote >> >> Adding usbphy node for Exynos5250 along with the platform data. >> >> Signed-off-by: Vivek Gautam >> --- >> .../devicetree/bin

Re: [PATCH 1/4 v2] usb: phy: samsung: Add host phy support to samsung-phy driver

2012-10-21 Thread Vivek Gautam
HI, On Mon, Oct 22, 2012 at 10:27 AM, Jingoo Han wrote: > On Wednesday, October 10, 2012 7:43 PM Vivek Gautam wrote >> >> This patch adds host phy support to samsung-usbphy.c and >> further adds support for samsung's exynos5250 usb-phy. >> >> Signed-off-by:

Re: [PATCH v2 1/2] USB: dwc3-exynos: Add support for device tree

2012-10-24 Thread Vivek Gautam
Hi, On Tue, Oct 16, 2012 at 3:38 PM, Felipe Balbi wrote: > Hi, > > On Tue, Oct 16, 2012 at 03:36:43PM +0530, kishon wrote: >> Hi, >> >> On Tuesday 16 October 2012 03:23 PM, Felipe Balbi wrote: >> >On Tue, Oct 16, 2012 at 02:15:56PM +0530, Vivek Gautam wrote: &

[PATCH v3 0/4] Adding usb2.0 host-phy support for exynos5250

2012-10-29 Thread Vivek Gautam
.gmane.org/gmane.linux.kernel.samsung-soc/13048 Vivek Gautam (4): usb: phy: samsung: Add host phy support to samsung-phy driver ARM: Exynos5250: Enabling samsung-usbphy driver USB: ehci-s5p: Add phy driver support USB: ohci-exynos: Add phy driver support .../devicetree/bindings/u

[PATCH v3 1/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2012-10-29 Thread Vivek Gautam
This patch adds host phy support to samsung-usbphy.c and further adds support for samsung's exynos5250 usb-phy. Signed-off-by: Vivek Gautam --- arch/arm/mach-exynos/setup-usb-phy.c |2 +- arch/arm/mach-s3c64xx/setup-usb-phy.c|2 +- arch/arm/plat-samsung/include/pla

[PATCH v3 2/4] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-10-29 Thread Vivek Gautam
Adding usbphy node for Exynos5250 along with the platform data. Signed-off-by: Vivek Gautam --- .../devicetree/bindings/usb/samsung-usbphy.txt | 12 +- arch/arm/boot/dts/exynos5250.dtsi |5 ++ arch/arm/mach-exynos/Kconfig |1 + arch/arm

[PATCH v3 3/4] USB: ehci-s5p: Add phy driver support

2012-10-29 Thread Vivek Gautam
Adding the transceiver to ehci driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- No change since v2. drivers/usb/host/ehci-s5p.c | 65 +- 1 files

[PATCH v3 4/4] USB: ohci-exynos: Add phy driver support

2012-10-29 Thread Vivek Gautam
Adding the transceiver to ohci driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- No change since v2. drivers/usb/host/ohci-exynos.c | 65 +++ 1 files

Re: [PATCH v2 2/2] USB: DWC3: EXYNOS: Remove platform data for dwc3-exynos

2012-10-31 Thread Vivek Gautam
Hi all, On Tue, Oct 16, 2012 at 2:15 PM, Vivek Gautam wrote: > We are removing plat data which was used till now to init and > exit phy. We no longer need this since dwc3-core takes care of > initializing and shutting-down the phy using usb_phy_init() > and usb_phy_shutdown(). >

Re: [PATCH v2 1/2] USB: dwc3-exynos: Add support for device tree

2012-10-31 Thread Vivek Gautam
Hi Felipe, On Wed, Oct 31, 2012 at 7:08 PM, Felipe Balbi wrote: > Hi, > On Tue, Oct 16, 2012 at 02:15:56PM +0530, Vivek Gautam wrote: >> This patch adds support to parse probe data for >> dwc3-exynos driver using device tree. >> >> Signed-off-by: Vivek Gautam

[PATCH v3 0/2] USB: dwc3-exynos: Adding device tree support

2012-11-03 Thread Vivek Gautam
Changes from v2: - Respined for 'dwc3' branch on Felipe's usb tree. Changes from v1: - Removed setting-up of "dev.coherent_dma_mask", since of/platform.c itself takes care of it. Vivek Gautam (2): USB: dwc3-exynos: Add support for device tree USB: DWC3: EXYNOS:

[PATCH v3 1/2] USB: dwc3-exynos: Add support for device tree

2012-11-03 Thread Vivek Gautam
This patch adds support to parse probe data for dwc3-exynos driver using device tree. Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3

[PATCH v3 2/2] USB: DWC3: EXYNOS: Remove platform data for dwc3-exynos

2012-11-03 Thread Vivek Gautam
We are removing plat data which was used till now to init and exit phy. We no longer need this since dwc3-core takes care of initializing and shutting-down the phy using usb_phy_init() and usb_phy_shutdown(). Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.c | 16

Re: [PATCH v3 0/4] Adding usb2.0 host-phy support for exynos5250

2012-11-06 Thread Vivek Gautam
Hi Balbi, On Tue, Nov 6, 2012 at 6:44 PM, Felipe Balbi wrote: > Hi, > > On Mon, Oct 29, 2012 at 07:12:36PM +0530, Vivek Gautam wrote: >> This patchset is based on the work by Praveen Paneri for >> samsung-usbphy driver: >> http://comments.gmane.org/gmane.lin

[PATCH v4 0/5] Adding usb2.0 host-phy support for exynos5250

2012-11-06 Thread Vivek Gautam
sb_phy_shutdown() so that appropriate PHY gets init or shutdown. Tested on smdk5250 target with usb-next branch along with arch patches for exynos5250: http://thread.gmane.org/gmane.linux.kernel.samsung-soc/13042 http://thread.gmane.org/gmane.linux.kernel.samsung-soc/13048 Vivek Gautam (5):

[PATCH v4 1/5] ARM: EXYNOS: Update & move usb-phy types to generic include layer

2012-11-06 Thread Vivek Gautam
Updating the names of usb-phy types to more generic names: USB_PHY_TYPE_DEIVCE & USB_PHY_TYPE_HOST; and further update its dependencies. Signed-off-by: Praveen Paneri Signed-off-by: Vivek Gautam --- arch/arm/mach-exynos/setup-usb-phy.c |9 + arch/arm/mach-s5pv210/setup

[PATCH 2/5] usb: phy: samsung: Add host phy support to samsung-phy driver

2012-11-06 Thread Vivek Gautam
This patch adds host phy support to samsung-usbphy.c and further adds support for samsung's exynos5250 usb-phy. Signed-off-by: Vivek Gautam Signed-off-by: Praveen Paneri --- arch/arm/mach-exynos/setup-usb-phy.c |2 +- arch/arm/mach-s3c64xx/setup-usb-phy.c| 18 +- arc

[PATCH v4 3/5] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-11-06 Thread Vivek Gautam
Adding usbphy node for Exynos5250 along with the platform data Signed-off-by: Vivek Gautam --- .../devicetree/bindings/usb/samsung-usbphy.txt | 12 +- arch/arm/boot/dts/exynos5250.dtsi |5 ++ arch/arm/mach-exynos/Kconfig |1 + arch/arm

[PATCH v4 4/5] USB: ehci-s5p: Add phy driver support

2012-11-06 Thread Vivek Gautam
Adding the phy driver to ehci-s5p. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- drivers/usb/host/ehci-s5p.c | 70 ++- 1 files changed, 49 insertions

[PATCH v4 5/5] USB: ohci-exynos: Add phy driver support

2012-11-06 Thread Vivek Gautam
Adding the phy-driver to ohci-exynos. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- drivers/usb/host/ohci-exynos.c | 70 1 files changed, 49 insertions

[PATCH] ARM: EXYNOS5250: Add support for USB 3.0 dwc3 controller

2012-11-06 Thread Vivek Gautam
rt patches: https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-November/021915.html Vivek Gautam (1): ARM: Exynos5250: Enabling dwc3-exynos driver arch/arm/boot/dts/exynos5250.dtsi |6 ++ arch/arm/mach-exynos/clock-exynos5.c| 24 arch/arm/m

[PATCH] ARM: Exynos5250: Enabling dwc3-exynos driver

2012-11-06 Thread Vivek Gautam
Adding DWC3 device tree node for Exynos5250 along with the device address and clock support needed for the controller. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ arch/arm/mach-exynos/clock-exynos5.c| 24 arch/arm/mach

[PATCH 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2012-11-06 Thread Vivek Gautam
scuss/2012-November/021923.html http://www.spinics.net/lists/linux-usb/msg73857.html Vivek Gautam (2): USB: PHY: Add support for USB 3.0 phy for exynos5250 ARM: Exynos5250: Enabling USB 3.0 phy for samsung-usbphy driver arch/arm/boot/dts/exynos5250.dtsi|3 +- arch/arm/mach-exyn

[PATCH 1/2] USB: PHY: Add support for USB 3.0 phy for exynos5250

2012-11-06 Thread Vivek Gautam
Adding support for USB3.0 phy for dwc3 controller on exynso5250 SOC. Signed-off-by: Vivek Gautam --- drivers/usb/phy/samsung-usbphy.c| 337 +++ include/linux/usb/samsung_usb_phy.h |1 + 2 files changed, 338 insertions(+), 0 deletions(-) diff --git a

<    1   2   3   4   5   6   7   8   9   >