Skip to contentSkip to conversation

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

PATCH Superseded Wenyou Yang 1 participant 1 message Jul 20, 2016

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

PATCH 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