From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [RFC PATCH 3/3] ARM: at91/dt: move sama5 to generic pinconf Date: Wed, 28 Aug 2013 14:28:02 +0200 Message-ID: References: <1377379926-11163-1-git-send-email-b.brezillon@overkiz.com> <1377380400-11331-1-git-send-email-b.brezillon@overkiz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <1377380400-11331-1-git-send-email-b.brezillon@overkiz.com> Sender: linux-kernel-owner@vger.kernel.org To: Boris BREZILLON Cc: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , Russell King , Jean-Christophe Plagniol-Villard , Jiri Kosina , Masanari Iida , Nicolas Ferre , Richard Genoud , Heiko Stuebner , James Hogan , "devicetree@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" List-Id: devicetree@vger.kernel.org On Sat, Aug 24, 2013 at 11:40 PM, Boris BREZILLON wrote: > Add generic pinconf definitions and reference appropriate configs in > atmel,pins properties. > > Signed-off-by: Boris BREZILLON (...) > pinctrl@fffff200 { > #address-cells = <1>; > #size-cells = <1>; > - compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus"; > + compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "generic-pinconf", "simple-bus"; What kind of compatible string is that "generic-pinconf"? There is no driver that can instantiate against this string but I'm not 100% sure about such things. Is there some other driver doing this? Else I think it'd just be removed. > + pcfg_none: pcfg_none { > + bias-disable; > + }; > + > + pcfg_pull_up: pcfg_pull_up { > + bias-pull-up; > + }; Nice. > + pcfg_deglitch: pcfg_deglitch { > + input-deglitch = <1>; > + }; > + > + pcfg_pull_up_deglitch: pcfg_pull_up_deglitch { > + bias-pull-up; > + input-deglitch = <1>; > + }; input-deglitch seems like a proposed generic binding but I haven't seen these yet? (It might be in my violently exploding INBOX though sorry in that case.) This would need adding to Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt Plus changes to pinctrl core for handling. BTW: this is really moving in the right direction! Yours, Linus Walleij