diff options
author | Valentin Caron <valentin.caron@foss.st.com> | 2024-07-08 17:34:34 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-07-10 17:15:33 +0200 |
commit | efa9c5be2caecae7dfa4f29c6ab3d4a2f341eb15 (patch) | |
tree | 75f8de5265e57265730d15d8145028b21136b3ea /drivers/rtc/rtc-rx6110.c | |
parent | dt-bindings: rtc: stm32: introduce new st,stm32mp25-rtc compatible (diff) | |
download | linux-efa9c5be2caecae7dfa4f29c6ab3d4a2f341eb15.tar.xz linux-efa9c5be2caecae7dfa4f29c6ab3d4a2f341eb15.zip |
rtc: stm32: add new st,stm32mp25-rtc compatible and check RIF configuration
Introduce new st,stm32mp25-rtc compatible. It is based on st,stm32mp1-rtc.
Difference is that stm32mp25 soc implements a triple protection on RTC
registers:
- Secure bit based protection
- Privileged context based protection
- Compartment ID filtering based protection
This driver will now check theses configurations before probing to avoid
exceptions and fake reads on register.
At this time, driver needs only to check two resources: INIT and ALARM_A.
Other resources are not used.
Resource isolation framework (RIF) is a comprehensive set of hardware
blocks designed to enforce and manage isolation of STM32 hardware
resources, like memory and peripherals.
Link: https://www.st.com/resource/en/reference_manual/rm0457-stm32mp25xx-advanced-armbased-3264bit-mpus-stmicroelectronics.pdf#page=4081
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Link: https://lore.kernel.org/r/20240708153434.416287-3-valentin.caron@foss.st.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-rx6110.c')
0 files changed, 0 insertions, 0 deletions