Re: [PATCH v3 3/3] pinctrl: msm: Configure interrupts as input and gpio mode
From: Linus Walleij <hidden>
Date: 2018-08-29 07:43:42
Also in:
linux-arm-msm, lkml
From: Linus Walleij <hidden>
Date: 2018-08-29 07:43:42
Also in:
linux-arm-msm, lkml
On Thu, Aug 16, 2018 at 10:06 PM Stephen Boyd [off-list ref] 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 <redacted> Cc: Doug Anderson <dianders@chromium.org> Signed-off-by: Stephen Boyd <redacted>
Patch applied for v4.20 with Bjorn's ACK. Yours, Linus Walleij