pinctrl: stm32: fix bank io port number
authorAlexandre Torgue <alexandre.torgue@st.com>
Mon, 16 Jul 2018 12:57:36 +0000 (14:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 29 Jul 2018 20:01:34 +0000 (22:01 +0200)
commit3b8283f007cbf09eee64804606af23af5f734d54
tree58a46627790da82fc2c1056375e4dc08d5c6133d
parent423ddc580b13633429ed17c1c3a3059f402a3660
pinctrl: stm32: fix bank io port number

In case the exti line is not in line with the bank number (that is the case
when there is an hole between two banks, for example GPIOK and then GPIOZ),
use "st,bank-ioport" DT property to get the right exti line.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
drivers/pinctrl/stm32/pinctrl-stm32.c