1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/ti,tps62870.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI TPS62870/TPS62871/TPS62872/TPS62873 voltage regulator
8
9maintainers:
10  - Mårten Lindahl <marten.lindahl@axis.com>
11
12allOf:
13  - $ref: regulator.yaml#
14
15properties:
16  compatible:
17    enum:
18      - ti,tps62870
19      - ti,tps62871
20      - ti,tps62872
21      - ti,tps62873
22
23  reg:
24    maxItems: 1
25
26  regulator-initial-mode:
27    enum: [ 1, 2 ]
28    description: 1 - Forced PWM mode, 2 - Low power mode
29
30required:
31  - compatible
32  - reg
33
34unevaluatedProperties: false
35
36examples:
37  - |
38    i2c {
39      #address-cells = <1>;
40      #size-cells = <0>;
41
42      regulator@41 {
43        compatible = "ti,tps62873";
44        reg = <0x41>;
45        regulator-name = "+0.75V";
46        regulator-min-microvolt = <400000>;
47        regulator-max-microvolt = <1675000>;
48        regulator-initial-mode = <1>;
49      };
50    };
51
52...
53