commit | 945710bbdbdf6c44f467b705c327556efee67b04 | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Mon Sep 14 23:43:38 2020 +0200 |
committer | Shawn Guo <shawnguo@kernel.org> | Tue Sep 22 17:06:04 2020 +0800 |
tree | b8ceab73d4799c2f8589e31ae40ceaf0ee00e224 | |
parent | c86e4202fde491e5fa578a3bf3bcfd056441e18d [diff] |
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>