Skip to content

Commit 1746a61

Browse files
VCASTMalexandrebelloni
authored andcommitted
dt-bindings: 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 Signed-off-by: Valentin Caron <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent a47d377 commit 1746a61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ properties:
1515
- st,stm32-rtc
1616
- st,stm32h7-rtc
1717
- st,stm32mp1-rtc
18+
- st,stm32mp25-rtc
1819

1920
reg:
2021
maxItems: 1
@@ -90,7 +91,9 @@ allOf:
9091
properties:
9192
compatible:
9293
contains:
93-
const: st,stm32mp1-rtc
94+
enum:
95+
- st,stm32mp1-rtc
96+
- st,stm32mp25-rtc
9497

9598
then:
9699
properties:

0 commit comments

Comments
 (0)