usb: chipidea: add work-around for Marvell HSIC PHY startup
authorRob Herring <robh@kernel.org>
Fri, 29 May 2015 16:38:46 +0000 (11:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jun 2015 19:20:30 +0000 (12:20 -0700)
commitfc6b68ba4990b4fb2625b150599c77d04d85b1eb
treeb8edbf17509af3fc7b79167926ca1e3f2ffaadd4
parentd95699be183c03bb804c1dfdbbeaba7ee1ed8a0d
usb: chipidea: add work-around for Marvell HSIC PHY startup

The Marvell 28nm HSIC PHY requires the port to be forced to HS mode after
the port power is applied. This is done using the test mode in the PORTSC
register.

As HSIC is always HS, this work-around should be safe to do with all HSIC
PHYs and has been tested on i.MX6S.

Signed-off-by: Rob Herring <robh@kernel.org>
Tested-by: Peter Chen <Peter.Chen@freescale.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/host.c