ltc2952-poweroff.txt 951 B

123456789101112131415161718192021222324252627282930
  1. Binding for the LTC2952 PowerPath controller
  2. This chip is used to externally trigger a system shut down. Once the trigger has
  3. been sent, the chip's watchdog has to be reset to gracefully shut down.
  4. A full powerdown can be triggered via the kill signal.
  5. Required properties:
  6. - compatible: Must contain: "lltc,ltc2952"
  7. - watchdog-gpios: phandle + gpio-specifier for the GPIO connected to the
  8. chip's watchdog line
  9. - kill-gpios: phandle + gpio-specifier for the GPIO connected to the
  10. chip's kill line
  11. Optional properties:
  12. - trigger-gpios: phandle + gpio-specifier for the GPIO connected to the
  13. chip's trigger line. If this property is not set, the
  14. trigger function is ignored and the chip is kept alive
  15. until an explicit kill signal is received
  16. Example:
  17. ltc2952 {
  18. compatible = "lltc,ltc2952";
  19. trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
  20. watchdog-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
  21. kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
  22. };