[U-Boot] [PATCH] musb: Add usb support configs for DA850

2010-08-17 Thread Ajay Kumar Gupta
DA8xx musb support is already available and DA830 is using it as it has required configs in include/configs/da830evm.h Updated the DA850 evm configs so that DA850 evm can also use musb functionalities. CC: Remy Bohmer li...@bohmer.net Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com

[U-Boot] [PATCH 3/4 v2] musb: am35x: Workaround for fifo read issue

2010-07-09 Thread Ajay Kumar Gupta
AM35x supports only 32bit read operations so we need to have workaround for 8bit and 16bit read operations. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- drivers/usb/musb/am35x.c | 32 drivers/usb/musb/musb_core.c |6 ++ 2 files changed, 38

[U-Boot] [PATCH 4/4] AM3517EVM: musb: add usb config

2010-07-09 Thread Ajay Kumar Gupta
Enabling USB HOST in defconfig. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- include/configs/am3517_evm.h | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index

[U-Boot] [PATCH 2/4 v2] musb: MSC host support for AM35x

2010-07-09 Thread Ajay Kumar Gupta
Tested MSC Host on AM3517EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/am35x.c| 118 +++ drivers/usb/musb/am35x.h| 94 ++ drivers/usb/musb

[U-Boot] [PATCH 1/4 v2] AM35x: Adding SCM general register definitions

2010-07-09 Thread Ajay Kumar Gupta
Adding general register structure of system control module (SCM) of AM35x. This would be required to access devconf2 and ip_sw_reset register in musb module. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- arch/arm/include/asm/arch-omap3/am35x_def.h | 52 +++ 1

[U-Boot] [PATCH 0/4 v2] AM35X: Add musb support

2010-07-09 Thread Ajay Kumar Gupta
as there is no interdependent changes. Regards, Ajay Ajay Kumar Gupta (4): AM35x: Adding SCM general register definitions musb: MSC host support for AM35x musb: am35x: Workaround for fifo read issue AM3517EVM: musb: add usb config arch/arm/include/asm/arch-omap3/am35x_def.h | 52 + drivers/usb

[U-Boot] [PATCH 1/4] AM35x: Adding SCM general register definitions

2010-07-07 Thread Ajay Kumar Gupta
Adding general register structure of system control module (SCM) of AM35x. This would be required to access devconf2 and ip_sw_reset register in musb module. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- arch/arm/include/asm/arch-omap3/cpu.h | 20 1 files changed

[U-Boot] [PATCH 2/4] musb: MSC host support for AM35x

2010-07-07 Thread Ajay Kumar Gupta
Tested MSC Host on AM3517EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/am35x.c| 118 +++ drivers/usb/musb/am35x.h| 94 ++ drivers/usb/musb

[U-Boot] [PATCH 4/4] AM3517EVM: musb: add usb config

2010-07-07 Thread Ajay Kumar Gupta
Enabling USB HOST in defconfig. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- include/configs/am3517_evm.h | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index

[U-Boot] [PATCH 3/4] musb: am35x: Workaround for fifo read issue

2010-07-07 Thread Ajay Kumar Gupta
AM35x supports only 32bit read operations so we need to have workaround for 8bit and 16bit read operations. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- drivers/usb/musb/am35x.c | 32 drivers/usb/musb/musb_core.c |6 ++ 2 files changed, 38

[U-Boot] [PATCH] musb: fix compilation warning

2010-07-05 Thread Ajay Kumar Gupta
Fixes below compilation warning omap3.c: In function 'musb_platform_init': omap3.c:123: warning: implicit declaration of function 'omap3_evm_need_extvbus' CC: Remy Bohmer li...@bohmer.net Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- drivers/usb/musb/omap3.h

[U-Boot] [PATCH 4/4] musb: Program extvbus for OMAP3EVM Rev = E

2010-06-09 Thread Ajay Kumar Gupta
OMAP3EVM Rev =E uses external Vbus supply so setting 'extvbus' to '1' for OMAP3EVM Rev =E runtime based on EVM revision. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- board/ti/evm/evm.c | 13 + drivers/usb/musb/omap3.c |3 +++ drivers/usb/musb/omap3.h |4

[U-Boot] [PATCH 2/4 v2] musb: Add Phy programming for using external Vbus

2010-06-09 Thread Ajay Kumar Gupta
added ULPI bus control register read/write abstraction for Blackfin processor as it doesn't have ULPI registers. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- Changes from v1: - Added ULPI register read/write abstraction for Blackfin. drivers/usb/musb/musb_core.c |7

[U-Boot] [PATCH 1/4 v2] musb: Use name based initialization for musb_config

2010-06-09 Thread Ajay Kumar Gupta
...@bohmer.net Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- drivers/usb/musb/da8xx.c |6 +++--- drivers/usb/musb/davinci.c |6 +++--- drivers/usb/musb/omap3.c |6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb

