ti,tps380x-reset.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/reset/ti,tps380x-reset.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TI TPS380x reset controller
  7. maintainers:
  8. - Marco Felsch <kernel@pengutronix.de>
  9. description: |
  10. The TPS380x family [1] of supervisory circuits monitor supply voltages to
  11. provide circuit initialization and timing supervision. The devices assert a
  12. RESET signal if the voltage drops below a preset threshold or upon a manual
  13. reset input (MR). The RESET output remains asserted for the factory
  14. programmed delay after the voltage return above its threshold or after the
  15. manual reset input is released.
  16. [1] https://www.ti.com/product/TPS3801
  17. properties:
  18. compatible:
  19. enum:
  20. - ti,tps3801
  21. reset-gpios:
  22. maxItems: 1
  23. description: Reference to the GPIO connected to the MR pin.
  24. "#reset-cells":
  25. const: 0
  26. required:
  27. - compatible
  28. - reset-gpios
  29. - "#reset-cells"
  30. additionalProperties: false
  31. examples:
  32. - |
  33. #include <dt-bindings/gpio/gpio.h>
  34. reset: reset-controller {
  35. compatible = "ti,tps3801";
  36. #reset-cells = <0>;
  37. reset-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
  38. };
  39. ...