1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-14 18:21:41 +03:00

xiaomi-begonia: LED now defaults to on

This commit is contained in:
Samuel Dionne-Riel 2020-06-27 21:39:26 -04:00
parent 7eee77e797
commit 6e00fa0eee
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 7596d9c5fddf7b1fc81c24a5f71800d52af31527 Mon Sep 17 00:00:00 2001
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Sat, 27 Jun 2020 21:24:22 -0400
Subject: [PATCH] mt6360: white led defaults to on
---
arch/arm64/boot/dts/mediatek/mt6360.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt6360.dtsi b/arch/arm64/boot/dts/mediatek/mt6360.dtsi
index 19bc396041e3..373c1687a06a 100644
--- a/arch/arm64/boot/dts/mediatek/mt6360.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6360.dtsi
@@ -93,7 +93,7 @@
compatible = "mediatek,mt6360_pmu_rgbled";
mt,led_name = "white", "mt6360_pmu_led2",
"mt6360_pmu_led3", "mt6360_pmu_led4";
- mt,led_default_trigger = "cc_mode", "cc_mode",
+ mt,led_default_trigger = "default-on", "cc_mode",
"cc_mode", "none";
};
core {
--
2.25.4

View File

@ -67,6 +67,7 @@ in
./0001-mtkfb-Default-to-RGB-order.patch
./0001-fix-teei-mediatek.patch
./0001-center-logo.patch
./0001-mt6360-white-led-defaults-to-on.patch
./0003-arch-arm64-Add-config-option-to-fix-bootloader-cmdli.patch
];