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)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:46:56 +0000 (14:46 -0500)
commit04313773144d665c90f9a3c18e67e7de3600e236
tree027a678ddc12c016c2b6aeea88861f4d147e02b9
parent7f6e18b4ac3f2b220157641cae4eba8da508d5c4
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