9fc0058b8c3664a7d5f9bacb161586d3d08d8578
[openwrt/staging/chunkeey.git] /
1 From ef6742d53869f0a8da5aacdb6b4cd13fb5540369 Mon Sep 17 00:00:00 2001
2 From: Nick Bulleid <nedbulleid@fastmail.com>
3 Date: Sat, 12 May 2018 23:22:37 +0100
4 Subject: [PATCH 300/454] Updated the gpio-poweroff overlay and README entry
5
6 Signed-off-by: Nick Bulleid <nedbulleid@fastmail.com>
7 ---
8 arch/arm/boot/dts/overlays/README | 3 +++
9 arch/arm/boot/dts/overlays/gpio-poweroff-overlay.dts | 2 ++
10 2 files changed, 5 insertions(+)
11
12 --- a/arch/arm/boot/dts/overlays/README
13 +++ b/arch/arm/boot/dts/overlays/README
14 @@ -595,6 +595,9 @@ Params: gpiopin GPIO for
15 custom dt-blob.bin to prevent a power-down
16 during the boot process, and that a reboot
17 will also cause the pin to go low.
18 + input Set if the gpio pin should be configured as
19 + an input.
20 + export Set to export the configured pin to sysfs
21
22
23 Name: gpio-shutdown
24 --- a/arch/arm/boot/dts/overlays/gpio-poweroff-overlay.dts
25 +++ b/arch/arm/boot/dts/overlays/gpio-poweroff-overlay.dts
26 @@ -30,5 +30,7 @@
27 gpiopin = <&power_ctrl>,"gpios:4",
28 <&power_ctrl_pins>,"brcm,pins:0";
29 active_low = <&power_ctrl>,"gpios:8";
30 + input = <&power_ctrl>,"input?";
31 + export = <&power_ctrl>,"export?";
32 };
33 };