Skip to content

Commit

Permalink
xiaomi-begonia: LED now defaults to on
Browse files Browse the repository at this point in the history
  • Loading branch information
samueldr committed Jun 28, 2020
1 parent 7eee77e commit 6e00fa0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

1 change: 1 addition & 0 deletions devices/xiaomi-begonia/kernel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];

Expand Down

0 comments on commit 6e00fa0

Please sign in to comment.