Skip to contentSkip to conversation

usb: ohci-da8xx: Remove code that references mach

PATCH New David Lechner 1 participant 1 message Oct 13, 2016

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

PATCH 1/1 usb: ohci-da8xx: Remove code that references mach

Including mach/* is frowned upon in device drivers, so get rid of it.

This replaces usb20_clk and code that pokes CFGCHIP2 with a proper phy driver.

---

Greg,

This is a resend of the last patch from the "[PATCH v6 0/3] da8xx USB PHY platform devices and clocks" series so you can "pick it up after 4.9-rc1 is out."

re: http://lkml.iu.edu/hypermail/linux/kernel/1610.0/01153.html

 drivers/usb/host/Kconfig      |   1 +
 drivers/usb/host/ohci-da8xx.c | 102 +++++++++++++++++++++++-------------------
 2 files changed, 56 insertions(+), 47 deletions(-)
drivers/usb/host/Kconfig +1 -0
index 2e710a4..1f0cdab8 100644
@@ -482,6 +482,7 @@ config USB_OHCI_HCD_DAVINCI
 	bool "OHCI support for TI DaVinci DA8xx"
 	depends on ARCH_DAVINCI_DA8XX
 	depends on USB_OHCI_HCD=y
+	select PHY_DA8XX_USB
 	default y
 	help
 	  Enables support for the DaVinci DA8xx integrated OHCI
drivers/usb/host/ohci-da8xx.c +55 -47

174 lines not on this page · raw message

Signature · 1 line
2.7.4