Lines Matching +full:regulator +full:- +full:system +full:- +full:load
4 * SPDX-License-Identifier: Apache-2.0
35 __ASSERT_NO_MSG(callbacks && callbacks->clock_set_run && callbacks->clock_set_low_power); in imxrt_clock_pm_callbacks_register()
36 lpm_clock_hooks.clock_set_run = callbacks->clock_set_run; in imxrt_clock_pm_callbacks_register()
37 lpm_clock_hooks.clock_set_low_power = callbacks->clock_set_low_power; in imxrt_clock_pm_callbacks_register()
38 if (callbacks->clock_lpm_init) { in imxrt_clock_pm_callbacks_register()
39 lpm_clock_hooks.clock_lpm_init = callbacks->clock_lpm_init; in imxrt_clock_pm_callbacks_register()
50 * ERR050143: CCM: When improper low-power sequence is used, in lpm_set_sleep_mode_config()
57 * Low-Power mode. in lpm_set_sleep_mode_config()
58 * 3) Software should mask IRQ #41 right after CCM Low-Power mode in lpm_set_sleep_mode_config()
59 * is set (set bits 0-1 of CCM_CLPCR). in lpm_set_sleep_mode_config()
62 clpcr = CCM->CLPCR & (~(CCM_CLPCR_LPM_MASK | CCM_CLPCR_ARM_CLK_DIS_ON_LPM_MASK)); in lpm_set_sleep_mode_config()
66 /* Set clock control module to transfer system to idle mode */ in lpm_set_sleep_mode_config()
75 CCM->CLPCR = clpcr; in lpm_set_sleep_mode_config()
81 /* Enable the SNVS RTC as a wakeup source from soft-off mode, in case an RTC alarm in lpm_enter_soft_off_mode()
85 SNVS->LPCR |= SNVS_LPCR_TOP_MASK; in lpm_enter_soft_off_mode()
106 SCB->SCR &= ~SCB_SCR_SLEEPDEEP_Msk; in lpm_enter_sleep_mode()
109 SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk; in lpm_enter_sleep_mode()
120 CCM->CLPCR &= ~(CCM_CLPCR_LPM_MASK | CCM_CLPCR_ARM_CLK_DIS_ON_LPM_MASK); in lpm_set_run_mode_config()
128 PMU->MISC0_CLR = PMU_MISC0_REFTOP_PWD_MASK; in bandgap_set()
130 while ((PMU->MISC0 & PMU_MISC0_REFTOP_VBGUP_MASK) == 0) { in bandgap_set()
134 XTALOSC24M->LOWPWR_CTRL_CLR = XTALOSC24M_LOWPWR_CTRL_LPBG_SEL_MASK; in bandgap_set()
137 XTALOSC24M->LOWPWR_CTRL_SET = XTALOSC24M_LOWPWR_CTRL_LPBG_SEL_MASK; in bandgap_set()
138 PMU->MISC0_SET = PMU_MISC0_REFTOP_PWD_MASK; in bandgap_set()
142 /* Should only be used if core clocks have been reduced- drops SOC voltage */
170 /* Enable regulator LDOs */ in lpm_raise_voltage()
242 /* Initialize power system */
251 CCM->CGPR |= CCM_CGPR_INT_MEM_CLK_LPM_MASK; in rt10xx_power_init()
258 IOMUXC_GPR->GPR1 |= IOMUXC_GPR_GPR1_GINT_MASK; in rt10xx_power_init()
264 /* Reconfigure DCDC to disable internal load resistor */ in rt10xx_power_init()