summaryrefslogtreecommitdiffstats
path: root/drivers/usb/imx
Commit message (Collapse)AuthorAgeFilesLines
...
* USB: i.MX5x: Remove usage of MXC_EHCI_INTERNAL_PHY for OTG portAlexander Shiyan2013-11-041-3/+0
| | | | | | | | i.MX5x OTG port is hardwired to the internal UTMI PHY, so having this configurable makes no sense and helps using this port with DT. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next-manual/oftree-linux-sync'Sascha Hauer2013-07-021-7/+7
|\
| * OF: base: import parse phandle functions from Linux OF APISebastian Hesselbarth2013-06-201-6/+5
| | | | | | | | | | | | | | | | This imports of_parse_phandle_with_args and of_count_phandle_with_args from Linux OF API. The slightly different of_parse_phandles_with_args is removed and all users are converted to reflect the API change. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
| * OF: base: sync of_find_property with linux OF APISebastian Hesselbarth2013-06-201-1/+2
| | | | | | | | | | | | | | | | To start synchronizing OF API of barebox with linux OF API, this adds a length pointer to of_find_property. Also all current users of that function are updated to reflect the API change. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
* | Merge branch 'for-next/imx'Sascha Hauer2013-07-011-13/+16
|\ \ | |/ |/| | | | | Conflicts: drivers/usb/imx/chipidea-imx.c
| * usb: i.MX chipidea: probe ULPI phys laterSascha Hauer2013-06-251-15/+16
| | | | | | | | | | | | | | | | Probe ULPI phys during USB initialization and not during driver probe. This lowers the pressure to have the necessary board specific setup in place early. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Revert "usb: chipidea-imx: Fix usb initialization"Lucas Stach2013-06-171-2/+2
|/ | | | | | | | | | This breaks HSIC and has no good justification why this would be needed for ULPI. This reverts commit 2e7d66f526217f6ff3167e4580aecb9548a0de33. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: i.MX chipidea: Add overcurrent disable flag for i.MX6Sascha Hauer2013-05-312-1/+12
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: i.MX chipidea: Add devicetree supportSascha Hauer2013-05-313-27/+166
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: chipidea-imx: Fix usb initializationAlexander Shiyan2013-03-131-2/+2
| | | | | | | | | | | This patch fix chipidea-imx usb initialization. "imx_chipidea_port_init" was moved before PORTSC setup in the commit "USB i.MX chipidea: implement post init support". This change breaks usb function with ULPI. Patch moves port initialization back after PORTSC setup, so it works again. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/usb'Sascha Hauer2013-03-042-25/+154
|\
| * USB i.MX: Add chipidea gadget supportSascha Hauer2013-02-151-5/+6
| | | | | | | | | | | | | | | | This adds USB gadget support to the i.MX chipidea driver. Basically we have to add a register function to the fsl udc driver and call this from the chipidea driver if device mode is selected. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * USB i.MX6: Add HSIC supportSascha Hauer2013-02-141-0/+60
| | | | | | | | | | | | | | | | | | | | HSIC needs some special setup for i.MX6. Most ugly detail is that the HSIC needs help of the IOMUX to configure a pullup on the strobe line. This has to be done after the ehci controller has started. Fortunately there is only one muxing possibility for the HSIC ports on i.MX6, so we can simply control the iomux from the usbmisc driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * USB i.MX chipidea: implement post init supportSascha Hauer2013-02-142-19/+87
| | | | | | | | | | | | | | Some controllers need an init hook after the USB controller is started, so implement the post init hook for i.MX. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * USB chipidea i.MX: Fix PTS mask for HSICSascha Hauer2013-02-141-1/+1
| | | | | | | | | | | | bit25 is part of the PTS bits, so mask it out before rewriting it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Use new device_platform_driver() macro for driversAlexander Shiyan2013-02-131-6/+1
|/ | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX6: Add Chipidea supportSascha Hauer2013-01-201-0/+12
| | | | | | | | This allows to register the USB ports for the chipidea driver. For now the otg/h1 register functions also register the corresponding USB phys. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB: Add usb phy driver for i.MXSascha Hauer2013-01-203-0/+111
| | | | | | | | This phy is found on i.MX6 and i.MX23/28. Currently tested only on i.MX6. For now we take the easy way out. The phy is enabled upon registration. More elaborated handling can be added later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB i.MX: Add chipidea driver supportSascha Hauer2012-12-134-0/+517
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>