]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: omap-usb2-phy: disable PHY charger detect
authorRoger Quadros <rogerq@ti.com>
Mon, 24 Aug 2020 07:51:26 +0000 (10:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 10:59:49 +0000 (12:59 +0200)
commit201e44aeb0112177d6a6f1b59f7dbd8a87a6d02e
tree1d6574dbf9f3f0df5426002cbc690b6561291847
parentddf3bb7322a17bdb23501a402baaca61d43ef8fe
phy: omap-usb2-phy: disable PHY charger detect

[ Upstream commit ad7a7acaedcf45071c822b6c983f9c1e084041c9 ]

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.

This addresses Silicon Errata:
i2075 - "USB2PHY: USB2PHY Charger Detect is Enabled by Default Without VBUS
Presence"

Signed-off-by: Roger Quadros <rogerq@ti.com>
Tested-by: Jan Kiszka <jan.kiszka@siemens.com>
Link: https://lore.kernel.org/r/20200824075127.14902-2-rogerq@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/ti/phy-omap-usb2.c