pm44xx.c (c95baf12f5077419db01313ab61c2aac007d40cd) | pm44xx.c (a282e5ef2954e0bc2740c0c8c278f777933cc4fb) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * OMAP4+ Power Management Routines 4 * 5 * Copyright (C) 2010-2013 Texas Instruments, Inc. 6 * Rajendra Nayak <rnayak@ti.com> 7 * Santosh Shilimkar <santosh.shilimkar@ti.com> 8 */ --- 62 unchanged lines hidden (view full) --- 71 * For MPUSS to hit power domain retention(CSWR or OSWR), 72 * CPU0 and CPU1 power domains need to be in OFF or DORMANT state, 73 * since CPU power domain CSWR is not supported by hardware 74 * Only master CPU follows suspend path. All other CPUs follow 75 * CPU hotplug path in system wide suspend. On OMAP4, CPU power 76 * domain CSWR is not supported by hardware. 77 * More details can be found in OMAP4430 TRM section 4.3.4.2. 78 */ | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * OMAP4+ Power Management Routines 4 * 5 * Copyright (C) 2010-2013 Texas Instruments, Inc. 6 * Rajendra Nayak <rnayak@ti.com> 7 * Santosh Shilimkar <santosh.shilimkar@ti.com> 8 */ --- 62 unchanged lines hidden (view full) --- 71 * For MPUSS to hit power domain retention(CSWR or OSWR), 72 * CPU0 and CPU1 power domains need to be in OFF or DORMANT state, 73 * since CPU power domain CSWR is not supported by hardware 74 * Only master CPU follows suspend path. All other CPUs follow 75 * CPU hotplug path in system wide suspend. On OMAP4, CPU power 76 * domain CSWR is not supported by hardware. 77 * More details can be found in OMAP4430 TRM section 4.3.4.2. 78 */ |
79 omap4_enter_lowpower(cpu_id, cpu_suspend_state); | 79 omap4_enter_lowpower(cpu_id, cpu_suspend_state, false); |
80 81 /* Restore next powerdomain state */ 82 list_for_each_entry(pwrst, &pwrst_list, node) { 83 state = pwrdm_read_prev_pwrst(pwrst->pwrdm); 84 if (state > pwrst->next_state) { 85 pr_info("Powerdomain (%s) didn't enter target state %d\n", 86 pwrst->pwrdm->name, pwrst->next_state); 87 ret = -1; --- 209 unchanged lines hidden --- | 80 81 /* Restore next powerdomain state */ 82 list_for_each_entry(pwrst, &pwrst_list, node) { 83 state = pwrdm_read_prev_pwrst(pwrst->pwrdm); 84 if (state > pwrst->next_state) { 85 pr_info("Powerdomain (%s) didn't enter target state %d\n", 86 pwrst->pwrdm->name, pwrst->next_state); 87 ret = -1; --- 209 unchanged lines hidden --- |