From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756385Ab2ASKbj (ORCPT ); Thu, 19 Jan 2012 05:31:39 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:45742 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753096Ab2ASKb3 (ORCPT ); Thu, 19 Jan 2012 05:31:29 -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+NeB+LGufEzLRW9VO+aUhx Date: Thu, 19 Jan 2012 02:31:13 -0800 From: Tony Lindgren To: Grant Likely Cc: Shawn Guo , "linus.walleij@stericsson.com" , "devicetree-discuss@lists.ozlabs.org" , "s.hauer@pengutronix.de" , "linux-kernel@vger.kernel.org" , "rob.herring@calxeda.com" , "kernel@pengutronix.de" , "cjb@laptop.org" , "linux-arm-kernel@lists.infradead.org" , Dong Aisheng Subject: Re: Pinmux bindings proposal Message-ID: <20120119103112.GD22818@atomide.com> References: <74CDBE0F657A3D45AFBB94109FB122FF17801D202F@HQMAIL01.nvidia.com> <20120116182808.GG4223@ponder.secretlab.ca> <20120118141329.GA22818@atomide.com> <20120118153256.GB22818@atomide.com> <20120118202057.GH4223@ponder.secretlab.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120118202057.GH4223@ponder.secretlab.ca> 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 * Grant Likely [120118 11:48]: > On Wed, Jan 18, 2012 at 07:32:56AM -0800, Tony Lindgren wrote: > > > > But then the .dts file becomes an unreadable matrix unless we have > > a preprocessor.. > > One node per pin does get excessive in a hurry. I prefer the one node > per pin controller. Tools can be written to make writing the > definition easier. OK that's fine with me. It would be nice to have the .dts readable too, so I'd prefer a preprocessor over a .dts generation tool to keep the .dts files readable. Bugs in .dts file can be a big pain to debug it seems. Regards, Tony