[U-Boot] [PATCH 3/4 v2] omap3evm: Add board revision function

2010-06-09 Thread Ajay Kumar Gupta
...@ti.com Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- Changes from v1: - Fixed the signed-off-by: mail ids board/ti/evm/evm.c | 30 ++ board/ti/evm/evm.h | 14 ++ 2 files changed, 44 insertions(+), 0 deletions(-) diff --git a/board/ti/evm

[U-Boot] [PATCH 3/4 v3] omap3evm: Add board revision function

2010-06-09 Thread Ajay Kumar Gupta
...@ti.com Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- No change from v2. board/ti/evm/evm.c | 30 ++ board/ti/evm/evm.h | 14 ++ 2 files changed, 44 insertions(+), 0 deletions(-) diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index 0718a08

[U-Boot] [PATCH 2/4 v3] musb: Add Phy programming for using external Vbus

2010-06-09 Thread Ajay Kumar Gupta
added ULPI bus control register read/write abstraction for Blackfin processor as it doesn't have ULPI registers. CC: Remy Bohmer li...@bohmer.net Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- Changes from v2: Added 'return 0' in Blackfin version if ulpi read function. drivers/usb/musb

[U-Boot] [PATCH 4/4 v3] musb: Program extvbus for OMAP3EVM Rev = E

2010-06-09 Thread Ajay Kumar Gupta
OMAP3EVM Rev =E uses external Vbus supply so setting 'extvbus' to '1' for OMAP3EVM Rev =E runtime based on EVM revision. CC: Remy Bohmer li...@bohmer.net Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- No change from v2. board/ti/evm/evm.c | 13 + drivers/usb/musb

[U-Boot] [PATCH 1/4 v3] musb: Use name based initialization for musb_config

2010-06-09 Thread Ajay Kumar Gupta
...@bohmer.net Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- No change from v2. drivers/usb/musb/da8xx.c |6 +++--- drivers/usb/musb/davinci.c |6 +++--- drivers/usb/musb/omap3.c |6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/usb/musb/da8xx.c b

[U-Boot] [PATCH 3/3] musb: Program extvbus for OMAP3EVM Rev = E

2010-06-08 Thread Ajay Kumar Gupta
OMAP3EVM Rev =E uses external Vbus supply so setting 'extvbus' to '1' for OMAP3EVM Rev =E runtime based on EVM revision. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- board/ti/evm/evm.c | 13 + drivers/usb/musb/omap3.c |3 +++ drivers/usb/musb/omap3.h |4

[U-Boot] [PATCH 1/3] musb: Add Phy programming for using external Vbus

2010-06-08 Thread Ajay Kumar Gupta
value of 'extvbus' is being set to '0'. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- drivers/usb/musb/davinci.c |1 + drivers/usb/musb/musb_core.c |7 +++ drivers/usb/musb/musb_core.h | 10 +- drivers/usb/musb/omap3.c |1 + 4 files changed, 18 insertions

[U-Boot] [PATCH 2/3] omap3evm: Add board revision function

2010-06-08 Thread Ajay Kumar Gupta
Gupta ajay.gupta at ti.com Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- board/ti/evm/evm.c | 30 ++ board/ti/evm/evm.h | 14 ++ 2 files changed, 44 insertions(+), 0 deletions(-) diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index 0718a08

[U-Boot] [PATCH 0/4 v6] DA8xx: USB support

2009-12-21 Thread Ajay Kumar Gupta
Hi, These patch set have been refreshed and created against mainline master branch. Regards, Ajay Ajay Kumar Gupta (4): DA830: Add pinmux for USB0_DRVVBUS DA8xx: Add GPIO register definitions DA8xx: Add MUSB host support DA830: Add usb config board/davinci/da830evm/da830evm.c

[U-Boot] [PATCH 3/4 v7] DA8xx: Add MUSB host support

2009-12-21 Thread Ajay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 139 + drivers/usb/musb/da8xx.h | 103

[U-Boot] [PATCH] omap3evm: Add board revision function

2009-11-19 Thread Ajay Kumar Gupta
Added function to differentiate between the OMAP3EVM revisions. The chip-id of the ethernet PHY is being used for this purpose. Rev A to D : 0x0115 Rev = E : 0x9220 Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Sanjeev Premi pr...@ti.com Signed-off-by: Ajay Kumar Gupta

[U-Boot] [PATCH 4/4 v4] DA830: Add usb config

2009-11-14 Thread Ajay Kumar Gupta
Adding USB configuration. Default is set for USB MSC host. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/configs/da830evm.h | 38 +- 1 files changed, 33 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 2/4 v4] DA8xx: Add GPIO register definitions

