summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt
diff options
context:
space:
mode:
authorStephen Boyd2018-08-16 22:06:48 +0200
committerLinus Walleij2018-08-29 09:42:45 +0200
commitfe2731211e784bff5a738631e5fd48041524239f (patch)
tree2a67d9643a6e784426214815e52971efa8cfbd7b /Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt
parentpinctrl: msm: Mux out gpio function with gpio_request() (diff)
downloadkernel-qcow2-linux-fe2731211e784bff5a738631e5fd48041524239f.tar.gz
kernel-qcow2-linux-fe2731211e784bff5a738631e5fd48041524239f.tar.xz
kernel-qcow2-linux-fe2731211e784bff5a738631e5fd48041524239f.zip
pinctrl: msm: Configure interrupts as input and gpio mode
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: 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 'Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt')
0 files changed, 0 insertions, 0 deletions