diff options
author | Gabriel Fernandez <gabriel.fernandez@st.com> | 2016-12-14 09:24:16 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-12-30 03:06:39 -0500 |
commit | c32c22eea0c47e13cffd6b5f7eedd7a6b6f2c18f (patch) | |
tree | db14ccb04237df9f54143c4b59e480c23ce6a5e7 /drivers/pinctrl/stm32 | |
parent | 0e028b49d27caf5476974f4fe421295e65403dae (diff) |
pinctrl: stm32: activate strict mux mode
This activates strict mode muxing for the STM32 pin controllers,
as these do not allow GPIO and functions to use the same pin
simultaneously.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/stm32')
-rw-r--r-- | drivers/pinctrl/stm32/pinctrl-stm32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index efc43711ff5c..c983a1e33dbe 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32.c | |||
@@ -631,6 +631,7 @@ static const struct pinmux_ops stm32_pmx_ops = { | |||
631 | .get_function_groups = stm32_pmx_get_func_groups, | 631 | .get_function_groups = stm32_pmx_get_func_groups, |
632 | .set_mux = stm32_pmx_set_mux, | 632 | .set_mux = stm32_pmx_set_mux, |
633 | .gpio_set_direction = stm32_pmx_gpio_set_direction, | 633 | .gpio_set_direction = stm32_pmx_gpio_set_direction, |
634 | .strict = true, | ||
634 | }; | 635 | }; |
635 | 636 | ||
636 | /* Pinconf functions */ | 637 | /* Pinconf functions */ |