dt-bindings: wkup-m3-ipc: Add vtt toggle gpio pin property

Document Wakeup M3 IPC property that indicates a GPIO pin is connected
to the enable pin on DDR VTT regulator and can be toggled during low
power mode transitions.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
[dfustini: converted to YAML, removed unnecessary "ti,needs-vtt-toggle"]
Signed-off-by: Drew Fustini <dfustini@baylibre.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220409211215.2529387-2-dfustini@baylibre.com
This commit is contained in:
Drew Fustini 2022-04-09 14:12:14 -07:00 committed by Rob Herring
parent fee6de80bd
commit 376eb490c7

View File

@ -24,6 +24,14 @@ description: |+
A wkup_m3_ipc device node is used to represent the IPC registers within an A wkup_m3_ipc device node is used to represent the IPC registers within an
SoC. SoC.
Support for VTT Toggle
==================================
On some boards like the AM335x EVM-SK and the AM437x GP EVM, a GPIO pin is
connected to the enable pin on the DDR VTT regulator. This allows the
regulator to be disabled upon suspend and enabled upon resume. Please note
that the GPIO pin must be part of the GPIO0 module as only this GPIO module
is in the wakeup power domain.
properties: properties:
compatible: compatible:
enum: enum:
@ -51,6 +59,10 @@ properties:
mbox_wkupm3 child node. mbox_wkupm3 child node.
maxItems: 1 maxItems: 1
ti,vtt-gpio-pin:
$ref: /schemas/types.yaml#/definitions/uint32
description: GPIO pin connected to enable pin on VTT regulator
required: required:
- compatible - compatible
- reg - reg
@ -76,6 +88,7 @@ examples:
interrupts = <78>; interrupts = <78>;
ti,rproc = <&wkup_m3>; ti,rproc = <&wkup_m3>;
mboxes = <&mailbox &mbox_wkupm3>; mboxes = <&mailbox &mbox_wkupm3>;
ti,vtt-gpio-pin = <7>;
}; };
}; };
... ...