overlays: Add gpio-shutdown overlay (#2103)
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 9 Jul 2017 13:15:22 +0000 (15:15 +0200)
committerPhil Elwell <pelwell@users.noreply.github.com>
Sun, 9 Jul 2017 13:15:22 +0000 (14:15 +0100)
commit91aa495e69a4796f7141e712f299c975bb64f8de
tree3f080bb6181a8e7bec979ba75c2ead9bc445911f
parentaf0e9d152c249d162d1413e73b4fe979bfc03edf
overlays: Add gpio-shutdown overlay (#2103)

This overlay facilitates the addition of a powerbutton by converting
GPIO edges into KEY_POWER keypresses, which can be handled by
systemd-logind to shut down the system.

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
arch/arm/boot/dts/overlays/Makefile
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/gpio-shutdown-overlay.dts [new file with mode: 0644]