Re: [PATCH v3 2/3] pinctrl: msm: Mux out gpio function with gpio_request()

From: Linus Walleij
Date: Wed Aug 29 2018 - 03:42:20 EST

On Thu, Aug 16, 2018 at 10:06 PM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:

> 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: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> Cc: Doug Anderson <dianders@xxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>

Patch applied for v4.20 with Bjorn's ACK.

Linus Walleij