]> git.karo-electronics.de Git - karo-tx-linux.git/commit
phy-sun4i-usb: Add support for boards with broken Vusb-detection
authorHans de Goede <hdegoede@redhat.com>
Sat, 13 Jun 2015 12:37:50 +0000 (14:37 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 25 Jul 2015 10:15:47 +0000 (15:45 +0530)
commit1aedf3a7a47b8bbd38c147eeb0c83816c5590215
treee940e25ecece92a342c2e644990d6c20c5b56906
parentfc1f45ed3043da3aa901e88a9ef0995bbd320698
phy-sun4i-usb: Add support for boards with broken Vusb-detection

On some boards we cannot detect the presence of an external Vusb, because
e.g. the 5V of the otg connector is directly connected to the 5V of the board,
and thus is always high.

This commit adds support for using such boards by only looking at the
id-detection pin.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-sun4i-usb.c