Skip to content

Commit

Permalink
spaced: init: Enable fastchg_fw_update
Browse files Browse the repository at this point in the history
 * `fastchg_fw_update` seems to be needed to initialize VOOC / Warp charging.

Change-Id: I03dd1abe9c2c7be0b7b7576721b6f6338f1afd46
  • Loading branch information
SagarMakhar authored and HELLINFIX committed Jun 26, 2024
1 parent c242bcd commit 30bbf38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rootdir/etc/init.mt6781.power.rc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on init
write /sys/block/sdc/queue/iostats 0
write /sys/block/sdc/queue/nr_requests 256

# Update fastcharge firmware
write /proc/fastchg_fw_update 1

# Configure governor settings for little cluster
write /sys/devices/system/cpu/cpufreq/policy0/scaling_governor "schedutil"
write /sys/devices/system/cpu/cpufreq/policy0/schedutil/up_rate_limit_us 500
Expand Down

0 comments on commit 30bbf38

Please sign in to comment.