xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/ti,tps62864.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1*c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*c9ccf3a3SEmmanuel Vadot%YAML 1.2
3*c9ccf3a3SEmmanuel Vadot---
4*c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/ti,tps62864.yaml#
5*c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c9ccf3a3SEmmanuel Vadot
7*c9ccf3a3SEmmanuel Vadottitle: TI TPS62864/TPS6286/TPS62868/TPS62869 voltage regulator
8*c9ccf3a3SEmmanuel Vadot
9*c9ccf3a3SEmmanuel Vadotmaintainers:
10*c9ccf3a3SEmmanuel Vadot  - Vincent Whitchurch <vincent.whitchurch@axis.com>
11*c9ccf3a3SEmmanuel Vadot
12*c9ccf3a3SEmmanuel Vadotproperties:
13*c9ccf3a3SEmmanuel Vadot  compatible:
14*c9ccf3a3SEmmanuel Vadot    enum:
15*c9ccf3a3SEmmanuel Vadot      - ti,tps62864
16*c9ccf3a3SEmmanuel Vadot      - ti,tps62866
17*c9ccf3a3SEmmanuel Vadot      - ti,tps62868
18*c9ccf3a3SEmmanuel Vadot      - ti,tps62869
19*c9ccf3a3SEmmanuel Vadot
20*c9ccf3a3SEmmanuel Vadot  reg:
21*c9ccf3a3SEmmanuel Vadot    maxItems: 1
22*c9ccf3a3SEmmanuel Vadot
23*c9ccf3a3SEmmanuel Vadot  regulators:
24*c9ccf3a3SEmmanuel Vadot    type: object
25*c9ccf3a3SEmmanuel Vadot
26*c9ccf3a3SEmmanuel Vadot    properties:
27*c9ccf3a3SEmmanuel Vadot      "SW":
28*c9ccf3a3SEmmanuel Vadot        type: object
29*c9ccf3a3SEmmanuel Vadot        $ref: regulator.yaml#
30*c9ccf3a3SEmmanuel Vadot        unevaluatedProperties: false
31*c9ccf3a3SEmmanuel Vadot
32*c9ccf3a3SEmmanuel Vadot    additionalProperties: false
33*c9ccf3a3SEmmanuel Vadot
34*c9ccf3a3SEmmanuel Vadotrequired:
35*c9ccf3a3SEmmanuel Vadot  - compatible
36*c9ccf3a3SEmmanuel Vadot  - reg
37*c9ccf3a3SEmmanuel Vadot  - regulators
38*c9ccf3a3SEmmanuel Vadot
39*c9ccf3a3SEmmanuel VadotadditionalProperties: false
40*c9ccf3a3SEmmanuel Vadot
41*c9ccf3a3SEmmanuel Vadotexamples:
42*c9ccf3a3SEmmanuel Vadot  - |
43*c9ccf3a3SEmmanuel Vadot    #include <dt-bindings/regulator/ti,tps62864.h>
44*c9ccf3a3SEmmanuel Vadot    i2c {
45*c9ccf3a3SEmmanuel Vadot      #address-cells = <1>;
46*c9ccf3a3SEmmanuel Vadot      #size-cells = <0>;
47*c9ccf3a3SEmmanuel Vadot
48*c9ccf3a3SEmmanuel Vadot      regulator@48 {
49*c9ccf3a3SEmmanuel Vadot        compatible = "ti,tps62864";
50*c9ccf3a3SEmmanuel Vadot        reg = <0x48>;
51*c9ccf3a3SEmmanuel Vadot
52*c9ccf3a3SEmmanuel Vadot        regulators {
53*c9ccf3a3SEmmanuel Vadot          SW {
54*c9ccf3a3SEmmanuel Vadot            regulator-name = "+0.85V";
55*c9ccf3a3SEmmanuel Vadot            regulator-min-microvolt = <800000>;
56*c9ccf3a3SEmmanuel Vadot            regulator-max-microvolt = <890000>;
57*c9ccf3a3SEmmanuel Vadot            regulator-initial-mode = <TPS62864_MODE_FPWM>;
58*c9ccf3a3SEmmanuel Vadot          };
59*c9ccf3a3SEmmanuel Vadot        };
60*c9ccf3a3SEmmanuel Vadot      };
61*c9ccf3a3SEmmanuel Vadot    };
62*c9ccf3a3SEmmanuel Vadot
63*c9ccf3a3SEmmanuel Vadot...
64