]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dt: tegra trimslice: add vbus-gpio property
authorStephen Warren <swarren@nvidia.com>
Wed, 25 Jul 2012 20:02:44 +0000 (14:02 -0600)
committerArnd Bergmann <arnd@arndb.de>
Wed, 25 Jul 2012 20:09:16 +0000 (22:09 +0200)
commitff726cc4a7843fe302bb8aa2b6361b2e927b62c8
tree2948876b8e4665e8bed186ddbf2ffd286c20764a
parent8ca5c135c13878f7ecc652be22df6eebc0aa4975
ARM: dt: tegra trimslice: add vbus-gpio property

On TrimSlice, Tegra's USB1 port may be routed to either an external micro
USB port, or an internal USB->SATA bridge for SSD or HDD. This muxing is
controlled by a GPIO. Whilst not strictly a VBUS GPIO, the TrimSlice
board files caused this GPIO to be set appropriately to enable the SATA
bridge by passing it as the VBUS GPIO to the USB driver. Echo this same
configuration in device tree to enable the SATA bridge.

An alternative might be to implement a full USB bus mux driver. However,
that seems over-complex right now.

Cc: <stable@vger.kernel.org> # v3.5 (file is named tegra-trimslice.dts there)
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/tegra20-trimslice.dts