drivers: timer: remove reset release for lptim

The LL_APBx_GRPn_ReleaseReset clears reset bit in RCC,
however this bit is reset by default. Code that set
this bit was removed in previous commit
0856e99155
Keepint the autonomous clocks for STM32U5 family.

Signed-off-by: Adam Berlinger <adam.berlinger@st.com>
This commit is contained in:
Adam Berlinger 2024-04-04 13:31:49 +02:00 committed by Johan Hedberg
commit 0717d4789d

View file

@ -401,12 +401,8 @@ static int sys_clock_driver_init(void)
return -EIO;
}
#if defined(LL_APB1_GRP1_PERIPH_LPTIM1)
LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_LPTIM1);
#elif defined(LL_APB3_GRP1_PERIPH_LPTIM1)
#if defined(LL_SRDAMR_GRP1_PERIPH_LPTIM1AMEN)
LL_SRDAMR_GRP1_EnableAutonomousClock(LL_SRDAMR_GRP1_PERIPH_LPTIM1AMEN);
#elif defined(LL_APB7_GRP1_PERIPH_LPTIM1)
LL_APB7_GRP1_ReleaseReset(LL_APB7_GRP1_PERIPH_LPTIM1);
#endif
/* Enable LPTIM clock source */