summaryrefslogtreecommitdiffstats
path: root/include/usb/chipidea-imx.h
Commit message (Collapse)AuthorAgeFilesLines
* usb: imx: Make usb-misc multi instance safeSascha Hauer2017-01-191-2/+2
| | | | | | | i.MX7 has two usbmisc devices, so we cannot use global instance variables anymore. Create a driver private data struct for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* chipidea-imx: allow phymode configuration in pdataEric Bénard2015-09-291-0/+3
| | | | | | | | | it's currently only handled through DT and for i.MX25 OTG port (at least), we need to configure portsc to get host mode working but it actually fails as ci->phymode is 0 which is USBPHY_INTERFACE_MODE_UNKNOWN Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB: i.MX chipidea: Implement OTG support for the poorSascha Hauer2014-07-181-0/+1
| | | | | | | | For situations when we don't know the desired mode for the OTG port we register a otg device which has a mode parameter to specifiy the desired mode on the command line. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: chipidea i.MX: remove unused pdata->init hookSascha Hauer2014-01-071-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: i.MX chipidea: Add overcurrent disable flag for i.MX6Sascha Hauer2013-05-311-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB i.MX chipidea: implement post init supportSascha Hauer2013-02-141-0/+2
| | | | | | | 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-0/+1
| | | | | | bit25 is part of the PTS bits, so mask it out before rewriting it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB i.MX: Add chipidea driver supportSascha Hauer2012-12-131-0/+46
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>