Skip to contentSkip to conversation

Atmel : usb : add EHCI driver for Atmel SoC

PATCH RESEND New Bo Shen 3 participants 5 messages Jun 28, 2012

Subsystems (3)
lore
Share & tools
lore

Bo Shen

author
#0 lore raw

PATCH RESEND v3 1/1 Atmel : usb : add EHCI driver for Atmel SoC

Some Atmel SoC support USB EHCI, add the EHCI driver to support it.

To enable the USB EHCI, add the following configuration options into board relative configuration file and remove USB OHCI options.

    #define CONFIG_USB_EHCI
    #define CONFIG_USB_EHCI_ATMEL
    #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS     2

---
Change since v2:
Add timeout and change the coding style

Change since v1:
Add WATCHDOG_RESET to avoid infinite loop.

---
 drivers/usb/host/Makefile     |    1 +
 drivers/usb/host/ehci-atmel.c |   89 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)
 create mode 100644 drivers/usb/host/ehci-atmel.c
drivers/usb/host/Makefile +1 -0
index 59c3e57..4547f37 100644
@@ -36,6 +36,7 @@ COBJS-$(CONFIG_USB_SL811HS) += sl811-hcd.o
 # echi
 COBJS-$(CONFIG_USB_EHCI) += ehci-hcd.o
 COBJS-$(CONFIG_USB_EHCI_ARMADA100) += ehci-armada100.o utmi-armada100.o
+COBJS-$(CONFIG_USB_EHCI_ATMEL) += ehci-atmel.o
 ifdef CONFIG_MPC512X
 COBJS-$(CONFIG_USB_EHCI_FSL) += ehci-mpc512x.o
 else
drivers/usb/host/ehci-atmel.c new file +89 -0

89 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

PATCH RESEND v3 1/1 Atmel : usb : add EHCI driver for Atmel SoC

Dear Bo Shen,

Quoted 9 lines

Some Atmel SoC support USB EHCI, add the EHCI driver to support it.

To enable the USB EHCI, add the following configuration options into board relative configuration file and remove USB OHCI options.

    #define CONFIG_USB_EHCI
    #define CONFIG_USB_EHCI_ATMEL
    #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS     2
Quoted 7 lines

---
Change since v2:
Add timeout and change the coding style

Change since v1:
Add WATCHDOG_RESET to avoid infinite loop.

Andreas, wanna apply this?

Best regards,
Marek Vasut

#2 lore raw

PATCH RESEND v3 1/1 Atmel : usb : add EHCI driver for Atmel SoC

Dear Marek Vasut,

Quoted 16 lines · Marek Vasut

Dear Bo Shen,

Quoted 14 lines

Some Atmel SoC support USB EHCI, add the EHCI driver to support it.

To enable the USB EHCI, add the following configuration options into board relative configuration file and remove USB OHCI options.

    #define CONFIG_USB_EHCI
    #define CONFIG_USB_EHCI_ATMEL
    #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS     2

---
Change since v2:
Add timeout and change the coding style

Quoted 4 lines
Quoted 2 lines

Change since v1:
Add WATCHDOG_RESET to avoid infinite loop.

Andreas, wanna apply this?

will do, can I get your ACK?

Best regards

Andreas Bie?mann

#3 lore raw

PATCH RESEND v3 1/1 Atmel : usb : add EHCI driver for Atmel SoC

Dear Andreas Bie?mann,

Quoted 20 lines

Dear Marek Vasut,

Quoted 17 lines · Marek Vasut

Dear Bo Shen,

Quoted 15 lines

Some Atmel SoC support USB EHCI, add the EHCI driver to support it.

To enable the USB EHCI, add the following configuration options into board relative configuration file and remove USB OHCI options.

    #define CONFIG_USB_EHCI
    #define CONFIG_USB_EHCI_ATMEL
    #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS     2

---

Change since v2:
Add timeout and change the coding style

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Change since v1:
Add WATCHDOG_RESET to avoid infinite loop.

Andreas, wanna apply this?

will do, can I get your ACK?

Definitelly

Quoted 4 lines

Best regards

Andreas Bie?mann

Best regards,
Marek Vasut

#4 lore raw

PATCH RESEND v3 1/1 Atmel : usb : add EHCI driver for Atmel SoC

In reply to Bo Shen

Dear Bo Shen,

Quoted 9 lines · Bo Shen

Some Atmel SoC support USB EHCI, add the EHCI driver to support it.

To enable the USB EHCI, add the following configuration options into board relative configuration file and remove USB OHCI options.

    #define CONFIG_USB_EHCI
    #define CONFIG_USB_EHCI_ATMEL
    #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS     2
Quoted 7 lines

---
Change since v2:
Add timeout and change the coding style

Change since v1:
Add WATCHDOG_RESET to avoid infinite loop.

applied to u-boot-atmel/master, thnaks!

Best regards

Andreas Bie?mann