GPIO: gpio-dwapb: Enable platform driver binding to MFD driver
authorWeike Chen <alvin.chen@intel.com>
Wed, 17 Sep 2014 16:18:39 +0000 (09:18 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Sep 2014 15:51:37 +0000 (17:51 +0200)
commit3d2613c4289ff22de3aa24d2d0a29e33937f023a
tree30e95e5c3f8db19249743f1de2e493dc3fd58f27
parente1db1706c86ee455f25eeaeadeda827e1e02310f
GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

The Synopsys DesignWare APB GPIO driver only supports open firmware devices.
But, like Intel Quark X1000 SOC, which has a single PCI function exporting
a GPIO and an I2C controller, it is a Multifunction device. This patch is
to enable the current Synopsys DesignWare APB GPIO driver to support the
Multifunction device which exports the designware GPIO controller.

Reviewed-by: Hock Leong Kweh <hock.leong.kweh@intel.com>
Signed-off-by: Weike Chen <alvin.chen@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-dwapb.c
include/linux/platform_data/gpio-dwapb.h [new file with mode: 0644]