linux/drivers/usb/chipidea
Fabien Lahoudere d13631bb15 usb: chipidea: imx: configure imx for ULPI phy
In order to use ULPI phy with usb host 2 and 3, we need to configure
controller register to enable ULPI features.

Each USB controller have different behaviour, so in order to avoid to have
several "swicth(data->index)" and lock/unlock, we prefer to get the index
switch and then test for features if they exist for this index.
This patch also remove useless test of reg and val. Those two values cannot
be NULL.

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2016-11-14 10:03:40 +08:00
..
bits.h
ci.h
ci_hdrc_imx.c usb: chipidea: imx: configure imx for ULPI phy 2016-11-14 10:03:40 +08:00
ci_hdrc_imx.h usb: chipidea: imx: configure imx for ULPI phy 2016-11-14 10:03:40 +08:00
ci_hdrc_msm.c
ci_hdrc_pci.c
ci_hdrc_usb2.c
ci_hdrc_zevio.c
core.c
debug.c
host.c usb: chipidea: host: fix NULL ptr dereference during shutdown 2016-10-25 16:14:32 +08:00
host.h
Kconfig usb: chipidea: Kconfig: improve Kconfig help text 2016-06-21 10:48:30 +08:00
Makefile
otg.c
otg.h
otg_fsm.c
otg_fsm.h
udc.c usb: chipidea: Properly mark little endian descriptors 2016-11-14 10:03:40 +08:00
udc.h usb: chipidea: Properly mark little endian descriptors 2016-11-14 10:03:40 +08:00
usbmisc_imx.c usb: chipidea: imx: configure imx for ULPI phy 2016-11-14 10:03:40 +08:00