Commit a21763a0 authored by Linus Walleij's avatar Linus Walleij

pinctrl: nomadik: activate strict mux mode

This activates strict mode muxing for the Nomadik pin controllers,
as these do not allow GPIO and functions to use the same pin
simultaneously.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 8c4c2016
...@@ -787,6 +787,7 @@ static const struct pinmux_ops abx500_pinmux_ops = { ...@@ -787,6 +787,7 @@ static const struct pinmux_ops abx500_pinmux_ops = {
.set_mux = abx500_pmx_set, .set_mux = abx500_pmx_set,
.gpio_request_enable = abx500_gpio_request_enable, .gpio_request_enable = abx500_gpio_request_enable,
.gpio_disable_free = abx500_gpio_disable_free, .gpio_disable_free = abx500_gpio_disable_free,
.strict = true,
}; };
static int abx500_get_groups_cnt(struct pinctrl_dev *pctldev) static int abx500_get_groups_cnt(struct pinctrl_dev *pctldev)
......
...@@ -1803,6 +1803,7 @@ static const struct pinmux_ops nmk_pinmux_ops = { ...@@ -1803,6 +1803,7 @@ static const struct pinmux_ops nmk_pinmux_ops = {
.set_mux = nmk_pmx_set, .set_mux = nmk_pmx_set,
.gpio_request_enable = nmk_gpio_request_enable, .gpio_request_enable = nmk_gpio_request_enable,
.gpio_disable_free = nmk_gpio_disable_free, .gpio_disable_free = nmk_gpio_disable_free,
.strict = true,
}; };
static int nmk_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, static int nmk_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment