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
Signed-off-by: Ajay Kumar Gupta
---
include/configs/da850evm.h | 37
USB0_DRVVBUS pinmux configuration is required for USB functinality
in uboot.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
This patch set is created against Nick Thompson's latest patch set
(v5) on DA8xx support and another patch from him on Davinci pinmux.
[Davinci:
Tested USB host functionality on DA830 EVM.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
drivers/usb/musb/Makefile |1 +
drivers/usb/musb/da8xx.c | 143 +
drivers/usb/musb/da8xx.h | 83 ++
include
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
include/configs/da830evm.h | 35 +++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h
index 38e2ce1..52e6473 100644
--- a
USB0_DRVVBUS pinmux configuration is required for USB functinality
in uboot.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
Created and tested against latest uboot-ti/master branch.
Changes from v1:
- Added GPIO definitions
- Used GPIO register pointer to
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
Signed-off-by: Swaminathan S
---
include/asm-arm/arch-davinci/gpio_defs.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions
Adding USB configuration. Default is set for USB MSC host.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
include/configs/da830evm.h | 38 +-
1 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/include/configs/da830evm.h b
Tested USB host functionality on DA830 EVM.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
drivers/usb/musb/Makefile |1 +
drivers/usb/musb/da8xx.c | 138 +
drivers/usb/musb/da8xx.h | 79 ++
include
000
Signed-off-by: Vaibhav Hiremath
Signed-off-by: Sanjeev Premi
Signed-off-by: Ajay Kumar Gupta
---
Created against denx's u-boot master branch.
board/ti/evm/evm.c | 29 +
board/ti/evm/evm.h | 14 ++
2 files changed, 43 insertions(+), 0 d
Tested USB host functionality on DA830 EVM.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
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/Makefile |1 +
drivers/usb/musb
Adding USB configuration. Default is set for USB MSC host.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
include/configs/da830evm.h | 38 +-
1 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/include/configs/da830evm.h b
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
Signed-off-by: Swaminathan S
---
include/asm-arm/arch-davinci/gpio_defs.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions
jay
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|8 ++
drivers/usb/musb/Makefile|1 +
drivers/usb/musb/da8xx.c
USB0_DRVVBUS pinmux configuration is required for USB functinality
in uboot.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
board/davinci/da830evm/da830evm.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/board/davinci/da830evm/da830evm.c
b
Tested USB host functionality on DA830 EVM.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
drivers/usb/musb/Makefile |1 +
drivers/usb/musb/da8xx.c | 139 +
drivers/usb/musb/da8xx.h | 103
USB0_DRVVBUS pinmux configuration is required for USB functinality
in uboot.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
board/davinci/da830evm/da830evm.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/board/davinci/da830evm/da830evm.c
b
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
Signed-off-by: Swaminathan S
---
include/asm-arm/arch-davinci/gpio_defs.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions
Adding USB configuration. Default is set for USB MSC host.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
include/configs/da830evm.h | 38 +-
1 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/include/configs/da830evm.h b
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
Tested USB host functionality on DA830 EVM.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
drivers/usb/musb/Makefile |1 +
drivers/usb/musb/da8xx.c | 139 +
drivers/usb/musb/da8xx.h | 103
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
Signed-off-by: Sanjeev Premi
Signed-off-by: Ajay Kumar Gupta
---
board/ti/evm/ev
USB0_DRVVBUS pinmux configuration is required for USB functinality
in uboot.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
board/davinci/da830evm/da830evm.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/board/davinci/da830evm/da830evm.c
b
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
Signed-off-by: Swaminathan S
---
include/asm-arm/arch-davinci/gpio_defs.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions
Adding USB configuration. Default is set for USB MSC host.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
include/configs/da830evm.h | 38 +-
1 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/include/configs/da830evm.h b
Tested USB host functionality on DA830 EVM.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
drivers/usb/musb/Makefile |1 +
include/usb.h |2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb
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
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
Signed-off-by: Swaminathan S
---
include/asm-arm/arch-davinci/gpio_defs.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions
USB0_DRVVBUS pinmux configuration is required for USB functinality
in uboot.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
board/davinci/da830evm/da830evm.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/board/davinci/da830evm/da830evm.c
b
Adding USB configuration. Default is set for USB MSC host.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
include/configs/da830evm.h | 38 +-
1 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/include/configs/da830evm.h b
Hi,
These patch set have been refreshed and created against
mainline master branch.
Changes from v6: Added missing drivers/usb/musb/da8xx.c/h files.
Regards,
Ajay
Ajay Kumar Gupta (4):
DA830: Add pinmux for USB0_DRVVBUS
DA8xx: Add GPIO register definitions
DA8xx: Add MUSB host support
Tested USB host functionality on DA830 EVM.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Swaminathan S
---
drivers/usb/musb/Makefile |1 +
drivers/usb/musb/da8xx.c | 139 +
drivers/usb/musb/da8xx.h | 103
Added USB host and device config for host (MSC, Keyboard) and
device (ACM) functionalities.
Signed-off-by: Ajay Kumar Gupta
---
This patch is intended to be applied on top of recent OMAP3 musb
patches from Tom Rix.
include/configs/omap3_evm.h | 39 +++
1
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
---
board/ti/evm/evm.c | 13 +
drivers/usb/musb/omap3.c |3 +++
drivers/usb/musb/om
pply.
Default value of 'extvbus' is being set to '0'.
Signed-off-by: Ajay Kumar Gupta
---
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 chang
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
Signed-off-by: Sanjeev Premi
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: A
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
---
board/ti/evm/evm.c | 13 +
drivers/usb/musb/omap3.c |3 +++
drivers/usb/musb/om
supply.
Also added ULPI bus control register read/write abstraction for
Blackfin processor as it doesn't have ULPI registers.
Signed-off-by: Ajay Kumar Gupta
---
Changes from v1:
- Added ULPI register read/write abstraction for Blackfin.
drivers/usb/musb/musb_core.c |7 +++
-by: Ajay Kumar Gupta
---
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/da8xx.c
index 40bfe44..617d88e 100644
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
CC: Remy Bohmer
Signed-off-by: Vaibhav Hiremath
Signed-off-by: Sanjeev Premi
Signed-off-by: Ajay Kumar Gu
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
CC: Remy Bohmer
Signed-off-by: Vaibhav Hiremath
Signed-off-by: Sanjeev Premi
Signed-off-by: Ajay Kumar Gupta
---
supply.
Also added ULPI bus control register read/write abstraction for
Blackfin processor as it doesn't have ULPI registers.
CC: Remy Bohmer
Signed-off-by: Ajay Kumar Gupta
---
Changes from v2:
Added 'return 0' in Blackfin version if ulpi read function.
drivers/usb/musb/musb_core.c
OMAP3EVM Rev >=E uses external Vbus supply so setting 'extvbus'
to '1' for OMAP3EVM Rev >=E runtime based on EVM revision.
CC: Remy Bohmer
Signed-off-by: Ajay Kumar Gupta
---
No change from v2.
board/ti/evm/evm.c | 13 +
drivers/usb/musb/omap3
-by: Ajay Kumar Gupta
---
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/drivers/usb/musb/da8xx.c
index
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
Signed-off-by: Ajay Kumar Gupta
---
drivers/usb/musb/omap3.h |2 +-
Remy,
These patches add support for musb in AM35x.
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/cpu.h
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
---
arch/arm/include/asm/arch-omap3/cpu.h | 20
1 files changed, 20 insertions
Tested MSC Host on AM3517EVM.
Signed-off-by: Ajay Kumar Gupta
---
drivers/usb/musb/Makefile |1 +
drivers/usb/musb/am35x.c| 118 +++
drivers/usb/musb/am35x.h| 94 ++
drivers/usb/musb/musb_udc.c |2
Enabling USB HOST in defconfig.
Signed-off-by: Ajay Kumar Gupta
---
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 513d005..c197ac8
AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta
---
drivers/usb/musb/am35x.c | 32
drivers/usb/musb/musb_core.c |6 ++
2 files changed, 38 insertions(+), 0
AM35x supports only 32bit read operations so we need to have
workaround for 8bit and 16bit read operations.
Signed-off-by: Ajay Kumar Gupta
---
drivers/usb/musb/am35x.c | 32
drivers/usb/musb/musb_core.c |6 ++
2 files changed, 38 insertions(+), 0
Enabling USB HOST in defconfig.
Signed-off-by: Ajay Kumar Gupta
---
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 10af21b..a9045d8
Tested MSC Host on AM3517EVM.
Signed-off-by: Ajay Kumar Gupta
---
drivers/usb/musb/Makefile |1 +
drivers/usb/musb/am35x.c| 118 +++
drivers/usb/musb/am35x.h| 94 ++
drivers/usb/musb/musb_udc.c |2
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
---
arch/arm/include/asm/arch-omap3/am35x_def.h | 52 +++
1 files changed, 52
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
54 matches
Mail list logo