Re: [PATCH v3 3/3] pinctrl: msm: Configure interrupts as input and gpio mode
From: Linus Walleij
Date: Wed Aug 29 2018 - 03:43:42 EST
On Thu, Aug 16, 2018 at 10:06 PM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:
> When requesting a gpio as an interrupt, we should make sure to mux the
> pin as the GPIO function and configure it to be an input so that various
> functions or output signals don't affect the interrupt state of the pin.
> So far, we've relied on pinmux configurations in DT to handle this, but
> let's explicitly configure this in the code so that DT implementers
> don't have to get this part right.
>
> 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.
Yours,
Linus Walleij