summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-at91.c
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2018-08-16 23:06:47 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-08-29 10:41:12 +0300
commit1de7ddb3a15c649fd15568d2056af295930656f8 (patch)
treecc261beaf0b8cc813f5825f4e7a4f07a8180662a /drivers/pinctrl/pinctrl-at91.c
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
downloadlinux-1de7ddb3a15c649fd15568d2056af295930656f8.tar.xz
pinctrl: msm: Mux out gpio function with gpio_request()
We rely on devices to use pinmuxing configurations in DT to select the GPIO function (function 0) if they're going to use the gpio in GPIO mode. Let's simplify things for driver authors by implementing gpio_request_enable() for this pinctrl driver to mux out the GPIO function when the gpio is use from gpiolib. Cc: Doug Anderson <dianders@chromium.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91.c')
0 files changed, 0 insertions, 0 deletions