• S
    usb: ehci-tegra: Add vbus_gpio to platform data · 434103ad
    Stephen Warren 提交于
    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@linuxfoundation.org>
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Cc: linux-usb@vger.kernel.org
    Signed-off-by: NStephen Warren <swarren@nvidia.com>
    Acked-by: NOlof Johansson <olof@lixom.net>
    434103ad
tegra_usb.h 859 字节