ufs: set clkgate_enable when in offmode charging am: dbdc3ac5bf am: 88d2a72990

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15191999

Change-Id: I6651f2946fdb7bafdacc602649272f9b7b2e48a3
This commit is contained in:
Konstantin Vyshetsky 2021-07-04 04:25:31 +00:00 committed by Automerger Merge Worker
commit 8bb7a3b780

View file

@ -852,3 +852,8 @@ on property:vendor.disable.bcl.control=1
on property:vendor.disable.bcl.control=0
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 1
# UFS
on property:ro.boot.mode=charger && property:init.svc.vendor.charger=running
# Enable UFS powersaving in Off Mode Charger
write /dev/sys/block/bootdevice/clkgate_enable 1