]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sunxi: Support A31/A31s with pinctrl variants
authorChen-Yu Tsai <wens@csie.org>
Wed, 1 Feb 2017 16:25:46 +0000 (00:25 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Feb 2017 10:05:57 +0000 (11:05 +0100)
commit49cec7fa92d4a0895c59b9b69cb6e388837e4557
tree6fc0331b6a9e927653995938108faab488a945ee
parent1a53c7ef4bf3145619e01e00b396db3fb374ad5b
pinctrl: sunxi: Support A31/A31s with pinctrl variants

The A31s is a trimmed down version of the A31. Some hardware blocks
are removed, thus not available for muxing on the external pins.
Some external pins were directly removed.

This makes it easy to support the A31s pin controller with the A31
driver. We just mark the pins and functions that were trimmed as
A31 only.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c
drivers/pinctrl/sunxi/pinctrl-sunxi.h