linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] rtc: stm32: introduce new st,stm32mp25-rtc compatible
@ 2024-06-11 16:19 Valentin Caron
  2024-06-11 16:19 ` [PATCH 1/2] dt-bindings: " Valentin Caron
  2024-06-11 16:19 ` [PATCH 2/2] rtc: stm32: add new st,stm32mp25-rtc compatible and check RIF configuration Valentin Caron
  0 siblings, 2 replies; 4+ messages in thread
From: Valentin Caron @ 2024-06-11 16:19 UTC (permalink / raw)
  To: Alexandre Belloni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Alexandre Torgue
  Cc: linux-rtc, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Valentin Caron

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.

Link: https://www.st.com/resource/en/reference_manual/rm0457-stm32mp25xx-advanced-armbased-3264bit-mpus-stmicroelectronics.pdf#page=4081

Valentin Caron (2):
  dt-bindings: rtc: stm32: introduce new st,stm32mp25-rtc compatible
  rtc: stm32: add new st,stm32mp25-rtc compatible and check RIF
    configuration

 .../devicetree/bindings/rtc/st,stm32-rtc.yaml |  5 +-
 drivers/rtc/rtc-stm32.c                       | 78 +++++++++++++++++++
 2 files changed, 82 insertions(+), 1 deletion(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-11 18:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-11 16:19 [PATCH 0/2] rtc: stm32: introduce new st,stm32mp25-rtc compatible Valentin Caron
2024-06-11 16:19 ` [PATCH 1/2] dt-bindings: " Valentin Caron
2024-06-11 18:16   ` Conor Dooley
2024-06-11 16:19 ` [PATCH 2/2] rtc: stm32: add new st,stm32mp25-rtc compatible and check RIF configuration Valentin Caron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).