[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240611161958.469209-1-valentin.caron@foss.st.com>
Date: Tue, 11 Jun 2024 18:19:56 +0200
From: Valentin Caron <valentin.caron@...s.st.com>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Rob Herring
<robh@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Alexandre Torgue
<alexandre.torgue@...s.st.com>
CC: <linux-rtc@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
Valentin Caron <valentin.caron@...s.st.com>
Subject: [PATCH 0/2] rtc: stm32: introduce new st,stm32mp25-rtc compatible
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
Powered by blists - more mailing lists