2009-11-14 Thread Ajay Kumar Gupta
Added DA8xx GPIO base addresses in gpio_defs.h and pointers to different BANKs which can be used to program GPIOs. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/asm-arm/arch-davinci/gpio_defs.h | 14 ++ 1 files changed

[U-Boot] [PATCH 0/4 v4] DA8xx: USB support

2009-11-14 Thread Ajay Kumar Gupta
Kumar Gupta (4): DA830: Add pinmux for USB0_DRVVBUS DA8xx: Add GPIO register definitions DA8xx: Add MUSB host support DA830: Add usb config board/davinci/da830evm/da830evm.c|8 ++ drivers/usb/musb/Makefile|1 + drivers/usb/musb/da8xx.c | 139

[U-Boot] [PATCH 1/4 v4] DA830: Add pinmux for USB0_DRVVBUS

2009-11-14 Thread Ajay Kumar Gupta
USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- board/davinci/da830evm/da830evm.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 3/4 v4] DA8xx: Add MUSB host support

2009-11-14 Thread Ajay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 139 + drivers/usb/musb/da8xx.h | 103

[U-Boot] [PATCH 1/4 v5] DA830: Add pinmux for USB0_DRVVBUS

2009-11-14 Thread Ajay Kumar Gupta
USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- board/davinci/da830evm/da830evm.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 2/4 v5] DA8xx: Add GPIO register definitions

2009-11-14 Thread Ajay Kumar Gupta
Added DA8xx GPIO base addresses in gpio_defs.h and pointers to different BANKs which can be used to program GPIOs. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/asm-arm/arch-davinci/gpio_defs.h | 14 ++ 1 files changed

[U-Boot] [PATCH 4/4 v5] DA830: Add usb config

2009-11-14 Thread Ajay Kumar Gupta
Adding USB configuration. Default is set for USB MSC host. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/configs/da830evm.h | 38 +- 1 files changed, 33 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 0/4 v5] DA8xx: USB support

2009-11-14 Thread Ajay Kumar Gupta
Hi, These patch set have been created against uboot-ti/master branch. Fixed missing '' in [PATCH 3/4] from previous version. I didn't modify the alignment in include/usb.h as Nick suggested, would wait for Remy Bohmer's comment on this. Regards, Ajay Ajay Kumar Gupta (4): DA830: Add pinmux

[U-Boot] [PATCH 3/4 v5] DA8xx: Add MUSB host support

2009-11-14 Thread Ajay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 139 + drivers/usb/musb/da8xx.h | 103

[U-Boot] [PATCH] omap3evm: Add board revision function

2009-11-13 Thread Ajay Kumar Gupta
Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Signed-off-by: Sanjeev Premi pr...@ti.com Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- Created against denx's u-boot master branch. board/ti/evm/evm.c | 29 + board/ti/evm/evm.h | 14 ++ 2 files

[U-Boot] [PATCH v3] DA8xx: Add MUSB host support

2009-11-13 Thread Ajay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- Patch has updated licensing header.Other patch in series has no update so not reposting them untill I get any rework comment. drivers/usb/musb

[U-Boot] [PATCH 1/3] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Ajay Kumar Gupta
USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- This patch set is created against Nick Thompson's latest patch set (v5) on DA8xx support and another patch from him

[U-Boot] [PATCH 2/3] DA8xx: Add MUSB host support

2009-11-12 Thread Ajay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 143 + drivers/usb/musb/da8xx.h | 83

[U-Boot] [PATCH 1/4 v2] DA830: Add pinmux for USB0_DRVVBUS

2009-11-12 Thread Ajay Kumar Gupta
USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- Created and tested against latest uboot-ti/master branch. Changes from v1: - Added GPIO definitions

[U-Boot] [PATCH 2/4 v2] DA8xx: Add GPIO register definitions

2009-11-12 Thread Ajay Kumar Gupta
Added DA8xx GPIO base addresses in gpio_defs.h and pointers to different BANKs which can be used to program GPIOs. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/asm-arm/arch-davinci/gpio_defs.h | 14 ++ 1 files changed

[U-Boot] [PATCH 4/4 v2] DA830: Add usb config

2009-11-12 Thread Ajay Kumar Gupta
Adding USB configuration. Default is set for USB MSC host. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- include/configs/da830evm.h | 38 +- 1 files changed, 33 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 3/4 v2] DA8xx: Add MUSB host support

2009-11-12 Thread Ajay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Swaminathan S swami.i...@ti.com --- drivers/usb/musb/Makefile |1 + drivers/usb/musb/da8xx.c | 138 + drivers/usb/musb/da8xx.h | 79

[U-Boot] [PATCH] omap3evm: musb: add USB config

2009-10-28 Thread Ajay Kumar Gupta
Added USB host and device config for host (MSC, Keyboard) and device (ACM) functionalities. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- This patch is intended to be applied on top of recent OMAP3 musb patches from Tom Rix. include/configs/omap3_evm.h | 39