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

2018-08-29 Thread Linus Walleij
On Thu, Aug 16, 2018 at 10:06 PM Stephen Boyd 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 pin

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

2018-08-26 Thread Bjorn Andersson
On Thu 16 Aug 13:06 PDT 2018, Stephen Boyd 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

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

2018-08-16 Thread Stephen Boyd
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 f