Re: [U-Boot] [PATCH] Exynos5: Add support for USB download boot mode

2013-04-14 Thread Vivek Gautam
Hi, On Sat, Apr 13, 2013 at 7:50 PM, Simon Glass s...@chromium.org wrote: Hi, On Tue, Feb 5, 2013 at 9:04 PM, Vivek Gautam gautamvivek1...@gmail.com wrote: Hi Simon, On Tue, Feb 5, 2013 at 2:56 AM, Simon Glass s...@chromium.org wrote: Hi, On Mon, Jan 28, 2013 at 2:39 AM, Vivek Gautam

Re: [U-Boot] [PATCH v2 0/5] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-12 Thread Vivek Gautam
On Mon, Apr 8, 2013 at 4:05 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Based on 'u-boot-usb' master branch. This patch-series includes majorly some clean-up, few fixes and then some basic super-speed usb infrastructure addition, to help put support for XHCI in near future. Changes

[U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-12 Thread Vivek Gautam
structure' - Dropping the patch 'usb: hub: Increase device enumeration timeout for broken drives' for now (will come back with a solution at later point of time). Vivek Gautam (8): usb: common: Weed out USB_**_PRINTFs from usb framework USB: Some cleanup prior to USB 3.0 interface addition usb

[U-Boot] [PATCH v3 2/8] USB: Some cleanup prior to USB 3.0 interface addition

2013-04-12 Thread Vivek Gautam
Some cleanup in usb framework, nothing much on feature side. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- Changes from v2: - none common/usb.c | 21 + common/usb_storage.c | 30

[U-Boot] [PATCH v3 1/8] usb: common: Weed out USB_**_PRINTFs from usb framework

2013-04-12 Thread Vivek Gautam
USB_PRINTF, USB_HUB_PRINTF, USB_STOR_PRINTF, USB_KBD_PRINTF are nothing but conditional debug prints, depending on DEBUG. So better remove them and use debug() simply. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- This patch added in V3(current-version) of this patch-series. common

[U-Boot] [PATCH v3 3/8] usb: hub: Power-cycle on root-hub ports

2013-04-12 Thread Vivek Gautam
XHCI ports are powered on after a H/W reset, however EHCI ports are not. So disabling and re-enabling power on all ports invariably. Signed-off-by: Amar amarendra...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- Changes from v2: - Replaced USB_HUB_PRINTFs to debug

[U-Boot] [PATCH v3 4/8] usb: Update device class in usb device's descriptor

2013-04-12 Thread Vivek Gautam
Fetch the device class into usb device's dwcriptors, so that the host controller's driver can use this info to differentiate between HUB and DEVICE. Signed-off-by: Amar amarendra...@samsung.com --- Changes from v2: - none common/usb.c |5 + 1 files changed, 5 insertions(+), 0

[U-Boot] [PATCH v3 5/8] usb: hub: Fix enumration timeout

2013-04-12 Thread Vivek Gautam
seconds, and thereby we don't need to add additional mdelay of 100 microseconds in each cycle. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Reviewed-by: Vipin Kumar vipin.ku...@st.com --- Changes from v2: - none common/usb_hub.c |1 - 1 files changed, 0 insertions(+), 1 deletions

[U-Boot] [PATCH v3 6/8] USB: SS: Add support for Super Speed USB interface

2013-04-12 Thread Vivek Gautam
This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- Changes from v2: - Replacing if-else with switch-case in portspeed

[U-Boot] [PATCH v3 7/8] usb: hub: Reset only usb 2.0 ports

2013-04-12 Thread Vivek Gautam
). Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- This patch added in V3(current-version) of this patch-series. common/usb_hub.c | 23 +++ 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/common/usb_hub.c b/common/usb_hub.c index 1e225e6..eedbcf2 100644

[U-Boot] [PATCH v3 8/8] usb: common: Use a global macro for 'min3'

2013-04-12 Thread Vivek Gautam
We can use a common global macro for calculating minimum of 3 numbers. Put the same in 'common header' and let 'ehci' use it. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- This patch added in V3(current-version) of this patch-series. drivers/usb/host/ehci-hcd.c | 10

