usb: phy: mxs: Add VF610 USB PHY support
authorStefan Agner <stefan@agner.ch>
Mon, 28 Jul 2014 14:57:29 +0000 (16:57 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 27 Aug 2014 19:12:51 +0000 (14:12 -0500)
commitd0ee68b59e6aa33221445dc555efac3736b89026
tree476bd2b5e3969fef155381b664a7273432109207
parent8913dc0bb913ac3dc83ed5c10bac2f4e55431981
usb: phy: mxs: Add VF610 USB PHY support

This adds support for the USB PHY in Vybrid VF610. We assume that
the disconnection without VBUS is also needed for Vybrid.

Tests showed, without MXS_PHY_NEED_IP_FIX, enumeration of devices
behind a USB Hub fails with errors:

[  215.163507] usb usb1-port1: cannot reset (err = -32)
[  215.170498] usb usb1-port1: cannot reset (err = -32)
[  215.185120] usb usb1-port1: cannot reset (err = -32)
[  215.191345] usb usb1-port1: cannot reset (err = -32)
[  215.202487] usb usb1-port1: cannot reset (err = -32)
[  215.207718] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[  215.219317] usb usb1-port1: unable to enumerate USB device

Hence we also enable the MXS_PHY_NEED_IP_FIX flag.

Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Documentation/devicetree/bindings/usb/mxs-phy.txt
drivers/usb/phy/phy-mxs-usb.c