[PATCH 01/11] usb: ehci-tegra: Add vbus_gpio to platform data

Olof Johansson olof at lixom.net
Wed Apr 4 13:51:12 EDT 2012


On Fri, Mar 30, 2012 at 04:59:54PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> Add a vbus_gpio field to platform data. This mirrors the device tree
> property nvidia,vbus-gpio. This makes the VBUS GPIO handling identical
> between booting with board files and device tree; the driver always does
> it.
> 
> This removes the need for board files to request and initialize the GPIO
> early during their boot process, perhaps even before the GPIO driver is
> ready to process the request.
> 
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Alan Stern <stern at rowland.harvard.edu>
> Cc: linux-usb at vger.kernel.org
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

Acked-by: Olof Johansson <olof at lixom.net>

-Olof



More information about the linux-arm-kernel mailing list