GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / regulator / ti,tps62864.yaml
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
7 title: TI TPS62864/TPS6286/TPS62868/TPS62869 voltage regulator
8
9 maintainers:
10   - Vincent Whitchurch <vincent.whitchurch@axis.com>
11
12 properties:
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     properties:
27       "SW":
28         type: object
29         $ref: regulator.yaml#
30         unevaluatedProperties: false
31
32     additionalProperties: false
33
34 required:
35   - compatible
36   - reg
37   - regulators
38
39 additionalProperties: false
40
41 examples:
42   - |
43     #include <dt-bindings/regulator/ti,tps62864.h>
44     i2c {
45       #address-cells = <1>;
46       #size-cells = <0>;
47
48       regulator@48 {
49         compatible = "ti,tps62864";
50         reg = <0x48>;
51
52         regulators {
53           SW {
54             regulator-name = "+0.85V";
55             regulator-min-microvolt = <800000>;
56             regulator-max-microvolt = <890000>;
57             regulator-initial-mode = <TPS62864_MODE_FPWM>;
58           };
59         };
60       };
61     };
62
63 ...