OSDN Git Service

ARM: dts: silk: Configure pull-up for SOFT_SW GPIO keys
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 30 Apr 2021 13:10:55 +0000 (15:10 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 31 May 2021 08:45:41 +0000 (10:45 +0200)
commit0eb17349042f1c5d8294b6b0a58bcda8b5db0e9d
tree032f1d26749b42d3cb3925f190b0663f31389662
parent0003fa76d973e15263d8d03494aeef6a4361efa3
ARM: dts: silk: Configure pull-up for SOFT_SW GPIO keys

The GPIO pins connected to the 4 Software Switches ("SOFT_SW", SW12) do
not have external pull-up resistors, but rely on internal pull-ups being
enabled.  Fortunately this is satisfied by the initial state of these
pins.

Make this explicit by enabling bias-pull-up, to remove the dependency on
initial state and/or boot loader configuration.

While at it, rename the surrounding device node from "gpio-keys" to
"keyboard", to comply with generic node name recommendations.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/45f38a5333feba9bea80efeb5a41a6c3f60deda2.1619785905.git.geert+renesas@glider.be
arch/arm/boot/dts/r8a7794-silk.dts