soc: arm: nxp_imx: rt5xx: drop SOFT_OFF
SOFT_OFF is now handled via sys_shutdown() API. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
a99a6756aa
commit
2e3bc500a9
2 changed files with 0 additions and 12 deletions
|
@ -61,12 +61,6 @@
|
||||||
<0xFFFFFFFF>,
|
<0xFFFFFFFF>,
|
||||||
<0>;
|
<0>;
|
||||||
};
|
};
|
||||||
/*
|
|
||||||
* Deep power-down mode is supported in this SoC through
|
|
||||||
* 'PM_STATE_SOFT_OFF' state. There is no entry for this
|
|
||||||
* in device tree, user can call pm_state_force to enter
|
|
||||||
* this state.
|
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,8 +16,6 @@ LOG_MODULE_DECLARE(soc, CONFIG_SOC_LOG_LEVEL);
|
||||||
#define EXCLUDE_FROM_DEEPSLEEP ((const uint32_t[]) \
|
#define EXCLUDE_FROM_DEEPSLEEP ((const uint32_t[]) \
|
||||||
DT_PROP_OR(NODE_ID, deep_sleep_config, {}))
|
DT_PROP_OR(NODE_ID, deep_sleep_config, {}))
|
||||||
|
|
||||||
#define EXCLUDE_FROM_DEEP_POWERDOWN ((const uint32_t[]){0, 0, 0, 0})
|
|
||||||
|
|
||||||
static uint32_t isp_pin[3];
|
static uint32_t isp_pin[3];
|
||||||
|
|
||||||
/* System clock frequency. */
|
/* System clock frequency. */
|
||||||
|
@ -71,10 +69,6 @@ void pm_state_set(enum pm_state state, uint8_t substate_id)
|
||||||
POWER_EnterDeepSleep(EXCLUDE_FROM_DEEPSLEEP);
|
POWER_EnterDeepSleep(EXCLUDE_FROM_DEEPSLEEP);
|
||||||
restore_deepsleep_pin_config();
|
restore_deepsleep_pin_config();
|
||||||
break;
|
break;
|
||||||
case PM_STATE_SOFT_OFF:
|
|
||||||
set_deepsleep_pin_config();
|
|
||||||
POWER_EnterDeepPowerDown(EXCLUDE_FROM_DEEP_POWERDOWN);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
LOG_DBG("Unsupported power state %u", state);
|
LOG_DBG("Unsupported power state %u", state);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue