pinctrl:sirf:re-arch and add support for new SiRFatlas6 SoC
authorBarry Song <21cnbao@gmail.com>
Tue, 14 May 2013 14:17:58 +0000 (22:17 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Jun 2013 09:56:49 +0000 (11:56 +0200)
commit3370dc916c90578107cc8485ac86e6d6dc81a88f
treec6ed46d955f7ecdd0bce6ac22fd361911813542b
parent76cda6ec39d30a9d40ae2a82a6015381438a87eb
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 <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-sirf.c [deleted file]
drivers/pinctrl/sirf/Makefile [new file with mode: 0644]
drivers/pinctrl/sirf/pinctrl-atlas6.c [new file with mode: 0644]
drivers/pinctrl/sirf/pinctrl-prima2.c [new file with mode: 0644]
drivers/pinctrl/sirf/pinctrl-sirf.c [new file with mode: 0644]
drivers/pinctrl/sirf/pinctrl-sirf.h [new file with mode: 0644]