mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
usb: host: omap: common usb host core driver
enabling and disabling the common clocks for ehci and ohci is implemented. usbhs is a common parent platform driver for EHCI and OHCI driver. This driver receives the clock enable and disable requests from ehci and ohci drivers.The UHH and TLL initialization is also performed. Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
181b250cf5
commit
17cdd29d6e
@ -102,6 +102,9 @@ extern void usb_ehci_init(const struct usbhs_omap_board_data *pdata);
|
||||
|
||||
extern void usb_ohci_init(const struct usbhs_omap_board_data *pdata);
|
||||
|
||||
extern int omap_usbhs_enable(struct device *dev);
|
||||
extern void omap_usbhs_disable(struct device *dev);
|
||||
|
||||
extern int omap4430_phy_power(struct device *dev, int ID, int on);
|
||||
extern int omap4430_phy_set_clk(struct device *dev, int on);
|
||||
extern int omap4430_phy_init(struct device *dev);
|
||||
|
@ -624,6 +624,15 @@ config MFD_WL1273_CORE
|
||||
driver connects the radio-wl1273 V4L2 module and the wl1273
|
||||
audio codec.
|
||||
|
||||
config MFD_OMAP_USB_HOST
|
||||
bool "Support OMAP USBHS core driver"
|
||||
depends on USB_EHCI_HCD_OMAP || USB_OHCI_HCD_OMAP3
|
||||
default y
|
||||
help
|
||||
This is the core driver for the OAMP EHCI and OHCI drivers.
|
||||
This MFD driver does the required setup functionalities for
|
||||
OMAP USB Host drivers.
|
||||
|
||||
endif # MFD_SUPPORT
|
||||
|
||||
menu "Multimedia Capabilities Port drivers"
|
||||
|
@ -83,3 +83,4 @@ obj-$(CONFIG_MFD_TPS6586X) += tps6586x.o
|
||||
obj-$(CONFIG_MFD_VX855) += vx855.o
|
||||
obj-$(CONFIG_MFD_WL1273_CORE) += wl1273-core.o
|
||||
obj-$(CONFIG_MFD_CS5535) += cs5535-mfd.o
|
||||
obj-$(CONFIG_MFD_OMAP_USB_HOST) += omap-usb-host.o
|
||||
|
1061
drivers/mfd/omap-usb-host.c
Normal file
1061
drivers/mfd/omap-usb-host.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user