]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1698d08792f3ed12ef67d5e9d774b007a236956e
tree58a46627790da82fc2c1056375e4dc08d5c6133d
parentf9dad2be80093e888fe4a2095b2f6002f18ed4cf
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