overlays: gpio-shutdown: Add debounce parameter
authorPhil Elwell <phil@raspberrypi.org>
Mon, 7 Oct 2019 12:51:07 +0000 (13:51 +0100)
committerPhil Elwell <phil@raspberrypi.org>
Tue, 8 Oct 2019 08:35:58 +0000 (09:35 +0100)
commitda7190d0089369584c1c06f47758da7da8ad93f4
tree44b93ec7b57385ea2b3e57927406562b7d59093b
parentf1da5f42022d4d8edb1e53d027e3a6b6b65f8519
overlays: gpio-shutdown: Add debounce parameter

Give the gpio-shutdown overlay a debounce parameter that requires
the GPIO to be held at the relevant level for a specified number
of milliseconds. The default value is 100 - higher than the driver
default of 5ms to avoid unfortunate glitches.

See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=253680

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/gpio-shutdown-overlay.dts