diff options
author | Valentin Caron <valentin.caron@foss.st.com> | 2024-07-08 18:34:34 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-07-10 18:15:33 +0300 |
commit | efa9c5be2caecae7dfa4f29c6ab3d4a2f341eb15 (patch) | |
tree | 75f8de5265e57265730d15d8145028b21136b3ea /arch/powerpc | |
parent | 1746a61a0248f93fee11b9ab44c71720d45d713b (diff) | |
download | linux-efa9c5be2caecae7dfa4f29c6ab3d4a2f341eb15.tar.xz |
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 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions