-off-by: Vivek Gautam gautam.vi...@samsung.com
---
Changes from RFC patch usb: dwc3: Set GCTL.PrtCapDir based on selected mode
- Setting the mode in dwc3 context structure based on
selected mode in machine, rather than programming PrtCapDir
drivers/usb/dwc3/core.c |7 ++-
1 files
The current code in the dwc3 probe effectively disables runtime pm
from ever working because it calls a get() that was never put() until
device removal. Change the runtime pm code to match the standard
formula and allow runtime pm to function.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
Hi,
On Thu, Jan 31, 2013 at 9:08 PM, Felipe Balbi ba...@ti.com wrote:
On Thu, Jan 31, 2013 at 09:00:37PM +0530, Vivek Gautam wrote:
Hi Felipe,
On Thu, Jan 31, 2013 at 8:55 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Thu, Jan 31, 2013 at 08:53:27PM +0530, Vivek Gautam wrote:
Moreover
Hi Felipe,
On Wed, Feb 27, 2013 at 1:36 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
sorry for the delay
That's alright ;-)
On Mon, Jan 28, 2013 at 07:06:56PM +0530, Vivek Gautam wrote:
Hi Felipe,
On Mon, Jan 28, 2013 at 5:15 PM, Felipe Balbi ba...@ti.com wrote:
On Mon, Jan 28, 2013
Hi Balbi,
On Mon, Feb 25, 2013 at 1:47 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Tue, Feb 05, 2013 at 07:15:58PM +0530, Vivek Gautam wrote:
Now that machines may select the mode of working of DWC3,
we can set the Port capability direction based on selected mode.
Signed-off-by: Vivek
On Mon, Feb 25, 2013 at 2:49 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Mon, Feb 25, 2013 at 02:21:46PM +0530, Vivek Gautam wrote:
@@ -514,6 +511,14 @@ static int dwc3_probe(struct platform_device *pdev)
}
dwc-mode = mode;
+#if IS_ENABLED(CONFIG_USB_DWC3_HOST
Hi Tony,
On Fri, Oct 5, 2012 at 9:57 PM, Tony Lindgren t...@atomide.com wrote:
* Tony Lindgren t...@atomide.com [121004 18:41]:
Also on the EHCI port, I've seen issues where unplugging
the cable hangs kernel with an infinite loop. But that happens
only occasionally, sorry does not
Now that machines may select the mode of working of DWC3,
we can set the Port capability direction based on selected mode.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
drivers/usb/dwc3/core.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers
On Fri, Feb 1, 2013 at 2:20 PM, Felipe Balbi ba...@ti.com wrote:
On Fri, Feb 01, 2013 at 11:54:01AM +0530, Vivek Gautam wrote:
Hi Balbi,
On Fri, Feb 1, 2013 at 11:52 AM, Vivek Gautam gautamvivek1...@gmail.com
wrote:
Hi Kishon,
On Fri, Feb 1, 2013 at 10:51 AM, kishon kis...@ti.com
platform specific
device tree node.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
Based on 'usb-next'.
drivers/usb/dwc3/core.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 094..75439c0 100644
Hi Kishon,
On Thu, Jan 31, 2013 at 5:04 PM, kishon kis...@ti.com wrote:
Hi,
Thanks for your quick help.
On Thursday 31 January 2013 04:50 PM, Vivek Gautam wrote:
With device tree support in place for dwc3-core layer,
it gets PHY from synopsis-dwc3 node.
Some controllers may not have
Hi Felipe,
On Thu, Jan 31, 2013 at 8:55 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Thu, Jan 31, 2013 at 08:53:27PM +0530, Vivek Gautam wrote:
Moreover, SoCs having multiple dwc3 controllers will have multiple
PHYs, which eventually be added using usb_add_phy_dev(), and not
using
Hi Kishon,
On Fri, Feb 1, 2013 at 10:51 AM, kishon kis...@ti.com wrote:
Hi,
On Thursday 31 January 2013 09:08 PM, Felipe Balbi wrote:
On Thu, Jan 31, 2013 at 09:00:37PM +0530, Vivek Gautam wrote:
Hi Felipe,
On Thu, Jan 31, 2013 at 8:55 PM, Felipe Balbi ba...@ti.com wrote:
Hi
Hi Balbi,
On Fri, Feb 1, 2013 at 11:52 AM, Vivek Gautam gautamvivek1...@gmail.com wrote:
Hi Kishon,
On Fri, Feb 1, 2013 at 10:51 AM, kishon kis...@ti.com wrote:
Hi,
On Thursday 31 January 2013 09:08 PM, Felipe Balbi wrote:
On Thu, Jan 31, 2013 at 09:00:37PM +0530, Vivek Gautam wrote
: Add PHY support for USB 3.0 controller
Vivek Gautam (4):
usb: xhci: Enable runtime pm in xhci-plat
USB: dwc3: Adjust runtime pm the dwc3 driver to allow runtime suspend
usb: dwc3: exynos: Enable runtime power management
usb: phy: samsung: Enable runtime power management on samsung-usb3
By enabling runtime pm in this driver is allows users of xhci-plat to
enter into runtime pm. This is not full runtime pm support (AKA
xhci-plat doesn't actually power anything off when in runtime suspend
mode) but just basic enablement.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
Signed
on the DWC3 device in
that the port isn't put into a lower power mode when not used.
However it does allow users of dwc3 (like dwc3-exynos) to do some
amount of runtime power management.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
Signed-off-by: Doug Anderson diand...@chromium.org
---
drivers
Enabling runtime power management on dwc3-exynos to save
power and allow its PHY's power to be managed at runtime.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
drivers/usb/dwc3/dwc3-exynos.c | 47
1 files changed, 47 insertions(+), 0
Enabling runtime power management support on samsung-usb3 phy
and further adding support to turn off the PHY ref_clk PLL.
It thereby requires PHY ref_clk to be switched between internal
core clock and external PLL clock.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
drivers/usb/phy
Hi Balbi,
On Mon, Jan 28, 2013 at 5:17 PM, Felipe Balbi ba...@ti.com wrote:
On Mon, Jan 28, 2013 at 05:12:27PM +0530, Vivek Gautam wrote:
Enabling runtime power management on dwc3-exynos to save
power and allow its PHY's power to be managed at runtime.
Signed-off-by: Vivek Gautam gautam.vi
On Mon, Jan 28, 2013 at 5:42 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Mon, Jan 28, 2013 at 05:28:30PM +0530, Vivek Gautam wrote:
+static int dwc3_exynos_runtime_resume(struct device *dev)
+{
+ struct dwc3_exynos *exynos = dev_get_drvdata(dev);
+ struct platform_device
Hi Felipe,
On Mon, Jan 28, 2013 at 5:39 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Mon, Jan 28, 2013 at 05:12:28PM +0530, Vivek Gautam wrote:
Enabling runtime power management support on samsung-usb3 phy
and further adding support to turn off the PHY ref_clk PLL.
It thereby requires PHY
Hi Felipe,
On Mon, Jan 28, 2013 at 6:37 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Mon, Jan 28, 2013 at 06:34:15PM +0530, Vivek Gautam wrote:
@@ -65,7 +67,22 @@ static u32 samsung_usb3_phy_set_refclk(struct
samsung_usbphy *sphy)
return reg;
}
-static int
Hi Felipe,
On Mon, Jan 28, 2013 at 5:15 PM, Felipe Balbi ba...@ti.com wrote:
On Mon, Jan 28, 2013 at 05:12:26PM +0530, Vivek Gautam wrote:
The current code in the dwc3 probe effectively disables runtime pm
from ever working because it calls a get() that was never put() until
device removal
of Felipe Balbi's usb tree.
Vivek Gautam (2):
usb: dwc3: exynos/omap: Change platform device IDs for no_op_xceive
to AUTO
usb: dwc3: host: Change platform device ID for xhci-hcd to AUTO
drivers/usb/dwc3/dwc3-exynos.c |4 ++--
drivers/usb/dwc3/dwc3-omap.c |4 ++--
drivers/usb/dwc3
Multiple dwc3 probe calls try to allocate no_op_xceive platform
device. Having static IDs for these will throw sysfs error -EEXIST.
Changing these static platform device IDs to AUTO to enable
multiple dwc3 controller support on a SoC.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
Multiple dwc3 controllers will try to allocate multiple xhci-hcd
interfaces.
Changing platform device IDs from NONE to AUTO to support
such cases.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
drivers/usb/dwc3/host.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
Dropping __devinit, __devexit_p, __exit annotations since they are
nop and no longer supported.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
drivers/usb/phy/samsung-usbphy.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/phy/samsung-usbphy.c
Hi Kishon,
On Wed, Jan 16, 2013 at 8:30 PM, Kishon Vijay Abraham I kis...@ti.com wrote:
This is in preparation for the changes in PHY library to support adding
and getting multiple PHYs of the same type. In the new design, the
binding information between the PHY and the USB controller should
Hi Kishon,
Thanks for the explanation.
On Thu, Jan 17, 2013 at 6:01 PM, kishon kis...@ti.com wrote:
Hi,
On Thursday 17 January 2013 05:41 PM, Vivek Gautam wrote:
Hi Kishon,
On Wed, Jan 16, 2013 at 8:30 PM, Kishon Vijay Abraham I kis...@ti.com
wrote:
This is in preparation
are enabled.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
CC: Doug Anderson diand...@chromium.org
---
This patch is outcome of discussion happened on:
[PATCH RFC] usb: dwc3: Remove dwc3 dependency on gadget
http://comments.gmane.org/gmane.linux.ports.arm.omap/91328
Changes from RFC
Hi Felipe,
On Mon, Jan 14, 2013 at 1:27 PM, Felipe Balbi ba...@ti.com wrote:
On Fri, Jan 11, 2013 at 07:58:23PM +0530, Vivek Gautam wrote:
Hi,
On Fri, Jan 11, 2013 at 7:29 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Fri, Jan 11, 2013 at 07:13:55PM +0530, Vivek Gautam wrote:
On Thu
Hi Felipe,
On Thu, Jan 10, 2013 at 6:32 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Mon, Dec 24, 2012 at 07:28:33PM +0530, Vivek Gautam wrote:
DWC3 controller curretly depends on CONFIG_USB and CONFIG_USB_GADGET.
Some hardware may like to use only host feature on dwc3.
So, removing
Hi,
On Fri, Jan 11, 2013 at 7:29 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Fri, Jan 11, 2013 at 07:13:55PM +0530, Vivek Gautam wrote:
On Thu, Jan 10, 2013 at 6:32 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Mon, Dec 24, 2012 at 07:28:33PM +0530, Vivek Gautam wrote:
DWC3 controller
DWC3 controller curretly depends on CONFIG_USB and CONFIG_USB_GADGET.
Some hardware may like to use only host feature on dwc3.
So, removing the dependency of USB_DWC3 on USB_GADGET
and further modulating the dwc3 core to enable gadget features
only with USB_GADGET.
Signed-off-by: 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: Remove platform data
This patch adds support to parse probe data for
dwc3-exynos driver using device tree.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
drivers/usb/dwc3/dwc3-exynos.c | 20
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3
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 gautam.vi...@samsung.com
---
drivers/usb/dwc3/dwc3-exynos.c
Hi all,
On Tue, Oct 16, 2012 at 2:15 PM, Vivek Gautam gautam.vi...@samsung.com 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
Hi Felipe,
On Wed, Oct 31, 2012 at 7:08 PM, Felipe Balbi ba...@ti.com 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 gautam.vi...@samsung.com
does
Hi,
On Tue, Oct 16, 2012 at 3:38 PM, Felipe Balbi ba...@ti.com 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:
This patch adds support to parse
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-exynos.c | 36
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 gautam.vi...@samsung.com
---
drivers/usb/dwc3/dwc3-exynos.c
This patch adds support to parse probe data for
dwc3-exynos driver using device tree.
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
drivers/usb/dwc3/dwc3-exynos.c | 20
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3
Hi Felipe,
On Mon, Oct 15, 2012 at 5:44 PM, Felipe Balbi ba...@ti.com 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.
Signed-off
Hi,
On Mon, Oct 15, 2012 at 6:54 PM, Felipe Balbi ba...@ti.com 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 ba...@ti.com wrote:
On Sat, Oct 13, 2012 at 07:20:18PM +0530, Vivek Gautam wrote:
We do usb_phy_init
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 for device tree
This patch adds support to parse probe data for
dwc3 driver for exynos using device tree
Signed-off-by: Vivek Gautam gautam.vi...@samsung.com
---
drivers/usb/dwc3/dwc3-exynos.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3
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 gautam.vi...@samsung.com
---
drivers/usb/dwc3/dwc3-exynos.c
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 gautam.vi...@samsung.com
---
drivers/usb/dwc3/core.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git
101 - 150 of 150 matches
Mail list logo