From 01fd744f5ef343785726d5d47e95e6cbf9a45f3d Mon Sep 17 00:00:00 2001 From: Taniya Das Date: Mon, 27 Oct 2014 04:55:21 +0530 Subject: [PATCH] init: qcom: post_boot: Enable BIMC HWMON for MSM8909 enable devfreq bw_mon for bimc scaling for msm8909. Change-Id: Ife88f70ca8e404d4a2efd0213b12d70435caca9c --- rootdir/etc/init.qcom.post_boot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 534adfb5..ab39c0fb 100755 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -766,6 +766,11 @@ case "$target" in echo 1 > /sys/devices/system/cpu/cpu2/online echo 1 > /sys/devices/system/cpu/cpu3/online echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled + + for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor + do + echo "bw_hwmon" > $devfreq_gov + done ;; esac