Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1311619 > unrolled thread

[PATCH] pinctrl: st: activate strict mux mode

Started by<patrice.chotard@st.com>
First post2016-01-18 16:40 +0100
Last post2016-01-27 11:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] pinctrl: st: activate strict mux mode <patrice.chotard@st.com> - 2016-01-18 16:40 +0100
    Re: [PATCH] pinctrl: st: activate strict mux mode Linus Walleij <linus.walleij@linaro.org> - 2016-01-27 11:10 +0100

#1311619 — [PATCH] pinctrl: st: activate strict mux mode

From<patrice.chotard@st.com>
Date2016-01-18 16:40 +0100
Subject[PATCH] pinctrl: st: activate strict mux mode
Message-ID<qSk4q-2Ah-15@gated-at.bofh.it>
From: Patrice Chotard <patrice.chotard@st.com>

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>
---
 drivers/pinctrl/pinctrl-st.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
index b58d3f2..00e179b 100644
--- a/drivers/pinctrl/pinctrl-st.c
+++ b/drivers/pinctrl/pinctrl-st.c
@@ -988,6 +988,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  */
-- 
1.9.1

[toc] | [next] | [standalone]


#1318813

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-01-27 11:10 +0100
Message-ID<qVvd1-1UN-15@gated-at.bofh.it>
In reply to#1311619
On Mon, Jan 18, 2016 at 4:38 PM,  <patrice.chotard@st.com> wrote:

> From: Patrice Chotard <patrice.chotard@st.com>
>
> 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>

Patch applied.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web