[U-Boot] [PATCH v2 0/5] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-08 Thread Vivek Gautam
' - Dropping the patch 'usb: hub: Increase device enumeration timeout for broken drives' for now (will come back with a solution at later point of time). Vivek Gautam (5): USB: Some cleanup prior to USB 3.0 interface addition usb: hub: Power-cycle on root-hub ports usb: Update device class in usb

[U-Boot] [PATCH v2 1/5] USB: Some cleanup prior to USB 3.0 interface addition

2013-04-08 Thread Vivek Gautam
Some cleanup in usb framework, nothing much on feature side. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- common/usb.c | 21 + common/usb_storage.c | 30 -- include

[U-Boot] [PATCH v2 3/5] usb: Update device class in usb device's descriptor

2013-04-08 Thread Vivek Gautam
Fetch the device class into usb device's dwcriptors, so that the host controller's driver can use this info to differentiate between HUB and DEVICE. Signed-off-by: Amar amarendra...@samsung.com --- common/usb.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH v2 4/5] usb: hub: Fix enumration timeout

2013-04-08 Thread Vivek Gautam
seconds, and thereby we don't need to add additional mdelay of 100 microseconds in each cycle. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Reviewed-by: Vipin Kumar vipin.ku...@st.com --- common/usb_hub.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/common/usb_hub.c

[U-Boot] [PATCH v2 2/5] usb: hub: Power-cycle on root-hub ports

2013-04-08 Thread Vivek Gautam
XHCI ports are powered on after a H/W reset, however EHCI ports are not. So disabling and re-enabling power on all ports invariably. Signed-off-by: Amar amarendra...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- common/usb_hub.c | 36

[U-Boot] [PATCH v2 5/5] USB: SS: Add support for Super Speed USB interface

2013-04-08 Thread Vivek Gautam
This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- common/cmd_usb.c |4 +++- common/usb.c |5

Re: [U-Boot] [PATCH 5/7] usb: hub: Increase device enumeration timeout for broken drives

