]> asedeno.scripts.mit.edu Git - linux.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)
commit4924982e306e256d2737f94fcd004a536da6df54
tree6fc0331b6a9e927653995938108faab488a945ee
parentd4168be73c8fdc3e9cdc61aa4b513e6c9b7bcf10
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