]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae86c4ca6128a7460c76788abed69e9fff720b77
tree8e05e98068f0380376735a8575af9bb42ab27502
parented46fe1eea2d4872266868facf210fca9d7508c0
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