PINCTRL: SiRF: add GPIO and GPIO irq support in CSR SiRFprimaII
authorBarry Song <Baohua.Song@csr.com>
Tue, 19 Jun 2012 07:00:05 +0000 (15:00 +0800)
committerBarry Song <Barry.Song@csr.com>
Mon, 2 Jul 2012 02:59:07 +0000 (10:59 +0800)
commit5130216265f6f924a4ba8214787241be96d93467
tree8e05e98068f0380376735a8575af9bb42ab27502
parentca24a145573124732152daff105ba68cc9a2b545
PINCTRL: SiRF: add GPIO and GPIO irq support in CSR SiRFprimaII

In SiRFprimaII, Each GPIO pin can be configured as input or output
independently. If a GPIO is configured as input, it can also be
enabled as an interrupt source (either edge or level triggered).

These pins must be either MUXed as GPIO or other function pads.

Signed-off-by: Yuping Luo <yuping.luo@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/Kconfig
arch/arm/mach-prima2/include/mach/gpio.h [new file with mode: 0644]
arch/arm/mach-prima2/include/mach/irqs.h
drivers/pinctrl/pinctrl-sirf.c