pinctrl: sunxi: Add common sun5i pinctrl driver
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 8 Jan 2017 21:31:16 +0000 (22:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Jan 2017 14:42:47 +0000 (15:42 +0100)
commit858f559f3dab00fda3fca4f187a315d5c9220fad
tree65e110794f7b87fb50b2c6e427da238742c92647
parent578db85f6777efedfc5b47a34f5b6576caa29eac
pinctrl: sunxi: Add common sun5i pinctrl driver

The sun5i SoCs (A10s, A13, GR8) are all based on the same die fit in
different packages. Hence, the pins and functions available are just the
based on the same set, each SoC having a different subset.

Introduce a common pinctrl driver that supports multiple variants to allow
to put as much as we can in common.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/Kconfig
drivers/pinctrl/sunxi/Makefile
drivers/pinctrl/sunxi/pinctrl-sun5i.c [new file with mode: 0644]
drivers/pinctrl/sunxi/pinctrl-sunxi.h