From b0f9c3aabdc35ec4f03e76f55854992068085312 Mon Sep 17 00:00:00 2001 From: Murali Nalajala Date: Mon, 8 Dec 2014 18:23:42 -0800 Subject: [PATCH] init.qcom.post_boot: Enable LPM modes for 8992 Enable LPM modes for 8992 and bring A57 cores online Change-Id: Ifb22b84ea45d8b79f5a2f54391d69ffc68bf3375 --- rootdir/etc/init.qcom.post_boot.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 38ae11bc..4cad00dd 100755 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -733,6 +733,15 @@ case "$target" in ;; esac +case "$target" in + "msm8992") + echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled + # online A57 cores + echo 1 > /sys/devices/system/cpu/cpu4/online + echo 1 > /sys/devices/system/cpu/cpu5/online + ;; +esac + case "$target" in "msm8994") # disable thermal bcl hotplug to switch governor