gpio: atmel_pio4: Rework to support DM & DT
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 20 Jul 2016 09:16:26 +0000 (17:16 +0800)
committerAndreas Bießmann <andreas@biessmann.org>
Mon, 15 Aug 2016 20:58:03 +0000 (22:58 +0200)
commitee3311db1cf0627de91123feefc8d0938f83ab8d
treeaf3d4f382b218daf846107b5c3070a214643da95
parent46ed9381b7be1ede9783970be3d3141007653c2b
gpio: atmel_pio4: Rework to support DM & DT

Rework the driver to support driver model and device tree, and
support to regard the pio4 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>
drivers/gpio/Kconfig
drivers/gpio/atmel_pio4.c