openwrtv4/target/linux/brcm2708/patches-4.4/0491-overlays-Clarify-gpio-poweroff-semantics-in-README.patch
Álvaro Fernández Rojas 2b1c6b21b5 brcm2708: update linux 4.4 patches to latest version
As usual these patches were extracted and rebased from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y

Also adds support for Raspberry Pi Compute Module 3 (untested).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-09-10 14:54:26 +02:00

24 lines
862 B
Diff

From 5b3a11f39bb1b0f9b43044c8109bd6a19b92cebe Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 22 Aug 2016 11:56:04 +0100
Subject: [PATCH] overlays: Clarify gpio-poweroff semantics in README
1) GPIO pin is signalled on poweroff, not reboot.
2) In RPi kernels, halt is equivalent to poweroff.
See: https://github.com/raspberrypi/linux/issues/1600
---
arch/arm/boot/dts/overlays/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -340,7 +340,7 @@ Params: gpio_pin Input pi
Name: gpio-poweroff
-Info: Drives a GPIO high or low on reboot
+Info: Drives a GPIO high or low on poweroff (including halt)
Load: dtoverlay=gpio-poweroff,<param>=<val>
Params: gpiopin GPIO for signalling (default 26)