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:
commit
8bb7a3b780
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue