phy: omap-usb2-phy: disable phy charger detect
authorBin Liu <b-liu@ti.com>
Wed, 3 Jun 2020 11:46:22 +0000 (14:46 +0300)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 16 Jun 2020 11:30:02 +0000 (17:00 +0530)
commit5b9ee0fc6f9adb05eefa457a752626cb22cca958
tree0100d63897f6c34f250f97ff6ca974ea973068a1
parent94e837b6fc4194c61ec12fd087c2ed26f94a50d3
phy: omap-usb2-phy: disable phy charger detect

AM654x PG1.0 has a silicon bug that D+ is pulled high after POR, which
could cause enumeration failure with some USB hubs.  Disabling the
USB2_PHY Charger Detect function will put D+ into the normal state.

Using property "ti,dis-chg-det-quirk" in the DT usb2-phy node to
enable this workaround for AM654x PG1.0.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/phy/omap-usb2-phy.c