sm8250-common: init: Move VOOC-related writes back to init

This allows these same writes to happen in both Android and offline
charging mode, thus enabling VOOC during offline charging.

Change-Id: Iacf85966b5fa37eedb42887d666369fb63e13c33
This commit is contained in:
jabashque
2022-11-22 10:34:09 +00:00
committed by Michael Bestas
parent d62a96ef8d
commit 852815b998

View File

@@ -4,11 +4,12 @@
# SPDX-License-Identifier: Apache-2.0
#
on fs
on init
# Charger
write /proc/fastchg_fw_update 1
write /proc/ui_soc_decimal 1
on fs
# Update touchpanel firmware in case we ship newer firmware in /odm
write /proc/touchpanel/tp_fw_update 0