2013-04-04 Thread Vivek Gautam
Hi Marek, On Thu, Apr 4, 2013 at 9:28 AM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Hi Marek, On Thu, Mar 28, 2013 at 8:02 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Few broken usb mass storage devices can take some time to set Current Connect Status (CCS

Re: [U-Boot] USB3.0 Interrupt transfer in u-boot

2013-04-04 Thread Vivek Gautam
Hello Puneet, On Thu, Apr 4, 2013 at 11:55 AM, Puneet Sharma puneet.sha...@moschip.com wrote: Hello, I want to test USB keyboard for XHCI in u-boot and to do that i need the Interrupt transfer code in XHCI controller driver in u-boot. If possible, can you help me to give that piece of code

Re: [U-Boot] [PATCH 1/7] USB: Some cleanup prior to USB 3.0 interface addition

2013-04-02 Thread Vivek Gautam
On Tue, Apr 2, 2013 at 11:56 AM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Hi Marek, On Thu, Mar 28, 2013 at 7:56 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Some cleanup in usb framework, nothing much on feature side. Signed-off-by: Vikas C Sajjan vikas.saj

Re: [U-Boot] [PATCH 1/7] USB: Some cleanup prior to USB 3.0 interface addition

2013-04-02 Thread Vivek Gautam
Hi, On Tue, Apr 2, 2013 at 12:16 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, On Tue, Apr 2, 2013 at 11:56 AM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Hi Marek, On Thu, Mar 28, 2013 at 7:56 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Some

Re: [U-Boot] [PATCH 3/7] usb: Update device class in usb device's descriptor

2013-04-02 Thread Vivek Gautam
CC: Amarendra On Thu, Mar 28, 2013 at 7:58 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Fetch the device class into usb device's dwcriptors, so that the host controller's driver can use this info to differentiate between HUB and DEVICE. Signed-off-by: Amar amarendra

Re: [U-Boot] [PATCH 5/7] usb: hub: Increase device enumeration timeout for broken drives

2013-04-02 Thread Vivek Gautam
CC: Amarendra On Thu, Mar 28, 2013 at 8:02 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Few broken usb mass storage devices can take some time to set Current Connect Status (CCS) and Connect Status Change (CSC) in Port status register after an attach. So increasing some timeout

Re: [U-Boot] [PATCH 2/7] usb: hub: Conditionally power on usb's root-hub ports

2013-04-02 Thread Vivek Gautam
Hi Marek, Adding CC: Amarendra On Thu, Mar 28, 2013 at 7:58 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Power on root hubs' ports only when they are not yet powered on. Its seen with USB 3.0 ports that they are powered on after a H/W reset, as also reflected in XHCI spec (sec

Re: [U-Boot] [PATCH 6/7] USB: SS: Add support for Super Speed USB interface

2013-04-02 Thread Vivek Gautam
Hi Marek, On Thu, Mar 28, 2013 at 8:05 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signed-off-by: Vivek

Re: [U-Boot] [PATCH 2/7] usb: hub: Conditionally power on usb's root-hub ports

2013-04-02 Thread Vivek Gautam
Hi, On Tue, Apr 2, 2013 at 3:39 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Hi Marek, Adding CC: Amarendra On Thu, Mar 28, 2013 at 7:58 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Power on root hubs' ports only when they are not yet powered on. Its seen

Re: [U-Boot] [PATCH 3/7] usb: Update device class in usb device's descriptor

2013-04-02 Thread Vivek Gautam
Hi, On Tue, Apr 2, 2013 at 3:39 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, CC: Amarendra On Thu, Mar 28, 2013 at 7:58 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Fetch the device class into usb device's dwcriptors, so that the host controller's driver can

Re: [U-Boot] [PATCH 5/7] usb: hub: Increase device enumeration timeout for broken drives

2013-04-02 Thread Vivek Gautam
Hi Marek, On Thu, Mar 28, 2013 at 8:02 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Few broken usb mass storage devices can take some time to set Current Connect Status (CCS) and Connect Status Change (CSC) in Port status register after an attach. So increasing some timeout when

Re: [U-Boot] [PATCH 4/7] usb: hub: Fix enumration timeout

2013-04-01 Thread Vivek Gautam
Hi, On Tue, Apr 2, 2013 at 1:43 AM, Tom Rini tr...@ti.com wrote: On Wed, Mar 27, 2013 at 02:59:00PM +0530, Vivek Gautam wrote: Patch b6d7852c increases timeout for enumeration, taking worst case to be 10 sec. get_timer() api returns timestamp in micro-seconds, which is what we are checking

Re: [U-Boot] [PATCH 4/7] usb: hub: Fix enumration timeout

2013-04-01 Thread Vivek Gautam
Hi Marek, On Tue, Apr 2, 2013 at 10:42 AM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Hi, On Tue, Apr 2, 2013 at 1:43 AM, Tom Rini tr...@ti.com wrote: On Wed, Mar 27, 2013 at 02:59:00PM +0530, Vivek Gautam wrote: Patch b6d7852c increases timeout for enumeration, taking worst

Re: [U-Boot] [PATCH 4/7] usb: hub: Fix enumration timeout

2013-04-01 Thread Vivek Gautam
On Tue, Apr 2, 2013 at 11:04 AM, Vivek Gautam gautamvivek1...@gmail.com wrote: Hi Marek, On Tue, Apr 2, 2013 at 10:42 AM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Hi, On Tue, Apr 2, 2013 at 1:43 AM, Tom Rini tr...@ti.com wrote: On Wed, Mar 27, 2013 at 02:59:00PM +0530, Vivek

Re: [U-Boot] [PATCH 1/7] USB: Some cleanup prior to USB 3.0 interface addition

2013-04-01 Thread Vivek Gautam
Hi Marek, On Thu, Mar 28, 2013 at 7:56 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Some cleanup in usb framework, nothing much on feature side. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- common/usb.c

Re: [U-Boot] [PATCH 1/7] USB: Some cleanup prior to USB 3.0 interface addition

2013-04-01 Thread Vivek Gautam
On Tue, Apr 2, 2013 at 11:24 AM, Vivek Gautam gautamvivek1...@gmail.com wrote: Hi Marek, On Thu, Mar 28, 2013 at 7:56 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Some cleanup in usb framework, nothing much on feature side. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com

[U-Boot] [PATCH 0/7] usb: ss: Some fixes and cleanup for USB super-speed support

2013-03-27 Thread Vivek Gautam
PATCH 0/2] USB: XHCI: Add xHCI host controller stack driver We plan to send further the xHCI controller's stack driver in near future. Vivek Gautam (7): USB: Some cleanup prior to USB 3.0 interface addition usb: hub: Conditionally power on usb's root-hub ports usb: Update device class in usb

