pinctrl: add Intel BayTrail GPIO/pinctrl support
authorMathias Nyman <mathias.nyman@linux.intel.com>
Tue, 18 Jun 2013 11:33:02 +0000 (14:33 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Jun 2013 15:23:40 +0000 (17:23 +0200)
commita5d811bbf1c6df86cfe23948059ea614554b9f19
treeba9c651bd4f61303bf7a806ababf5b3f79b9f3d0
parent1c851fb189152b6572688fda7fc487ade2a4cb8a
pinctrl: add Intel BayTrail GPIO/pinctrl support

Add support for gpio on Intel BayTrail platforms. BayTrail supports 3 banks
of gpios called SCORE, NCORE ans SUS with 102, 28 and 44 gpio pins.
Supports gpio interrupts and ACPI gpio events

Pins may be muxed to alternate function instead of gpio by firmware.
This driver does not touch the pin muxing and expect firmare
to set pin muxing and pullup/down properties properly.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-baytrail.c [new file with mode: 0644]