diff options
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0300-Updated-the-gpio-poweroff-overlay-and-README-entry.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.14/950-0300-Updated-the-gpio-poweroff-overlay-and-README-entry.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0300-Updated-the-gpio-poweroff-overlay-and-README-entry.patch b/target/linux/brcm2708/patches-4.14/950-0300-Updated-the-gpio-poweroff-overlay-and-README-entry.patch new file mode 100644 index 0000000000..9fc0058b8c --- /dev/null +++ b/target/linux/brcm2708/patches-4.14/950-0300-Updated-the-gpio-poweroff-overlay-and-README-entry.patch @@ -0,0 +1,33 @@ +From ef6742d53869f0a8da5aacdb6b4cd13fb5540369 Mon Sep 17 00:00:00 2001 +From: Nick Bulleid <nedbulleid@fastmail.com> +Date: Sat, 12 May 2018 23:22:37 +0100 +Subject: [PATCH 300/454] Updated the gpio-poweroff overlay and README entry + +Signed-off-by: Nick Bulleid <nedbulleid@fastmail.com> +--- + arch/arm/boot/dts/overlays/README | 3 +++ + arch/arm/boot/dts/overlays/gpio-poweroff-overlay.dts | 2 ++ + 2 files changed, 5 insertions(+) + +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -595,6 +595,9 @@ Params: gpiopin GPIO for + custom dt-blob.bin to prevent a power-down + during the boot process, and that a reboot + will also cause the pin to go low. ++ input Set if the gpio pin should be configured as ++ an input. ++ export Set to export the configured pin to sysfs + + + Name: gpio-shutdown +--- a/arch/arm/boot/dts/overlays/gpio-poweroff-overlay.dts ++++ b/arch/arm/boot/dts/overlays/gpio-poweroff-overlay.dts +@@ -30,5 +30,7 @@ + gpiopin = <&power_ctrl>,"gpios:4", + <&power_ctrl_pins>,"brcm,pins:0"; + active_low = <&power_ctrl>,"gpios:8"; ++ input = <&power_ctrl>,"input?"; ++ export = <&power_ctrl>,"export?"; + }; + }; |