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: devicetree@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