dm: sunxi: Modify the GPIO driver to support driver model
authorSimon Glass <sjg@chromium.org>
Fri, 31 Oct 2014 02:25:49 +0000 (20:25 -0600)
committerHans de Goede <hdegoede@redhat.com>
Wed, 5 Nov 2014 12:09:58 +0000 (13:09 +0100)
commit7aa9748584227bd97b642f8127382c75df5f4730
tree649d84b9b69905ed149056c6010de5495285062d
parente6a8b0dabc8a91f9eda54548e56f54be65a725c4
dm: sunxi: Modify the GPIO driver to support driver model

This adds driver model support to the sunxi GPIO driver, using the device
tree to trigger binding of the driver. The driver will still operate
without driver model too.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/gpio/sunxi_gpio.c
include/configs/sunxi-common.h