Add enable_32k_lfosc() function declaration to am62xx-lpm-common.h to support enabling the 32kHz low-frequency oscillator during IO+DDR low power mode resume.
The 32kHz clock is required by the RTC to maintain timekeeping and generate wakeup events during deep sleep on SoCs with external 32.768kHz crystal oscillators. Signed-off-by: Akashdeep Kaur <[email protected]> --- arch/arm/mach-k3/am62xx-lpm-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/am62xx-lpm-common.h b/arch/arm/mach-k3/am62xx-lpm-common.h index 741e3ccbcbd..9eb3ab99200 100644 --- a/arch/arm/mach-k3/am62xx-lpm-common.h +++ b/arch/arm/mach-k3/am62xx-lpm-common.h @@ -15,5 +15,6 @@ bool wkup_ctrl_is_lpm_exit(void); int wkup_ctrl_remove_can_io_isolation_if_set(void); int wkup_r5f_am62_lpm_meta_data_addr(u64 *meta_data_addr); void lpm_resume_from_ddr(u64 meta_data_addr); +void enable_32k_lfosc(void); #endif /* _AM62XX_LPM_COMMON_H_ */ -- 2.34.1

