[PATCH v2 0/3] Add fixes to STM32 pintrl

From: Alexandre TORGUE
Date: Mon May 29 2017 - 12:18:22 EST


This series add several fixes to STM32 pinctrl:
- Set input mode when PIN is used as interrupt
- Implement .get_direction() gpio_chip callback
- In DT: set each gpio controller as a interrupt controller. User who
wants to use gpio as interrupt will have choice to use either "gpiolib"
interface or "common" interrupt interface.

Changes since v1:
-rebase on 4.12-rc1
-Let gpiochip and irqchip orthogonal in stm32 pinctrl driver
-Don't use gpiolib internal define

Regards
Alex

Alexandre TORGUE (3):
pinctrl: stm32: set pin to gpio input when used as interrupt
pinctrl: stm32: Implement .get_direction gpio_chip callback
ARM: dts: stm32: Set gpio controller also as interrupt controller

arch/arm/boot/dts/stm32f429.dtsi | 22 +++++++++++++
arch/arm/boot/dts/stm32f746.dtsi | 22 +++++++++++++
drivers/pinctrl/stm32/pinctrl-stm32.c | 62 ++++++++++++++++++++++++++++-------
drivers/pinctrl/stm32/pinctrl-stm32.h | 5 ++-
4 files changed, 98 insertions(+), 13 deletions(-)

--
1.9.1