[PATCH v2] pinctrl:sirf:re-arch and add support for new SiRFatlas6 SoC
Linus Walleij
linus.walleij at linaro.org
Wed May 15 07:27:25 EDT 2013
On Tue, May 14, 2013 at 4:17 PM, Barry Song <21cnbao at gmail.com> wrote:
> 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 at csr.com>
> ---
> -v2:
> rebase to pinctrl/devel
Applied!
Thanks,
Linus Walleij
More information about the linux-arm-kernel
mailing list