From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dong Aisheng Subject: Re: [PATCH V3 6/6] pinctrl: tegra: Add complete device tree support Date: Fri, 23 Mar 2012 15:16:30 +0800 Message-ID: <20120323071629.GC23958@shlinux2.ap.freescale.net> References: <1332440842-1098-1-git-send-email-swarren@wwwdotorg.org> <1332440842-1098-6-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <1332440842-1098-6-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: "linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org" , "rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org" , "linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org" , Dong Aisheng-B29396 , "s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org" , "dongas86-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org" , "sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-tegra@vger.kernel.org On Fri, Mar 23, 2012 at 02:27:22AM +0800, Stephen Warren wrote: > Implement pinctrl_ops dt_node_to_map() and dt_free_map(). These allow > complete specification of the desired pinmux configuration using device > tree. > > Signed-off-by: Stephen Warren > --- > v3: Rebase on of_property_for_each_string() API changes. > Improve DT parsing so it only calls krealloc() on the top-level map > table once per subnode, rather than once per subnode/pin combination. > v2: Rebase on of_property_for_each_string() API changes. > --- Acked-by: Dong Aisheng Regards Dong Aisheng From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755414Ab2CWHF2 (ORCPT ); Fri, 23 Mar 2012 03:05:28 -0400 Received: from va3ehsobe010.messaging.microsoft.com ([216.32.180.30]:11898 "EHLO va3outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751864Ab2CWHFZ (ORCPT ); Fri, 23 Mar 2012 03:05:25 -0400 X-SpamScore: -9 X-BigFish: VS-9(zz1432N98dKzz1202hzz8275dhz2dh2a8h668h839h944hd25h) X-Forefront-Antispam-Report: CIP:70.37.183.190;KIP:(null);UIP:(null);IPV:NLI;H:mail.freescale.net;RD:none;EFVD:NLI Date: Fri, 23 Mar 2012 15:16:30 +0800 From: Dong Aisheng To: Stephen Warren CC: "linus.walleij@linaro.org" , "grant.likely@secretlab.ca" , "rob.herring@calxeda.com" , "linus.walleij@stericsson.com" , Dong Aisheng-B29396 , "s.hauer@pengutronix.de" , "dongas86@gmail.com" , "shawn.guo@linaro.org" , "thomas.abraham@linaro.org" , "tony@atomide.com" , "sjg@chromium.org" , "linux-kernel@vger.kernel.org" , "devicetree-discuss@lists.ozlabs.org" , "linux-tegra@vger.kernel.org" Subject: Re: [PATCH V3 6/6] pinctrl: tegra: Add complete device tree support Message-ID: <20120323071629.GC23958@shlinux2.ap.freescale.net> References: <1332440842-1098-1-git-send-email-swarren@wwwdotorg.org> <1332440842-1098-6-git-send-email-swarren@wwwdotorg.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1332440842-1098-6-git-send-email-swarren@wwwdotorg.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 23, 2012 at 02:27:22AM +0800, Stephen Warren wrote: > Implement pinctrl_ops dt_node_to_map() and dt_free_map(). These allow > complete specification of the desired pinmux configuration using device > tree. > > Signed-off-by: Stephen Warren > --- > v3: Rebase on of_property_for_each_string() API changes. > Improve DT parsing so it only calls krealloc() on the top-level map > table once per subnode, rather than once per subnode/pin combination. > v2: Rebase on of_property_for_each_string() API changes. > --- Acked-by: Dong Aisheng Regards Dong Aisheng