From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olof Johansson Subject: Re: [PATCH 01/11] usb: ehci-tegra: Add vbus_gpio to platform data Date: Wed, 4 Apr 2012 10:51:12 -0700 Message-ID: <20120404175112.GA29919@quad.lixom.net> References: <1333148404-17691-1-git-send-email-swarren@wwwdotorg.org> <1333148404-17691-2-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1333148404-17691-2-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: Colin Cross , Linus Walleij , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Stephen Warren , Greg Kroah-Hartman , Alan Stern , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org On Fri, Mar 30, 2012 at 04:59:54PM -0600, Stephen Warren wrote: > From: 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 > Cc: Alan Stern > Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Signed-off-by: Stephen Warren Acked-by: Olof Johansson -Olof