OSDN Git Service

dt-bindings: arm: stm32: add simple-mfd compatible for tamp node
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Wed, 21 Oct 2020 10:28:55 +0000 (12:28 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 26 Nov 2020 13:42:41 +0000 (14:42 +0100)
The stm32mp1 TAMP (Tamper and backup registers) does tamper detection
and features 32 backup registers that, being in the RTC domain, may
survive even with Vdd switched off.

This makes it suitable for use to communicate a reboot mode from OS
to bootloader via the syscon-reboot-mode binding. Add a "simple-mfd"
to support probing such a child node. The actual reboot mode
node could then be defined in a board.dts or fixed up by the bootloader.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml

index 6f1cd01..4684017 100644 (file)
@@ -20,6 +20,10 @@ properties:
               - st,stm32-syscfg
               - st,stm32-power-config
           - const: syscon
+      - items:
+          - const: st,stm32-tamp
+          - const: syscon
+          - const: simple-mfd
 
   reg:
     maxItems: 1