init scripts changes to support new PM code
A new Power management driver has been add a new module and the sysfs modules are no longer valid. Change-Id: I1f5b2bafce1c5a034f31b9268d9dee574907dae0
This commit is contained in:
parent
bfdb06a4df
commit
a99cdb7dc9
|
@ -249,23 +249,26 @@ case "$target" in
|
|||
echo 1 > /sys/module/lpm_resources/enable_low_power/pxo
|
||||
echo 1 > /sys/module/lpm_resources/enable_low_power/vdd_dig
|
||||
echo 1 > /sys/module/lpm_resources/enable_low_power/vdd_mem
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/retention/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/retention/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/retention/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/retention/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/retention/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/retention/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/retention/idle_enabled
|
||||
echo 0 > /sys/module/msm_thermal/core_control/enabled
|
||||
echo 1 > /sys/devices/system/cpu/cpu1/online
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/online
|
||||
|
@ -335,19 +338,19 @@ case "$target" in
|
|||
if [ "$soc_revision" != "1.0" ]; then
|
||||
echo 1 > /sys/module/lpm_resources/enable_low_power/pxo
|
||||
fi
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled
|
||||
echo 1 > /sys/devices/system/cpu/cpu1/online
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/online
|
||||
echo 1 > /sys/devices/system/cpu/cpu3/online
|
||||
|
@ -380,19 +383,19 @@ case "$target" in
|
|||
echo 1 > /sys/module/lpm_resources/enable_low_power/pxo
|
||||
echo 1 > /sys/module/lpm_resources/enable_low_power/vdd_dig
|
||||
echo 1 > /sys/module/lpm_resources/enable_low_power/vdd_mem
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled
|
||||
echo 1 > /sys/devices/system/cpu/cpu1/online
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/online
|
||||
echo 1 > /sys/devices/system/cpu/cpu3/online
|
||||
|
@ -422,23 +425,23 @@ esac
|
|||
case "$target" in
|
||||
"apq8084")
|
||||
echo 4 > /sys/module/lpm_levels/enable_low_power/l2
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu1/retention/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu2/retention/idle_enabled
|
||||
echo 1 > /sys/module/pm_8x60/modes/cpu3/retention/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu0/retention/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu1/retention/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu2/retention/idle_enabled
|
||||
echo 1 > /sys/module/msm_pm/modes/cpu3/retention/idle_enabled
|
||||
echo 0 > /sys/module/msm_thermal/core_control/enabled
|
||||
echo 1 > /sys/devices/system/cpu/cpu1/online
|
||||
echo 1 > /sys/devices/system/cpu/cpu2/online
|
||||
|
|
Loading…
Reference in New Issue