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
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
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
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
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
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
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
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
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
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
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
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
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
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
/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
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
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
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
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
19 matches
Mail list logo