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,tps62864.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI TPS62864/TPS6286/TPS62868/TPS62869 voltage regulator
8
9maintainers:
10  - Vincent Whitchurch <vincent.whitchurch@axis.com>
11
12properties:
13  compatible:
14    enum:
15      - ti,tps62864
16      - ti,tps62866
17      - ti,tps62868
18      - ti,tps62869
19
20  reg:
21    maxItems: 1
22
23  regulators:
24    type: object
25
26    patternProperties:
27      "SW":
28        type: object
29        $ref: regulator.yaml#
30
31    additionalProperties: false
32
33required:
34  - compatible
35  - reg
36  - regulators
37
38additionalProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/regulator/ti,tps62864.h>
43    i2c {
44      #address-cells = <1>;
45      #size-cells = <0>;
46
47      regulator@48 {
48        compatible = "ti,tps62864";
49        reg = <0x48>;
50
51        regulators {
52          SW {
53            regulator-name = "+0.85V";
54            regulator-min-microvolt = <800000>;
55            regulator-max-microvolt = <890000>;
56            regulator-initial-mode = <TPS62864_MODE_FPWM>;
57          };
58        };
59      };
60    };
61
62...
63