usb: chipidea: usbmisc_imx: using different ops for imx7d and imx7ulp
authorPeter Chen <peter.chen@nxp.com>
Thu, 23 Jan 2020 06:43:47 +0000 (14:43 +0800)
committerPeter Chen <peter.chen@nxp.com>
Wed, 6 May 2020 01:42:28 +0000 (09:42 +0800)
commit380a7843688d1fb61dca1382e715f5f40015f132
tree1ed59f83b1dbc688c094dcf45beb94eda45a3036
parent5523f06a19502d08449c1e6ca7e33bfc860f6059
usb: chipidea: usbmisc_imx: using different ops for imx7d and imx7ulp

imx7ulp uses different USB PHY with imx7d (MXS PHY vs PICO PHY), so the
features are supported by non-core register are a little different.
For example, autoresume feature is supported by all controllers for
imx7ulp, but for imx7d, it is only supported by non-HSIC controller.

Besides, these two platforms use different HSIC controller, imx7ulp
needs software operation, but imx7d doesn't.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/usbmisc_imx.c