blob: 38e54b3fd9f3f349d4c7ebc1a62441f4ba1e9726 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Binding for the LTC2952 PowerPath controller
2
3This chip is used to externally trigger a system shut down. Once the trigger has
4been sent, the chip's watchdog has to be reset to gracefully shut down.
5A full powerdown can be triggered via the kill signal.
6
7Required properties:
8
9- compatible: Must contain: "lltc,ltc2952"
10- watchdog-gpios: phandle + gpio-specifier for the GPIO connected to the
11 chip's watchdog line
12- kill-gpios: phandle + gpio-specifier for the GPIO connected to the
13 chip's kill line
14
15Optional properties:
16- trigger-gpios: phandle + gpio-specifier for the GPIO connected to the
17 chip's trigger line. If this property is not set, the
18 trigger function is ignored and the chip is kept alive
19 until an explicit kill signal is received
20- trigger-delay-ms The number of milliseconds to wait after trigger line
21 assertion before executing shut down procedure.
22 The default is 2500ms.
23
24Example:
25
26ltc2952 {
27 compatible = "lltc,ltc2952";
28
29 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
30 trigger-delay-ms = <2000>;
31 watchdog-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
32 kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
33};