xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/richtek,rt6160-regulator.yaml (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*5956d97fSEmmanuel Vadot%YAML 1.2
3*5956d97fSEmmanuel Vadot---
4*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml#
5*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5956d97fSEmmanuel Vadot
7*5956d97fSEmmanuel Vadottitle: Richtek RT6160 BuckBoost converter
8*5956d97fSEmmanuel Vadot
9*5956d97fSEmmanuel Vadotmaintainers:
10*5956d97fSEmmanuel Vadot  - ChiYuan Huang <cy_huang@richtek.com>
11*5956d97fSEmmanuel Vadot
12*5956d97fSEmmanuel Vadotdescription: |
13*5956d97fSEmmanuel Vadot  The RT6160 is a high-efficiency buck-boost converter that can provide
14*5956d97fSEmmanuel Vadot  up to 3A output current from 2025mV to 5200mV. And it support the wide
15*5956d97fSEmmanuel Vadot  input voltage range from 2200mV to 5500mV.
16*5956d97fSEmmanuel Vadot
17*5956d97fSEmmanuel Vadot  Datasheet is available at
18*5956d97fSEmmanuel Vadot  https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf
19*5956d97fSEmmanuel Vadot
20*5956d97fSEmmanuel VadotallOf:
21*5956d97fSEmmanuel Vadot  - $ref: regulator.yaml#
22*5956d97fSEmmanuel Vadot
23*5956d97fSEmmanuel Vadotproperties:
24*5956d97fSEmmanuel Vadot  compatible:
25*5956d97fSEmmanuel Vadot    enum:
26*5956d97fSEmmanuel Vadot      - richtek,rt6160
27*5956d97fSEmmanuel Vadot
28*5956d97fSEmmanuel Vadot  reg:
29*5956d97fSEmmanuel Vadot    maxItems: 1
30*5956d97fSEmmanuel Vadot
31*5956d97fSEmmanuel Vadot  enable-gpios:
32*5956d97fSEmmanuel Vadot    description: A connection of the 'enable' gpio line.
33*5956d97fSEmmanuel Vadot    maxItems: 1
34*5956d97fSEmmanuel Vadot
35*5956d97fSEmmanuel Vadot  richtek,vsel-active-low:
36*5956d97fSEmmanuel Vadot    description: |
37*5956d97fSEmmanuel Vadot      Used to indicate the 'vsel' pin active level. if not specified, use
38*5956d97fSEmmanuel Vadot      high active level as the default.
39*5956d97fSEmmanuel Vadot    type: boolean
40*5956d97fSEmmanuel Vadot
41*5956d97fSEmmanuel Vadotrequired:
42*5956d97fSEmmanuel Vadot  - compatible
43*5956d97fSEmmanuel Vadot  - reg
44*5956d97fSEmmanuel Vadot
45*5956d97fSEmmanuel VadotunevaluatedProperties: false
46*5956d97fSEmmanuel Vadot
47*5956d97fSEmmanuel Vadotexamples:
48*5956d97fSEmmanuel Vadot  - |
49*5956d97fSEmmanuel Vadot    i2c {
50*5956d97fSEmmanuel Vadot      #address-cells = <1>;
51*5956d97fSEmmanuel Vadot      #size-cells = <0>;
52*5956d97fSEmmanuel Vadot
53*5956d97fSEmmanuel Vadot      rt6160@75 {
54*5956d97fSEmmanuel Vadot        compatible = "richtek,rt6160";
55*5956d97fSEmmanuel Vadot        reg = <0x75>;
56*5956d97fSEmmanuel Vadot        enable-gpios = <&gpio26 2 0>;
57*5956d97fSEmmanuel Vadot        regulator-name = "rt6160-buckboost";
58*5956d97fSEmmanuel Vadot        regulator-min-microvolt = <2025000>;
59*5956d97fSEmmanuel Vadot        regulator-max-microvolt = <5200000>;
60*5956d97fSEmmanuel Vadot      };
61*5956d97fSEmmanuel Vadot    };
62