summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mxc.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>2016-09-08 03:48:14 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-09-12 14:25:52 +0200
commit430be10dd356fe9f1c142222fb9cc78feb00e86f (patch)
tree1e9da9bfb262b676c3bd9c11d703f1f905b325a3 /drivers/gpio/gpio-mxc.c
parentpinctrl/at91: Don't provide a default trigger type (diff)
downloadlinux-430be10dd356fe9f1c142222fb9cc78feb00e86f.tar.xz
linux-430be10dd356fe9f1c142222fb9cc78feb00e86f.zip
pinctrl: imx: accept gpio request/free from pinctrl
While only Freescale Vybrid SoC has settings of GPIO capabilities done by iomux controller, it is only a matter of GPIO controller driver implementation for the rest of Freescale/NXP SoCs from iMX series. As a practical example on GPIO request a pad function should be switched to GPIO, but because this requires updates to all particular iMX pinctrl drivers, for simplicity at the moment add only a proper connection between shared pinctrl-imx and pinctrl/pinmux core, namely .gpio_request_enable/.gpio_disable_free/.gpio_set_direction callbacks should return success to a caller. This change allows to progress by adding request/free callbacks into gpio-mxc.c driver. Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions