Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Binding for the LTC2952 PowerPath controller |
| 2 | |
| 3 | This chip is used to externally trigger a system shut down. Once the trigger has |
| 4 | been sent, the chip's watchdog has to be reset to gracefully shut down. |
| 5 | A full powerdown can be triggered via the kill signal. |
| 6 | |
| 7 | Required 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 | |
| 15 | Optional 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 | |
| 24 | Example: |
| 25 | |
| 26 | ltc2952 { |
| 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 | }; |