]> git.dujemihanovic.xyz Git - u-boot.git/commit
tegra20: usb: rework set_host_mode
authorLucas Stach <dev@lynxeye.de>
Tue, 7 Aug 2012 08:19:15 +0000 (08:19 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 10 Sep 2012 20:01:21 +0000 (13:01 -0700)
commit22e73940216ef971c71c49e959519db8babc876a
treec04c96076328cec881c07a52d521aa5ad7bcb21e
parentcf46cdebdd24b8ecbbf8477d89a7fdff974b3b81
tegra20: usb: rework set_host_mode

This allows for two things:
- VBus GPIO may be used on other ports than the OTG one
- VBus GPIO may be low active if specified by DT

Signed-off-by: Lucas Stach <dev@lynxeye.de>
CC: Stephen Warren <swarren@wwwdotorg.org>
CC: Tom Warren <TWarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra20/usb.c