]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: usbc: Add support for usb-vbus0 controller by axp drivebus pin
authorHans de Goede <hdegoede@redhat.com>
Sun, 11 Jan 2015 18:33:35 +0000 (19:33 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:40 +0000 (14:56 +0100)
commita90e77dbeb92f78ec06547621a7b22a785a43a3d
tree1f94f00cfb6a8d0f36ba6d39d06c439b57ccde82
parent4458b7a6e1a601386fce1b76f17a1d41dd7aeddb
sunxi: usbc: Add support for usb-vbus0 controller by axp drivebus pin

The axp221 / axp223's N_VBUSEN pin can be configured as an output rather
then an input, and this is used on some boards to control usb-vbus0, add
support for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/usbc.c