]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: chipidea: usbmisc_imx: add imx6sx initialization routine
authorPeter Chen <peter.chen@freescale.com>
Wed, 11 Feb 2015 04:44:53 +0000 (12:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 15:19:10 +0000 (16:19 +0100)
commit8721a752cc1bf61be0a0d3f266abd71a270d3a38
treee4f64c809586155d79cf10c007c70a4fcf6f4947
parentb0e04f852ac1fffa85b73842e60125d68cd095df
usb: chipidea: usbmisc_imx: add imx6sx initialization routine

Except the same process with earlier imx6, it has below two features:

- Choose which vbus voltage as vbus wakeup source
We choose B_SESSION_VALID as vbus wakeup source since when the system
goes to suspend, the vbus comparator can't compare the vbus voltage
for VBUS_VALID.

- Disable dp/dm (linestate) change as wakeup source at device mode
when the vbus is not there, we don't expect dp/dm change waking up
usb controller at this situation.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/usbmisc_imx.c