arm64: dts: freescale: sl28: map GPIOs to input events
authorMichael Walle <michael@walle.cc>
Mon, 14 Sep 2020 21:43:38 +0000 (23:43 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 22 Sep 2020 09:06:04 +0000 (17:06 +0800)
commit945710bbdbdf6c44f467b705c327556efee67b04
treeb8ceab73d4799c2f8589e31ae40ceaf0ee00e224
parentc86e4202fde491e5fa578a3bf3bcfd056441e18d
arm64: dts: freescale: sl28: map GPIOs to input events

Now that we have support for GPIO lines of the SMARC connector, map the
sleep, power and lid switch signals to the corresponding keys using the
gpio-keys and gpio-keys-polled drivers. The power and sleep signals have
dedicated interrupts, thus we use these ones. The lid switch is just
mapped to a GPIO input and needs polling.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts