pinctrl: at91: add pinctrl driver
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 23 Mar 2017 04:44:37 +0000 (12:44 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Apr 2017 20:44:50 +0000 (14:44 -0600)
commit9319a756fffb0aae21adcd7caf8674411a22c165
treebdab37d1a13b25e92d18aba284a5869512e5be29
parent2dc63f73678c18831efce3ec1a383375aa5423f1
pinctrl: at91: add pinctrl driver

AT91 PIO controller is a combined gpio-controller, pin-mux and
pin-config module. The peripheral's pins are assigned through
per-pin based muxing logic.

Each SoC will have to describe the its limitation and pin
configuration via device tree. This will allow to do not need
to touch the C code when adding new SoC if the IP version is
supported.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-at91/include/mach/at91_pio.h
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-at91.c [new file with mode: 0644]
include/dt-bindings/pinctrl/at91.h