diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-22 15:35:22 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-13 22:18:46 +0100 |
commit | a4076ddf6577a5163c4d36aa4dff2e674df37b2d (patch) | |
tree | 1a5e656f29a49f8f77411b77cd52fead9688046f /drivers/usb/imx/Kconfig | |
parent | 15fd89d0a49f015e2b6078a28cb61400f4028e39 (diff) | |
download | barebox-a4076ddf6577a5163c4d36aa4dff2e674df37b2d.tar.gz barebox-a4076ddf6577a5163c4d36aa4dff2e674df37b2d.tar.xz |
USB i.MX: Add chipidea driver support
For proper USB function the usbmisc registers have to be initialized.
This patch adds a driver which matches for the usbmisc registers. This
driver is called from a new driver which binds to the USB ports to
configure the misc registers. After that the driver registers the EHCI
driver and an ULPI transceiver if necessary. Currently only host mode
is supported, but device support can be added later.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/imx/Kconfig')
-rw-r--r-- | drivers/usb/imx/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/usb/imx/Kconfig b/drivers/usb/imx/Kconfig new file mode 100644 index 0000000000..2c52e727d8 --- /dev/null +++ b/drivers/usb/imx/Kconfig @@ -0,0 +1,15 @@ + +config USB_IMX_CHIPIDEA + bool "i.MX USB support (read help)" + depends on ARCH_IMX + help + The Freescale i.MX SoCs have a variant of the chipidea ci13xxx for + USB support. Traditionally in barebox this is supported through the + EHCI driver for USB host and the ARC USB gadget driver for device. + This option instead enables support for i.MX chipidea support which + acts as a toplevel driver for the i.MX USB support. The chipidea + support also configures the usbmisc registers which traditionally + are configured in the board file. + This driver is recommended for new designs, but it needs board + support to work. + It's safe to say yes here. Also select EHCI support for USB host. |