pinctrl: at91-pio4: Add pinctrl driver
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 20 Jul 2016 09:16:27 +0000 (17:16 +0800)
committerAndreas Bießmann <andreas@biessmann.org>
Mon, 15 Aug 2016 20:58:03 +0000 (22:58 +0200)
commitac72e174f95ebce2e4a4e2165828223427b2a5f3
treee948380c2a7e83475ad6cb3f6a12dfa1763d25b1
parentee3311db1cf0627de91123feefc8d0938f83ab8d
pinctrl: at91-pio4: Add pinctrl driver

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

The pin configuration is performed on specific registers which
are shared along with the gpio controller. So regard the pinctrl
device as a child of atmel_pio4 device.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-at91-pio4.c [new file with mode: 0644]