[U-Boot] [PATCH 1/7] USB: Some cleanup prior to USB 3.0 interface addition

2013-03-27 Thread Vivek Gautam
Some cleanup in usb framework, nothing much on feature side. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- common/usb.c | 18 ++ common/usb_storage.c | 30 -- include

[U-Boot] [PATCH 2/7] usb: hub: Conditionally power on usb's root-hub ports

2013-03-27 Thread Vivek Gautam
be in Disconnected state, i.e. the port is powered on (PP = 1) Signed-off-by: Amar amarendra...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- common/usb_hub.c | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/common/usb_hub.c b/common/usb_hub.c

[U-Boot] [PATCH 3/7] usb: Update device class in usb device's descriptor

2013-03-27 Thread Vivek Gautam
Fetch the device class into usb device's dwcriptors, so that the host controller's driver can use this info to differentiate between HUB and DEVICE. Signed-off-by: Amar amarendra...@samsung.com --- common/usb.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 4/7] usb: hub: Fix enumration timeout

2013-03-27 Thread Vivek Gautam
seconds, and thereby we don't need to add additional mdelay of 100 microseconds in each cycle. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com CC: Vipin Kumar vipin.ku...@st.com --- common/usb_hub.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/common/usb_hub.c b/common

[U-Boot] [PATCH 5/7] usb: hub: Increase device enumeration timeout for broken drives

2013-03-27 Thread Vivek Gautam
Few broken usb mass storage devices can take some time to set Current Connect Status (CCS) and Connect Status Change (CSC) in Port status register after an attach. So increasing some timeout when both CCS and CSC bits are not set. Signed-off-by: Amar amarendra...@samsung.com Signed-off-by: Vivek

[U-Boot] [PATCH 6/7] USB: SS: Add support for Super Speed USB interface

2013-03-27 Thread Vivek Gautam
This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- common/cmd_usb.c |6 -- common/usb.c | 11

[U-Boot] [PATCH 7/7] usb: eth: Fix for updated usb interface descriptor structure

2013-03-27 Thread Vivek Gautam
Now usb interface structure doesn't contain the Ep descriptor directly, in fact it contains a pointer to 'usb_ep_desc' structure which contains the Ep descriptor. So updating the usb-eth drivers accordingly. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/eth/asix.c

Re: [U-Boot] [PATCH v4 0/2] usb: ehci: exynos: Fixes for non-fdt systems

2013-03-07 Thread Vivek Gautam
Hi Marek, On Fri, Mar 8, 2013 at 4:47 AM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Based on 'master' branch of u-boot-samsung. Changes from v3: - Adding necesasry check for return error of exynos_usb_parse_dt() and returning accordingly from ehci_hcd_init(). - Removing

Re: [U-Boot] [PATCH v4 0/2] usb: ehci: exynos: Fixes for non-fdt systems

2013-03-07 Thread Vivek Gautam
On Fri, Mar 8, 2013 at 9:51 AM, Vivek Gautam gautamvivek1...@gmail.com wrote: Hi Marek, On Fri, Mar 8, 2013 at 4:47 AM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Based on 'master' branch of u-boot-samsung. Changes from v3: - Adding necesasry check for return error

[U-Boot] [PATCH v4 0/2] usb: ehci: exynos: Fixes for non-fdt systems

2013-03-06 Thread Vivek Gautam
Based on 'master' branch of u-boot-samsung. Changes from v3: - Adding necesasry check for return error of exynos_usb_parse_dt() and returning accordingly from ehci_hcd_init(). - Removing unnecessary parentheses around ctx-hcd. Vivek Gautam (2): usb: ehci: exynos: Fix multiple FDT decode

[U-Boot] [PATCH v4 2/2] usb: ehci: exynos: Enable non-dt path

2013-03-06 Thread Vivek Gautam
Enabling the non-dt path for the driver so that we don't get any build errors for non-dt configuration. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes from v3: - No change Changes from v2: - Adding necessary typecast (struct ehci_hccr

