brcm2708: update linux 4.4 patches to latest version
[oweals/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0490-overlays-Clarify-gpio-poweroff-semantics-in-README.patch
1 From a8fe903c1e5c6655795cdef8dfe0977018adc99b Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 22 Aug 2016 11:56:04 +0100
4 Subject: [PATCH] overlays: Clarify gpio-poweroff semantics in README
5
6 1) GPIO pin is signalled on poweroff, not reboot.
7 2) In RPi kernels, halt is equivalent to poweroff.
8
9 See: https://github.com/raspberrypi/linux/issues/1600
10 ---
11  arch/arm/boot/dts/overlays/README | 2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/arch/arm/boot/dts/overlays/README
15 +++ b/arch/arm/boot/dts/overlays/README
16 @@ -340,7 +340,7 @@ Params: gpio_pin                Input pi
17  
18  
19  Name:   gpio-poweroff
20 -Info:   Drives a GPIO high or low on reboot
21 +Info:   Drives a GPIO high or low on poweroff (including halt)
22  Load:   dtoverlay=gpio-poweroff,<param>=<val>
23  Params: gpiopin                 GPIO for signalling (default 26)
24