162306a36Sopenharmony_ciBinding for the LTC2952 PowerPath controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThis chip is used to externally trigger a system shut down. Once the trigger has 462306a36Sopenharmony_cibeen sent, the chip's watchdog has to be reset to gracefully shut down. 562306a36Sopenharmony_ciA full powerdown can be triggered via the kill signal. 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciRequired properties: 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci- compatible: Must contain: "lltc,ltc2952" 1062306a36Sopenharmony_ci- watchdog-gpios: phandle + gpio-specifier for the GPIO connected to the 1162306a36Sopenharmony_ci chip's watchdog line 1262306a36Sopenharmony_ci- kill-gpios: phandle + gpio-specifier for the GPIO connected to the 1362306a36Sopenharmony_ci chip's kill line 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciOptional properties: 1662306a36Sopenharmony_ci- trigger-gpios: phandle + gpio-specifier for the GPIO connected to the 1762306a36Sopenharmony_ci chip's trigger line. If this property is not set, the 1862306a36Sopenharmony_ci trigger function is ignored and the chip is kept alive 1962306a36Sopenharmony_ci until an explicit kill signal is received 2062306a36Sopenharmony_ci- trigger-delay-ms The number of milliseconds to wait after trigger line 2162306a36Sopenharmony_ci assertion before executing shut down procedure. 2262306a36Sopenharmony_ci The default is 2500ms. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciExample: 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciltc2952 { 2762306a36Sopenharmony_ci compatible = "lltc,ltc2952"; 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 3062306a36Sopenharmony_ci trigger-delay-ms = <2000>; 3162306a36Sopenharmony_ci watchdog-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; 3262306a36Sopenharmony_ci kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; 3362306a36Sopenharmony_ci}; 34