fix(stm32mp1_clk): keep RTC clock always on

On battery powered systems the RTC keeps the date/time across
system reboot.
The RTC clock should not be disabled otherwise the date/time
counter gets stopped.

Tag RTC clock as always on.

Signed-off-by: HE Shushan <shushan.he@st.com>
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Change-Id: I6455c3c740d2e5add28255eb84f8ebaf2870d9d8
This commit is contained in:
HE Shushan 2021-07-12 23:04:10 +02:00 committed by Yann Gautier
parent bf39318d93
commit 5b111c7479
1 changed files with 1 additions and 0 deletions

View File

@ -1094,6 +1094,7 @@ static bool clock_is_always_on(unsigned long id)
case CK_AXI:
case CK_MPU:
case CK_MCU:
case RTC:
return true;
default:
return false;