Skip to contentSkip to conversation

dm: atmel: Add driver model support for the ehci driver

PATCH RESEND New Wenyou Yang 3 participants 6 messages Aug 5, 2016 – Aug 15, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND v3 1/1 dm: atmel: Add driver model support for the ehci driver

Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not.

---

Changes in v3:
- Change clk_client.h -> clk.h to adapt to clk API conversion.

Changes in v2:
- Collect Acked-by tag.
- Update the clk API based on [PATCH] clk: convert API to match reset/mailbox fstyle (http://patchwork.ozlabs.org/patch/625342/).

 drivers/usb/host/Kconfig      |   7 +++
 drivers/usb/host/ehci-atmel.c | 116 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 123 insertions(+)
drivers/usb/host/Kconfig +7 -0
index 89580cc..b8dd18e 100644
@@ -60,6 +60,13 @@ config USB_EHCI
 
 if USB_EHCI_HCD
 
+config USB_EHCI_ATMEL
+	bool  "Support for Atmel on-chip EHCI USB controller"
+	depends on ARCH_AT91
+	default y
+	---help---
+	  Enables support for the on-chip EHCI controller on Atmel chips.
+
 config USB_EHCI_MARVELL
 	bool "Support for MVEBU (AXP / A38x) on-chip EHCI USB controller"
 	depends on ARCH_MVEBU
drivers/usb/host/ehci-atmel.c +116 -0

131 lines not on this page · raw message

Signature · 1 line
2.7.4
Applied
#1 lore raw

PATCH RESEND v3 1/1 dm: atmel: Add driver model support for the ehci driver

Quoted 11 lines · Wenyou Yang

Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not.

---

Changes in v3:
- Change clk_client.h -> clk.h to adapt to clk API conversion.

Quoted 8 lines

Changes in v2:
- Collect Acked-by tag.
- Update the clk API based on [PATCH] clk: convert API to match reset/mailbox fstyle (http://patchwork.ozlabs.org/patch/625342/).

 drivers/usb/host/Kconfig      |   7 +++
 drivers/usb/host/ehci-atmel.c | 116 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 123 insertions(+)

Applied, thanks.

Signature · 2 lines
Best regards,
Marek Vasut
#2 lore raw

PATCH RESEND v3 1/1 dm: atmel: Add driver model support for the ehci driver

In reply to Wenyou Yang

Dear Wenyou Yang,

Quoted 11 lines · Wenyou Yang

Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not.

---

Changes in v3:
- Change clk_client.h -> clk.h to adapt to clk API conversion.

Quoted 8 lines

Changes in v2:
- Collect Acked-by tag.
- Update the clk API based on [PATCH] clk: convert API to match reset/mailbox fstyle (http://patchwork.ozlabs.org/patch/625342/).

drivers/usb/host/Kconfig | 7 +++
drivers/usb/host/ehci-atmel.c | 116 ++++++++++++++++++++++++++++++++++++++++++

2 files changed, 123 insertions(+)

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

Best regards,
Andreas Bie?mann

#3 lore raw

PATCH RESEND v3 1/1 dm: atmel: Add driver model support for the ehci driver

Quoted 19 lines · Andreas Bie?mann

Dear Wenyou Yang,

Quoted 16 lines · Wenyou Yang

Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not.

---

Changes in v3:
- Change clk_client.h -> clk.h to adapt to clk API conversion.

Changes in v2:
- Collect Acked-by tag.
- Update the clk API based on [PATCH] clk: convert API to match reset/mailbox fstyle (http://patchwork.ozlabs.org/patch/625342/).

Quoted 9 lines
Quoted 3 lines

drivers/usb/host/Kconfig | 7 +++
drivers/usb/host/ehci-atmel.c | 116 ++++++++++++++++++++++++++++++++++++++++++

2 files changed, 123 insertions(+)

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

Best regards,
Andreas Bie?mann

Wasn't this droppped because of some build issues ? See the USB PR mail.

Signature · 2 lines
Best regards,
Marek Vasut
#4 lore raw

PATCH RESEND v3 1/1 dm: atmel: Add driver model support for the ehci driver

Hi Marek,

Quoted 24 lines · Marek Vasut
Quoted 23 lines · Andreas Bie?mann

Dear Wenyou Yang,

Quoted 19 lines · Wenyou Yang

Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not.

---

Changes in v3:
- Change clk_client.h -> clk.h to adapt to clk API conversion.

Changes in v2:
- Collect Acked-by tag.
- Update the clk API based on [PATCH] clk: convert API to match reset/mailbox fstyle (http://patchwork.ozlabs.org/patch/625342/).

drivers/usb/host/Kconfig | 7 +++
drivers/usb/host/ehci-atmel.c | 116 ++++++++++++++++++++++++++++++++++++++++++

2 files changed, 123 insertions(+)
Quoted 7 lines
Quoted 5 lines

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

Best regards,
Andreas Bie?mann

Wasn't this droppped because of some build issues ? See the USB PR mail.

Sorry, haven't seen that PR.
This patch depends on 'clk: at91: Add clock driver' (9e5935c in u-boot-atmel/master).
No build error for arm nor avr32 here (also depends on
http://patchwork.ozlabs.org/patch/659378/; currently not on u-boot-atmel/master).

Andreas

#5 lore raw

PATCH RESEND v3 1/1 dm: atmel: Add driver model support for the ehci driver

Quoted 35 lines · Andreas Bie?mann

Hi Marek,

Quoted 24 lines · Marek Vasut
Quoted 23 lines · Andreas Bie?mann

Dear Wenyou Yang,

Quoted 19 lines · Wenyou Yang

Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not.

---

Changes in v3:
- Change clk_client.h -> clk.h to adapt to clk API conversion.

Changes in v2:
- Collect Acked-by tag.
- Update the clk API based on [PATCH] clk: convert API to match reset/mailbox fstyle (http://patchwork.ozlabs.org/patch/625342/).

drivers/usb/host/Kconfig | 7 +++
drivers/usb/host/ehci-atmel.c | 116 ++++++++++++++++++++++++++++++++++++++++++

2 files changed, 123 insertions(+)
Quoted 7 lines
Quoted 5 lines

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

Best regards,
Andreas Bie?mann

Wasn't this droppped because of some build issues ? See the USB PR mail.

Quoted 6 lines

Sorry, haven't seen that PR.
This patch depends on 'clk: at91: Add clock driver' (9e5935c in u-boot-atmel/master).
No build error for arm nor avr32 here (also depends on
http://patchwork.ozlabs.org/patch/659378/; currently not on u-boot-atmel/master).

Oh right, the clock driver. If it builds now, that's great :) Thanks for picking it up.

Signature · 2 lines
Best regards,
Marek Vasut