[U-Boot] [PATCH v4 1/2] usb: ehci: exynos: Fix multiple FDT decode

2013-03-06 Thread Vivek Gautam
With current FDT support driver tries to parse device node twice in ehci_hcd_init() and ehci_hcd_stop(), which shouldn't happen ideally. Making provision to store data in a global structure and thereby passing its pointer when needed. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com

Re: [U-Boot] [PATCH v2 1/2] usb: ehci: exynos: Fix multiple FDT decode

2013-03-05 Thread Vivek Gautam
Hi, On Thu, Feb 14, 2013 at 10:22 AM, Simon Glass s...@chromium.org wrote: Hi, On Tue, Feb 12, 2013 at 10:26 PM, Vivek Gautam gautam.vi...@samsung.com wrote: With current FDT support driver tries to parse device node twice in ehci_hcd_init() and ehci_hcd_stop(), which shouldn't happen

[U-Boot] [PATCH 1/2] SMDK5250: Fix compiler warning for non-dt systems

2013-03-05 Thread Vivek Gautam
Compiling for non-dt systems gives folowing warning: smdk5250.c: In function 'board_eth_init': smdk5250.c:152:6: warning: unused variable 'node' [-Wunused-variable] Declare variable 'node' only for dt enabled systems to remove this warning. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com

[U-Boot] [PATCH 2/2] spi: exynos: Fix compiler warnings for non-dt systems

2013-03-05 Thread Vivek Gautam
Enclosing process_nodes() and spi_get_config() inside CONFIG_OF_CONTROL, since they are compiled only for DT systems. This fixes following warning: exynos_spi.c:391:12: warning: 'process_nodes' defined but not used [-Wunused-function] Signed-off-by: Vivek Gautam gautam.vi...@samsung.com

Re: [U-Boot] [PATCH v2 1/2] usb: ehci: exynos: Fix multiple FDT decode

2013-03-05 Thread Vivek Gautam
Hi, On Wed, Mar 6, 2013 at 7:27 AM, Simon Glass s...@chromium.org wrote: On Tue, Mar 5, 2013 at 5:40 AM, Vivek Gautam gautamvivek1...@gmail.com wrote: Hi, On Thu, Feb 14, 2013 at 10:22 AM, Simon Glass s...@chromium.org wrote: Hi, On Tue, Feb 12, 2013 at 10:26 PM, Vivek Gautam gautam.vi

[U-Boot] [PATCH v3 0/2] usb: ehci: exynos: Fixes for non-fdt systems

2013-03-05 Thread Vivek Gautam
-dt way. Vivek Gautam (2): usb: ehci: exynos: Fix multiple FDT decode usb: ehci: exynos: Enable non-dt path drivers/usb/host/ehci-exynos.c | 50 --- 1 files changed, 21 insertions(+), 29 deletions(-) -- 1.7.6.5

[U-Boot] [PATCH v3 1/2] usb: ehci: exynos: Fix multiple FDT decode

2013-03-05 Thread Vivek Gautam
With current FDT support driver tries to parse device node twice in ehci_hcd_init() and ehci_hcd_stop(), which shouldn't happen ideally. Making provision to store data in a global structure and thereby passing its pointer when needed. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com

[U-Boot] [PATCH v3 2/2] usb: ehci: exynos: Enable non-dt path

2013-03-05 Thread Vivek Gautam
Enabling the non-dt path for the driver so that we don't get any build errors for non-dt configuration. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/host/ehci-exynos.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci

Re: [U-Boot] [PATCH] usb: ehci: exynos: Enable non-dt path

2013-02-12 Thread Vivek Gautam
Hi Minkyu, On Tue, Feb 12, 2013 at 1:54 PM, Minkyu Kang mk7.k...@samsung.com wrote: Dear Vivek, On 11/01/13 18:24, Vivek Gautam wrote: Enabling the non-dt path for the driver so that we don't get any build errors for non-dt configuration. Signed-off-by: Vivek Gautam gautam.vi

[U-Boot] [PATCH v2 0/2] usb: ehci: exynos: Enable non-dt path

