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 6f1cd0103c74acd3910a09cdf45e27fd342ee4cf..4684017a42e424dff99672fb9f98439a19d6a5ad 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