From: Barry Song <21cnbao@gmail.com> Date: Tue, 14 May 2013 14:17:58 +0000 (+0800) Subject: pinctrl:sirf:re-arch and add support for new SiRFatlas6 SoC X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~29^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3370dc916c90578107cc8485ac86e6d6dc81a88f;p=pandora-kernel.git pinctrl:sirf:re-arch and add support for new SiRFatlas6 SoC atlas6 is a SoC very similar with primaII, the register layput of pinctrl is same, but the pads, groups and functions of atlas6 have different layout with prima2, this patch 1. pull the definition of pads, groups and functions out of the pinctrl-sirf driver,and put them into soc-specific files 2. add pads, groups and functions tables for atlas6 3. let pads, groups and functions tables become the config data of the related dt compatible node, so the pinctrl-sirf can support all SiRF SoCs with the config data as private data. In this patch,we create a sirf dir, and let the old drivers/pinctrl/pinctrl-sirf.c = drivers/pinctrl/sirf/pinctrl-prima2.c + drivers/pinctrl/sirf/pinctrl-sirf.c drivers/pinctrl/sirf/pinctrl-atlas6.c is a newly created file for the pin layout of atlas6. Signed-off-by: Barry Song Signed-off-by: Linus Walleij --- Reading git-diff-tree failed