UFS: enable UFS clock gating when off mode charging
Avoid high UFS power consumption Bug: 224888044 Test: check clkgate_enable in uart console Signed-off-by: Randall Huang <huangrandall@google.com> Change-Id: Ie5504a259621a8661133eebd8f574d5af2809abb
This commit is contained in:
parent
1f95aca935
commit
3bec1149e8
1 changed files with 5 additions and 0 deletions
|
@ -945,3 +945,8 @@ on property:persist.vendor.softmaxfreq.cl1=*
|
|||
|
||||
on property:persist.vendor.softmaxfreq.cl2=*
|
||||
write /sys/devices/platform/exynos-acme/freq_qos_max "6 ${persist.vendor.softmaxfreq.cl2}"
|
||||
|
||||
# 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