1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 13:10:29 +03:00

pine64-pinephone: Update patch for 5.10

This commit is contained in:
Samuel Dionne-Riel 2020-12-25 15:49:16 -05:00
parent 8650b4c3a6
commit 90fb0d1df9

View File

@ -1,4 +1,4 @@
From 71f5fc6b8537eadefc75eb905dc32e03e2426f12 Mon Sep 17 00:00:00 2001
From b07870e2a05f674acd5e9afd3195b76b52032530 Mon Sep 17 00:00:00 2001
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Sat, 22 Aug 2020 22:50:35 -0400
Subject: [PATCH] dts: pinephone: Setup default on and panic LEDs
@ -13,24 +13,25 @@ yellow and green during the different boot stages.
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
index 76095e1b90c8..d631e34b0a69 100644
index 02d82980cf394..dca546a2c4a09 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
@@ -212,12 +212,14 @@ green {
function = LED_FUNCTION_INDICATOR;
@@ -216,6 +216,7 @@ green {
color = <LED_COLOR_ID_GREEN>;
gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */
retain-state-suspended;
+ linux,default-trigger = "default-on";
};
red {
function = LED_FUNCTION_INDICATOR;
@@ -223,6 +224,7 @@ red {
color = <LED_COLOR_ID_RED>;
gpios = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */
retain-state-suspended;
+ panic-indicator;
};
};
--
2.25.4
2.29.2