2013-02-12 Thread Vivek Gautam
Based on 'master' branch of u-boot-samsung. Changes from v1: - Added patch to fix problem of multiple FDT decode. - Addressing warnings when compiling non-dt way. Vivek Gautam (2): usb: ehci: exynos: Fix multiple FDT decode usb: ehci: exynos: Enable non-dt path drivers/usb/host/ehci

[U-Boot] [PATCH v2 1/2] usb: ehci: exynos: Fix multiple FDT decode

2013-02-12 Thread Vivek Gautam
With current FDT support driver tries to parse device node twice in ehci_hcd_init() and ehci_hcd_stop(), which shouldn't happen ideally. Making provision to store data in a global structure and thereby passing its pointer when needed. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com

[U-Boot] [PATCH v2 2/2] usb: ehci: exynos: Enable non-dt path

2013-02-12 Thread Vivek Gautam
Enabling the non-dt path for the driver so that we don't get any build errors for non-dt configuration. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/host/ehci-exynos.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci

[U-Boot] [PATCH 1/2] SMDK5250: Fix compiler warning for non-dt systems

2013-02-12 Thread Vivek Gautam
Compiling for non-dt systems gives folowing warning: smdk5250.c: In function 'board_eth_init': smdk5250.c:152:6: warning: unused variable 'node' [-Wunused-variable] Declare variable 'node' only for dt enabled systems to remove this warning. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com

[U-Boot] [PATCH 2/2] spi: exynos: Fix compiler warnings for non-dt systems

2013-02-12 Thread Vivek Gautam
Enclosing process_nodes() and spi_get_config() inside CONFIG_OF_CONTROL, since they are compiled only for DT systems. This fixes following warning: exynos_spi.c:391:12: warning: 'process_nodes' defined but not used [-Wunused-function] Signed-off-by: Vivek Gautam gautam.vi...@samsung.com

Re: [U-Boot] [PATCH] Exynos5: Add support for USB download boot mode

2013-02-05 Thread Vivek Gautam
Hi Simon, On Tue, Feb 5, 2013 at 2:56 AM, Simon Glass s...@chromium.org wrote: Hi, On Mon, Jan 28, 2013 at 2:39 AM, Vivek Gautam gautam.vi...@samsung.com wrote: Exynos5250 supports secondary USB device boot mode. If the iROM fails to download u-boot from the primary boot device

[U-Boot] [PATCH] Exynos5: Add support for USB download boot mode

2013-01-28 Thread Vivek Gautam
...@chromium.org Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- NOTE: - Based on 'master' branch of u-boot-samsung. - Tested with smdk5250 for usb download mode. board/samsung/smdk5250/spl_boot.c | 40 +++- include/configs/exynos5250-dt.h |5 2

Re: [U-Boot] USB3.0 support snacs 0 storage device

2013-01-17 Thread Vivek Gautam
Hi Satendra, On Thu, Jan 17, 2013 at 11:33 AM, Satendra... satendra.pra...@gmail.com wrote: Hi , I had ported usb3.0 xHCI driver code (not merged yet in the U-Boot : http://patchwork.ozlabs.org/patch/193477/ ) from U-Boot to Barebox. Using that I was able to detect the Controller and hub

[U-Boot] [PATCH] usb: ehci: exynos: Enable non-dt path

2013-01-11 Thread Vivek Gautam
Enabling the non-dt path for the driver so that we don't get any build errors for non-dt configuration. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- Earlier we had moved to fdt support for ehci-exynos driver, but missed out the non-dt path. Although this driver serves for exysno5

Re: [U-Boot] [PATCH] usb: ehci: exynos: Enable non-dt path

2013-01-11 Thread Vivek Gautam
Hi Marek, CCing Simon Glass, Minkyu Kang. On Fri, Jan 11, 2013 at 3:02 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Enabling the non-dt path for the driver so that we don't get any build errors for non-dt configuration. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com

Re: [U-Boot] [RFC PATCH 2/2] USB: xHCI: Add stack support for xHCI

2013-01-11 Thread Vivek Gautam
Hi Satendra, On Fri, Jan 11, 2013 at 11:02 AM, Satendra Pratap satendra.pra...@gmail.com wrote: Vivek Gautam gautamvivek1987 at gmail.com writes: Hi, On Tue, Oct 23, 2012 at 6:30 PM, Wolfgang Denk wd at denx.de wrote: Dear Vivek Gautam, In message 1350989687-32102-3-git-send-email

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Vivek Gautam
Hi Marek, On Tue, Jan 8, 2013 at 12:36 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, From: Rajeshwari Shinde rajeshwar...@samsung.com This patch adds the device node required for USB Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Please rebase on u-boot-usb/next

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Vivek Gautam
On Tue, Jan 8, 2013 at 2:20 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Hi Marek, On Tue, Jan 8, 2013 at 12:36 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, From: Rajeshwari Shinde rajeshwar...@samsung.com This patch adds the device node required for USB

[U-Boot] [PATCH v4 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Vivek Gautam
From: Rajeshwari Shinde rajeshwar...@samsung.com This patch adds the device node required for USB Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- Changes in v4: - Rebased on top of u-boot-samsung/master. Changes in v3: - Using a sub-node under ehci node for phy which

[U-Boot] [PATCH v4 3/3] EXYNOS5: FDT: Add compatible strings for USB

2013-01-08 Thread Vivek Gautam
From: Rajeshwari Shinde rajeshwar...@samsung.com Add required compatible information for USB Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in v4: - Rebased on top of u-boot-samsung/master. Changes in v3: - Added

[U-Boot] [PATCH v4] SMDK5250: Enable VBus for USB 2.0 controller

2013-01-08 Thread Vivek Gautam
This patch enables Vbus required for USB 2.0 controller. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes from v3: - Rebased on top of u-boot-samsung/master. Changes from v2: - Rebased on top of u-boot-usb

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Vivek Gautam
Hi Minkyu Kang, On Tue, Jan 8, 2013 at 3:03 PM, Marek Vasut ma...@denx.de wrote: Dear Minkyu Kang, Hello, On 08/01/13 18:14, Marek Vasut wrote: Dear Vivek Gautam, On Tue, Jan 8, 2013 at 2:20 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, Hi Marek, On Tue, Jan 8

Re: [U-Boot] [PATCH v2] SMDK5250: Enable VBus for USB 2.0 controller

2013-01-07 Thread Vivek Gautam
Hi Marek, CCing: Simon Glass On Mon, Jan 7, 2013 at 9:07 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, This patch enables Vbus required for USB 2.0 controller. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com

[U-Boot] [PATCH v3] SMDK5250: Enable VBus for USB 2.0 controller

2013-01-07 Thread Vivek Gautam
This patch enables Vbus required for USB 2.0 controller. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes from v2: - Rebased on top of u-boot-usb/next - Enclosed the function definition

[U-Boot] [PATCH v3 1/3] EHCI: Exynos: Add fdt support

2013-01-03 Thread Vivek Gautam
From: Rajeshwari Shinde rajeshwar...@samsung.com Adding fdt support to ehci-exynos in order to parse register base addresses from the device node. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in v3: - Using

[U-Boot] [PATCH v3 3/3] EXYNOS5: FDT: Add compatible strings for USB

2013-01-03 Thread Vivek Gautam
From: Rajeshwari Shinde rajeshwar...@samsung.com Add required compatible information for USB Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in v3: - Added compatible string for USB PHY controller. Changes in v2: - None

[U-Boot] [PATCH v2] SMDK5250: Enable VBus for USB 2.0 controller

2013-01-03 Thread Vivek Gautam
This patch enables Vbus required for USB 2.0 controller. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes from v1: - Using the old school method of setting up gpio instead of using the pinmux method

[U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-03 Thread Vivek Gautam
From: Rajeshwari Shinde rajeshwar...@samsung.com This patch adds the device node required for USB Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- Changes in v3: - Using a sub-node under ehci node for phy which provides compatible and reg information. Changes in v2

Re: [U-Boot] [RFC PATCH 2/2] USB: xHCI: Add stack support for xHCI

2012-10-26 Thread Vivek Gautam
HI, On Wed, Oct 24, 2012 at 4:05 AM, Tom Rini tr...@ti.com wrote: On Tue, Oct 23, 2012 at 01:43:51PM +0200, Marek Vasut wrote: Dear Vivek Gautam, This adds stack layer for eXtensible Host Controller Interface which facilitates use of USB 3.0 in host mode. This work is based on xHCI

Re: [U-Boot] [RFC PATCH 1/2] USB: SS: Add support for Super Speed USB interface

2012-10-26 Thread Vivek Gautam
Dear Marek, CCing Simon Glass. On Tue, Oct 23, 2012 at 5:10 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com

Re: [U-Boot] [RFC PATCH 2/2] USB: xHCI: Add stack support for xHCI

2012-10-26 Thread Vivek Gautam
CC: Simon Glass On Fri, Oct 26, 2012 at 3:21 PM, Vivek Gautam gautamvivek1...@gmail.com wrote: HI, On Wed, Oct 24, 2012 at 4:05 AM, Tom Rini tr...@ti.com wrote: On Tue, Oct 23, 2012 at 01:43:51PM +0200, Marek Vasut wrote: Dear Vivek Gautam, This adds stack layer for eXtensible Host

Re: [U-Boot] [RFC PATCH 2/2] USB: xHCI: Add stack support for xHCI

2012-10-26 Thread Vivek Gautam
Hi Marek, On Fri, Oct 26, 2012 at 3:48 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, HI, On Wed, Oct 24, 2012 at 4:05 AM, Tom Rini tr...@ti.com wrote: On Tue, Oct 23, 2012 at 01:43:51PM +0200, Marek Vasut wrote: Dear Vivek Gautam, This adds stack layer for eXtensible Host

Re: [U-Boot] [RFC PATCH 1/2] USB: SS: Add support for Super Speed USB interface

2012-10-26 Thread Vivek Gautam
Hi Marek, On Fri, Oct 26, 2012 at 3:48 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, [...] This comes as an affect of introduction of struct usb_ep_desc which eventually contains struct usb_endpoint_descriptor and struct usb_ss_ep_comp_descriptor. I see, can we split this? I

Re: [U-Boot] [RFC PATCH 2/2] USB: xHCI: Add stack support for xHCI

2012-10-25 Thread Vivek Gautam
Hi, On Tue, Oct 23, 2012 at 6:30 PM, Wolfgang Denk w...@denx.de wrote: Dear Vivek Gautam, In message 1350989687-32102-3-git-send-email-gautam.vi...@samsung.com you wrote: This adds stack layer for eXtensible Host Controller Interface which facilitates use of USB 3.0 in host mode

[U-Boot] [RFC PATCH 0/2] USB: XHCI: Add xHCI host controller stack driver

2012-10-23 Thread Vivek Gautam
;-). Although, code is based on linux's xHCI host controller driver, at certain points putting some delays seemed to make the device working (couldn't get proper explanation on delays in xHCI or USB 3.0 specifications :-(, any help in this regard will be very much appreciated). Vivek Gautam (2

[U-Boot] [RFC PATCH 1/2] USB: SS: Add support for Super Speed USB interface

2012-10-23 Thread Vivek Gautam
This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by: Vikas C Sajjan vikas.saj...@samsung.com Signedoff-by: Vivek Gautam gautam.vi...@samsung.com --- common/cmd_usb.c |6 +- common/usb.c | 41

Re: [U-Boot] [RFC PATCH 0/2] USB: XHCI: Add xHCI host controller stack driver

2012-10-23 Thread Vivek Gautam
Hi Marek, CC: Simon Glass On Tue, Oct 23, 2012 at 4:50 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek Gautam, This change adds necessary framework support for USB3.0 (Super-speed) and xHCI host controller stack layer. This stack will eventually interact with SOC specific USB 3.0

Re: [U-Boot] [PATCH 0/6 V3] EXYNOS5: USB: Enable USB 2.0 support

2012-07-03 Thread Vivek Gautam
at 3:41 PM, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi Joonyoung Shim, Yes, Vivek Gautam is working on the same. He might let you know the progress of the same. Regards, Rajeshwari Shinde. On Tue, Jul 3, 2012 at 3:24 PM, Joonyoung Shim dofm...@gmail.com wrote: Hi, Rajeshwari

Re: [U-Boot] [PATCH 1/6 V4] EXYNOS5: Fix system register structure

2012-05-16 Thread Vivek Gautam
Best regards Vivek Gautam ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

<    1   2