Просмотр исходного кода

pinctrl: st: activate strict mux mode

This activates strict mode muxing for the ST pin controllers,
as these do not allow GPIO and functions to use the same pin
simultaneously.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Patrice Chotard 9 лет назад
Родитель
Сommit
8ba5905c16
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      drivers/pinctrl/pinctrl-st.c

+ 1 - 0
drivers/pinctrl/pinctrl-st.c

@@ -985,6 +985,7 @@ static struct pinmux_ops st_pmxops = {
 	.get_function_groups	= st_pmx_get_groups,
 	.get_function_groups	= st_pmx_get_groups,
 	.set_mux		= st_pmx_set_mux,
 	.set_mux		= st_pmx_set_mux,
 	.gpio_set_direction	= st_pmx_set_gpio_direction,
 	.gpio_set_direction	= st_pmx_set_gpio_direction,
+	.strict			= true,
 };
 };
 
 
 /* Pinconf  */
 /* Pinconf  */