summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2016-01-18 16:38:31 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-01-27 11:02:53 +0100
commit8ba5905c163cbfcc4c21ecef7574626649977439 (patch)
tree6f64f164763f19d124cd73abca0b036547ae2d4a
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-8ba5905c163cbfcc4c21ecef7574626649977439.tar.gz
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>
-rw-r--r--drivers/pinctrl/pinctrl-st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
index fac844a85cb4..cab66c64149f 100644
--- a/drivers/pinctrl/pinctrl-st.c
+++ b/drivers/pinctrl/pinctrl-st.c
@@ -985,6 +985,7 @@ static struct pinmux_ops st_pmxops = {
 	.get_function_groups	= st_pmx_get_groups,
 	.set_mux		= st_pmx_set_mux,
 	.gpio_set_direction	= st_pmx_set_gpio_direction,
+	.strict			= true,
 };
 
 /* Pinconf  */