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:
Gerard Marull-Paretas 2023-07-20 13:00:59 +02:00 committed by Carles Cufí
commit 2e3bc500a9
2 changed files with 0 additions and 12 deletions

View file

@ -61,12 +61,6 @@
<0xFFFFFFFF>,
<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.
*/
};
};
};

View file

@ -16,8 +16,6 @@ LOG_MODULE_DECLARE(soc, CONFIG_SOC_LOG_LEVEL);
#define EXCLUDE_FROM_DEEPSLEEP ((const uint32_t[]) \
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];
/* System clock frequency. */
@ -71,10 +69,6 @@ void pm_state_set(enum pm_state state, uint8_t substate_id)
POWER_EnterDeepSleep(EXCLUDE_FROM_DEEPSLEEP);
restore_deepsleep_pin_config();
break;
case PM_STATE_SOFT_OFF:
set_deepsleep_pin_config();
POWER_EnterDeepPowerDown(EXCLUDE_FROM_DEEP_POWERDOWN);
break;
default:
LOG_DBG("Unsupported power state %u", state);
break;