]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: Add IRQ support to STM32 gpios
authorAlexandre TORGUE <alexandre.torgue@st.com>
Fri, 9 Sep 2016 14:42:01 +0000 (16:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 13 Sep 2016 08:13:01 +0000 (10:13 +0200)
commit610b2f0476f1ece0fb7c906c42221f852ed3579a
treeca0b8af2ce94f49d0a34e7eb0d7896f305674a9a
parent5026f47539abf7fd28b24a274748ecb000a2d568
pinctrl: Add IRQ support to STM32 gpios

This patch adds IRQ support to STM32 gpios.

The EXTI controller has 16 lines dedicated to GPIOs.
EXTI line n can be connected to only line n of one of the GPIO ports, for
example EXTI0 can be connected to either PA0, or PB0, or PC0...
This port selection is done by specifying the port number into System
Config registers.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/Kconfig
drivers/pinctrl/stm32/pinctrl-stm32.c