From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Subject: Re: [PATCH 07/11] gpio: tegra: Hide tegra_gpio_enable/disable() Date: Sun, 01 Apr 2012 00:32:32 -0400 Message-ID: <87mx6wkr6n.fsf@laptop.org> References: <1333148404-17691-1-git-send-email-swarren@wwwdotorg.org> <1333148404-17691-8-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <1333148404-17691-8-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> (Stephen Warren's message of "Fri, 30 Mar 2012 17:00:00 -0600") Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: Olof Johansson , Colin Cross , Linus Walleij , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Stephen Warren , linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-mmc@vger.kernel.org Hi Stephen, On Fri, Mar 30 2012, Stephen Warren wrote: > From: Stephen Warren > > Recent pinctrl discussions concluded that gpiolib APIs should in fact do > whatever is required to mux a GPIO onto pins, by calling pinctrl APIs if > required. This change implements this for the Tegra GPIO driver, and removes > calls to the Tegra-specific APIs from drivers and board files. > > Cc: Chris Ball > Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Signed-off-by: Stephen Warren > --- > v2: Adjusted per changes to latest version of Documentation/gpio.txt. > Fixed tegra_board_pinmux_bus_notify() to still check the device name, > so it waits for the pinmux device to be registered, not just /any/ device. > --- > arch/arm/mach-tegra/board-dt-tegra20.c | 1 - > arch/arm/mach-tegra/board-harmony-pinmux.c | 17 ----------- > arch/arm/mach-tegra/board-paz00-pinmux.c | 14 --------- > arch/arm/mach-tegra/board-pinmux.c | 33 +++-------------------- > arch/arm/mach-tegra/board-pinmux.h | 5 --- > arch/arm/mach-tegra/board-seaboard-pinmux.c | 32 ---------------------- > arch/arm/mach-tegra/board-seaboard.c | 1 - > arch/arm/mach-tegra/board-trimslice-pinmux.c | 12 -------- > arch/arm/mach-tegra/include/mach/gpio-tegra.h | 9 ------ > arch/arm/mach-tegra/usb_phy.c | 1 - > drivers/gpio/gpio-tegra.c | 36 ++++++++++++------------ For this hunk: > drivers/mmc/host/sdhci-tegra.c | 24 +++------------- Acked-by: Chris Ball Thanks, - Chris. -- Chris Ball One Laptop Per Child