summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator/ti,tps62870.yaml
blob: 386989544dac99456820b7a5dfccfbf4804e7958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/ti,tps62870.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI TPS62870/TPS62871/TPS62872/TPS62873 voltage regulator

maintainers:
  - Mårten Lindahl <marten.lindahl@axis.com>

allOf:
  - $ref: regulator.yaml#

properties:
  compatible:
    enum:
      - ti,tps62870
      - ti,tps62871
      - ti,tps62872
      - ti,tps62873

  reg:
    maxItems: 1

  regulator-initial-mode:
    enum: [ 1, 2 ]
    description: 1 - Forced PWM mode, 2 - Low power mode

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    i2c {
      #address-cells = <1>;
      #size-cells = <0>;

      regulator@41 {
        compatible = "ti,tps62873";
        reg = <0x41>;
        regulator-name = "+0.75V";
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <1675000>;
        regulator-initial-mode = <1>;
      };
    };

...