xref: /linux/Documentation/devicetree/bindings/reset/ti,tps380x-reset.yaml (revision e7d759f31ca295d589f7420719c311870bb3166f)
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
7title: TI TPS380x reset controller
8
9maintainers:
10  - Marco Felsch <kernel@pengutronix.de>
11
12description: |
13  The TPS380x family [1] of supervisory circuits monitor supply voltages to
14  provide circuit initialization and timing supervision. The devices assert a
15  RESET signal if the voltage drops below a preset threshold or upon a manual
16  reset input (MR). The RESET output remains asserted for the factory
17  programmed delay after the voltage return above its threshold or after the
18  manual reset input is released.
19
20  [1] https://www.ti.com/product/TPS3801
21
22properties:
23  compatible:
24    enum:
25      - ti,tps3801
26
27  reset-gpios:
28    maxItems: 1
29    description: Reference to the GPIO connected to the MR pin.
30
31  "#reset-cells":
32    const: 0
33
34required:
35  - compatible
36  - reset-gpios
37  - "#reset-cells"
38
39additionalProperties: false
40
41examples:
42  - |
43    #include <dt-bindings/gpio/gpio.h>
44    reset: reset-controller {
45        compatible = "ti,tps3801";
46        #reset-cells = <0>;
47        reset-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
48    };
49...
50