]> git.baikalelectronics.ru Git - kernel.git/commit
usb: chipidea: imx: allow to configure oc polarity on i.MX25
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 4 Dec 2018 08:31:31 +0000 (09:31 +0100)
committerPeter Chen <peter.chen@nxp.com>
Tue, 11 Dec 2018 01:13:11 +0000 (09:13 +0800)
commit50f8bf86a557bfc2784db1907da5090d8eb9f8d4
treef70d34d54a22497f7e187c79f62cc451e463d611
parent87bf9874b90d903cbbe1df7c4e527d444e751bbc
usb: chipidea: imx: allow to configure oc polarity on i.MX25

Up to now the polarity of the over current pin was hard coded to active
high. Use the already defined device tree properties to configure polarity
on i.MX25, too. In difference to i.MX6/7 use active high behavior if the
polarity is unspecified to keep compatibility to existing device trees.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/usbmisc_imx.c