From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755425Ab2BFTD3 (ORCPT ); Mon, 6 Feb 2012 14:03:29 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:44024 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752864Ab2BFTD2 (ORCPT ); Mon, 6 Feb 2012 14:03:28 -0500 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 98.234.237.12 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+VRSJ2h2DguqrCyq7CqAjv Date: Mon, 6 Feb 2012 11:03:15 -0800 From: Tony Lindgren To: Linus Walleij Cc: Stephen Warren , Dong Aisheng , Shawn Guo , Dong Aisheng-B29396 , "Sascha Hauer (s.hauer@pengutronix.de)" , "rob.herring@calxeda.com" , "kernel@pengutronix.de" , "cjb@laptop.org" , "Simon Glass (sjg@chromium.org)" , Thomas Abraham , "Grant Likely (grant.likely@secretlab.ca)" , "devicetree-discuss@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: An extremely simplified pinctrl bindings proposal Message-ID: <20120206190315.GU1426@atomide.com> References: <74CDBE0F657A3D45AFBB94109FB122FF178E5D3160@HQMAIL01.nvidia.com> <4F2F6AE2.1040504@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Walleij [120206 08:58]: > On Mon, Feb 6, 2012 at 6:53 AM, Stephen Warren wrote: > > I will certainly finalize the pinctrl subsystem as-is, adding the > pin configurations states as the last major piece. If for nothing > else it provides some understanding of the problem space. > > I think we should keep both for the time being and consider the > alternative approach when patches appear. So if/when someone > creates a new subsystem like this, drivers can move over to it on a > per-driver basis. If there are zero drivers left in pinctrl it can be > deleted. Yes it seems that we can easily do both. So far the only change needed for pinctrl drivers containing no data is that we should make the string names optional and structure debugfs around the physical register addresses instead. I'm basically just setting the mux register physcal address as the pin name for now to work around this. Regards, Tony