Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756944Ab3JJUtT (ORCPT ); Thu, 10 Oct 2013 16:49:19 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:37789 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756198Ab3JJUtR (ORCPT ); Thu, 10 Oct 2013 16:49:17 -0400 Message-ID: <525712C9.6040502@wwwdotorg.org> Date: Thu, 10 Oct 2013 14:49:13 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Linus Walleij , Christian Ruppert CC: Patrice CHOTARD , "linux-kernel@vger.kernel.org" , Grant Likely , Rob Herring , Rob Landley , Sascha Leuenberger , Pierrick Hascoet , "linux-doc@vger.kernel.org" , Alexandre Courbot , "devicetree@vger.kernel.org" Subject: Re: [PATCH 01/03] Make non-linear GPIO ranges accesible from gpiolib References: <20131008122145.GA21985@ab42.lan> <1381235122-23730-1-git-send-email-christian.ruppert@abilis.com> <20131009132837.GA23021@ab42.lan> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1082 Lines: 23 On 10/09/2013 08:01 AM, Linus Walleij wrote: > On Wed, Oct 9, 2013 at 3:28 PM, Christian Ruppert > wrote: >> On Wed, Oct 09, 2013 at 01:58:35PM +0200, Linus Walleij wrote: >>> On Tue, Oct 8, 2013 at 2:25 PM, Christian Ruppert >>> wrote: ... >> Obviously, a driver (no matter for which OS) must be aware of >> this hardware property so it can decide which value to write to which >> register in order to control the pin mux. If we don't want to split (or >> worse: duplicate) that information in the driver and device tree, I see >> two alternatives. >> 1. Define register offsets, masks and register values and the list of >> pins controlled by those register/value pairs in the device tree. > > This is not a viable alternative of course. Cough. pinctrl-single. Cough. -- 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/