Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754562Ab2BUKqF (ORCPT ); Tue, 21 Feb 2012 05:46:05 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:55002 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753294Ab2BUKqD (ORCPT ); Tue, 21 Feb 2012 05:46:03 -0500 MIME-Version: 1.0 In-Reply-To: <1329719263-18971-1-git-send-email-swarren@nvidia.com> References: <1329719263-18971-1-git-send-email-swarren@nvidia.com> Date: Tue, 21 Feb 2012 11:46:03 +0100 Message-ID: Subject: Re: [PATCH 1/2] Documentation/gpio.txt: Explain expected pinctrl interaction From: Linus Walleij To: Stephen Warren , Grant Likely Cc: Linus Walleij , Randy Dunlap , Olof Johansson , Colin Cross , Chris Ball , linux-doc@vger.kernel.org, linux-mmc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1156 Lines: 30 On Mon, Feb 20, 2012 at 7:27 AM, Stephen Warren wrote: > Update gpio.txt based on recent discussions regarding interaction with the > pinctrl subsystem. > > Previously, gpio_request() was described as explicitly not performing any > required mux setup operations etc. > > Now, gpio_request() is explicitly as explicitly performing any required mux > setup operations where possible. In the case it isn't, platform code is > required to have set up any required muxing or other configuration prior to > gpio_request() being called, in order to maintain the same semantics. > > This is achieved by gpiolib drivers calling e.g. pinctrl_request_gpio() in > their .request() operation. > > Signed-off-by: Stephen Warren Acked-by: Linus Walleij Grant can you take this one? I'd prefer for you to have a look at it as well. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/