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

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

Change-Id: I77872244d14277ac2188f5348d783aa451eb5990
This commit is contained in:
Konstantin Vyshetsky 2021-07-04 04:51:42 +00:00 committed by Automerger Merge Worker
commit a83bd78c5c

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