Skip to content

Commit

Permalink
pinctrl: nomadik: activate strict mux mode
Browse files Browse the repository at this point in the history
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: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
linusw committed May 6, 2015
1 parent 8c4c201 commit a21763a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pinctrl/nomadik/pinctrl-abx500.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ static const struct pinmux_ops abx500_pinmux_ops = {
.set_mux = abx500_pmx_set,
.gpio_request_enable = abx500_gpio_request_enable,
.gpio_disable_free = abx500_gpio_disable_free,
.strict = true,
};

static int abx500_get_groups_cnt(struct pinctrl_dev *pctldev)
Expand Down
1 change: 1 addition & 0 deletions drivers/pinctrl/nomadik/pinctrl-nomadik.c
Original file line number Diff line number Diff line change
Expand Up @@ -1803,6 +1803,7 @@ static const struct pinmux_ops nmk_pinmux_ops = {
.set_mux = nmk_pmx_set,
.gpio_request_enable = nmk_gpio_request_enable,
.gpio_disable_free = nmk_gpio_disable_free,
.strict = true,
};

static int nmk_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin,
Expand Down

0 comments on commit a21763a

Please sign in to comment.