Re: [U-Boot] [PATCH v3 1/3] AM335x : Add USB support for AM335x in u-boot

2012-07-01 Thread Harman Sohanpal
On Sat, Jun 30, 2012 at 9:38 PM, Ilya Yanok wrote: > Hi, > > Harman Sohanpal ti.com> writes: >> +/* Control Module Registers */ >> +#define CM_REGISTERS CTRL_BASE >> +#define USB_CTRL0_REG_OFFSET (0x628) >> +#define USB_CTRL1_REG_OFFSET (0x

Re: [U-Boot] [PATCH v4 0/3] AM335x: Add USB support in u-boot.

2012-06-29 Thread Harman Sohanpal
On Sat, Jun 30, 2012 at 9:28 AM, Marek Vasut wrote: > Dear Harman Sohanpal, > >> On Sat, Jun 30, 2012 at 6:15 AM, Marek Vasut wrote: >> > Dear Harman Sohanpal, >> > >> >> These patches add USB support in u-boot for AM335x. >> >> The support

Re: [U-Boot] [PATCH v4 0/3] AM335x: Add USB support in u-boot.

2012-06-29 Thread Harman Sohanpal
On Sat, Jun 30, 2012 at 6:15 AM, Marek Vasut wrote: > Dear Harman Sohanpal, > >> These patches add USB support in u-boot for AM335x. >> The support for host or device is selected >> depending on the config selected from boards.cfg file. >> Host mode is select

[U-Boot] [PATCH v4 1/3] AM335x : Add USB support for AM335x in u-boot

2012-06-29 Thread Harman Sohanpal
device mode. Signed-off-by: Gene Zarkhin Signed-off-by: Harman Sohanpal --- Changes for v2: - none Changes for v3: - Changed commit message to specify why USB 1 has been enabled by default. Changes for v4: - Selected USB module from board.cfg. - Cleaned up

[U-Boot] [PATCH v4 3/3] musb_udc : Fix compile warning.

2012-06-29 Thread Harman Sohanpal
host mode and device mode. Signed-off-by: Harman Sohanpal --- Changes for v2: - none Changes for v3: - none Changes for v4: - none drivers/usb/musb/musb_core.h |2 ++ drivers/usb/musb/musb_hcd.h |3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a

[U-Boot] [PATCH v4 2/3] AM335x : Configs to add USB support.

2012-06-29 Thread Harman Sohanpal
Adds required configs in config file for am335x_evm to add support for usb. Host mode or device mode selected according to the USB module selected from boards.cfg file. Host for USB1 and device for USB0. By default USB0 is selected. Signed-off-by: Harman Sohanpal --- Changes for v2

[U-Boot] [PATCH v4 0/3] AM335x: Add USB support in u-boot.

2012-06-29 Thread Harman Sohanpal
USB support for AM335x in u-boot Harman Sohanpal (2): AM335x : Configs to add USB host support. musb_udc : Fix compile warning. drivers/usb/musb/Makefile|1 + drivers/usb/musb/am335x.c| 121 ++ drivers/usb/musb/am335x.h| 113

[U-Boot] [PATCH v3 1/3] AM335x : Add USB support for AM335x in u-boot

2012-06-26 Thread Harman Sohanpal
has a mini connector so used in device mode. By default, the support is added for host mode hence USB 1 has been enabled by default. Signed-off-by: Gene Zarkhin Signed-off-by: Harman Sohanpal --- Changes for v2: - none Changes for v3: - Changed commit message to specify why USB 1

[U-Boot] [PATCH v3 3/3] musb_udc : Fix compile warning.

2012-06-26 Thread Harman Sohanpal
host mode and device mode. Signed-off-by: Harman Sohanpal --- Changes for v2: - none. Changes for v3: - none. drivers/usb/musb/musb_core.h |2 ++ drivers/usb/musb/musb_hcd.h |3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/musb/musb_core.h

[U-Boot] [PATCH v3 2/3] AM335x : Configs to add USB host support.

2012-06-26 Thread Harman Sohanpal
Adds required configs in config file for am335x_evm to add support for usb host mode. To enable USB device mode, add CONFIG_MUSB_UDC in place of CONFIG_MUSB_HCD. Tested using usbtty for device mode and mass storage for host mode. Signed-off-by: Harman Sohanpal --- Changes for v2

[U-Boot] [PATCH v3 0/3] AM335x: Add USB support in u-boot.

2012-06-26 Thread Harman Sohanpal
Zarkhin (1): AM335x : Add USB support for AM335x in u-boot Harman Sohanpal (2): AM335x : Configs to add USB host support. musb_udc : Fix compile warning. drivers/usb/musb/Makefile|1 + drivers/usb/musb/am335x.c| 121 ++ drivers/usb/musb

[U-Boot] [PATCH v2 2/3] AM335x : Configs to add USB host support.

2012-06-22 Thread Harman Sohanpal
This patch adds required configs in config file for am335x_evm to add support for usb host mode. To enable USB device mode, add CONFIG_MUSB_UDC in place of CONFIG_MUSB_HCD Signed-off-by: Harman Sohanpal --- Changes for v2: - #define cleanups include/configs/am335x_evm.h | 41

[U-Boot] [PATCH v2 0/3] AM335x: Add USB support in u-boot.

2012-06-22 Thread Harman Sohanpal
These patches add usb support in u-boot for AM335x. I have tested this code on AM335x evm and beaglebone in the host mode using mass storage class. Gene Zarkhin (1): AM335x : Add USB support for AM335x in u-boot Harman Sohanpal (2): AM335x : Configs to add USB host support. musb_udc : Fix

[U-Boot] [PATCH v2 3/3] musb_udc : Fix compile warning.

2012-06-22 Thread Harman Sohanpal
for both host mode and device mode. Signed-off-by: Harman Sohanpal --- Changes for v2: - none drivers/usb/musb/musb_core.h |2 ++ drivers/usb/musb/musb_hcd.h |3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb

[U-Boot] [PATCH v2 1/3] AM335x : Add USB support for AM335x in u-boot

2012-06-22 Thread Harman Sohanpal
/musb/am335x.c new file mode 100644 index 000..4b59769 --- /dev/null +++ b/drivers/usb/musb/am335x.c @@ -0,0 +1,121 @@ +/* + * am335x.c - TI's AM335x platform specific usb wrapper functions. + * + * Author: gene Zarkhin + * Modified by: Harman Sohanpal + * + * Based on drivers/usb/musb/da

[U-Boot] [PATCH 1/3] AM335x : Add USB support for AM335x in u-boot

2012-06-21 Thread Harman Sohanpal
index 000..4b59769 --- /dev/null +++ b/drivers/usb/musb/am335x.c @@ -0,0 +1,121 @@ +/* + * am335x.c - TI's AM335x platform specific usb wrapper functions. + * + * Author: gene Zarkhin + * Modified by: Harman Sohanpal + * + * Based on drivers/usb/musb/da8xx.c + * + * Copyright (c) 2012

[U-Boot] [PATCH 2/3] AM335x : Configs to add USB host support.

2012-06-21 Thread Harman Sohanpal
This patch adds required configs in config file for am335x_evm to add support for usb host mode. To enable USB device mode, add CONFIG_MUSB_UDC in place of CONFIG_MUSB_HCD Signed-off-by: Harman Sohanpal --- include/configs/am335x_evm.h | 41 + 1 files

[U-Boot] [PATCH 3/3] musb_udc : Fix compile warning.

2012-06-21 Thread Harman Sohanpal
for both host mode and device mode. Signed-off-by: Harman Sohanpal --- drivers/usb/musb/musb_core.h |2 ++ drivers/usb/musb/musb_hcd.h |3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index a8adcce..14253f0

[U-Boot] [PATCH 0/3] AM335x: Add USB support in u-boot.

2012-06-21 Thread Harman Sohanpal
These patches add usb support in u-boot for AM335x. I have tested this code on AM335x evm and beaglebone in the host mode using mass storage class. Gene Zarkhin (1): AM335x : Add USB support for AM335x in u-boot Harman Sohanpal (2): AM335x : Configs to add USB host support. musb_udc : Fix