xref: /freebsd-src/sys/contrib/device-tree/Bindings/regulator/richtek,rtq6752-regulator.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1354d7675SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/richtek,rtq6752-regulator.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: Richtek RTQ6752 TFT LCD Voltage Regulator
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - ChiYuan Huang <cy_huang@richtek.com>
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel Vadotdescription: |
13354d7675SEmmanuel Vadot  The RTQ6752 is an I2C interface pgorammable power management IC. It includes
14354d7675SEmmanuel Vadot  two synchronous boost converter for PAVDD, and one synchronous NAVDD
15354d7675SEmmanuel Vadot  buck-boost. The device is suitable for automotive TFT-LCD panel.
16354d7675SEmmanuel Vadot
17354d7675SEmmanuel Vadotproperties:
18354d7675SEmmanuel Vadot  compatible:
19354d7675SEmmanuel Vadot    enum:
20354d7675SEmmanuel Vadot      - richtek,rtq6752
21354d7675SEmmanuel Vadot
22354d7675SEmmanuel Vadot  reg:
23354d7675SEmmanuel Vadot    maxItems: 1
24354d7675SEmmanuel Vadot
25354d7675SEmmanuel Vadot  enable-gpios:
26354d7675SEmmanuel Vadot    description: |
27354d7675SEmmanuel Vadot      A connection of the chip 'enable' gpio line. If not provided, treat it as
28354d7675SEmmanuel Vadot      external pull up.
29354d7675SEmmanuel Vadot    maxItems: 1
30354d7675SEmmanuel Vadot
31354d7675SEmmanuel Vadot  regulators:
32354d7675SEmmanuel Vadot    type: object
33354d7675SEmmanuel Vadot
34354d7675SEmmanuel Vadot    patternProperties:
35354d7675SEmmanuel Vadot      "^(p|n)avdd$":
36354d7675SEmmanuel Vadot        type: object
37354d7675SEmmanuel Vadot        $ref: regulator.yaml#
38*aa1a8ff2SEmmanuel Vadot        unevaluatedProperties: false
39354d7675SEmmanuel Vadot        description: |
40354d7675SEmmanuel Vadot          regulator description for pavdd and navdd.
41354d7675SEmmanuel Vadot
42354d7675SEmmanuel Vadot    additionalProperties: false
43354d7675SEmmanuel Vadot
44354d7675SEmmanuel Vadotrequired:
45354d7675SEmmanuel Vadot  - compatible
46354d7675SEmmanuel Vadot  - reg
47354d7675SEmmanuel Vadot  - regulators
48354d7675SEmmanuel Vadot
49354d7675SEmmanuel VadotadditionalProperties: false
50354d7675SEmmanuel Vadot
51354d7675SEmmanuel Vadotexamples:
52354d7675SEmmanuel Vadot  - |
53354d7675SEmmanuel Vadot    i2c {
54354d7675SEmmanuel Vadot      #address-cells = <1>;
55354d7675SEmmanuel Vadot      #size-cells = <0>;
56354d7675SEmmanuel Vadot
57354d7675SEmmanuel Vadot      rtq6752@6b {
58354d7675SEmmanuel Vadot        compatible = "richtek,rtq6752";
59354d7675SEmmanuel Vadot        reg = <0x6b>;
60354d7675SEmmanuel Vadot        enable-gpios = <&gpio26 2 0>;
61354d7675SEmmanuel Vadot
62354d7675SEmmanuel Vadot        regulators {
63354d7675SEmmanuel Vadot          pavdd {
64354d7675SEmmanuel Vadot            regulator-name = "rtq6752-pavdd";
65354d7675SEmmanuel Vadot            regulator-min-microvolt = <5000000>;
66354d7675SEmmanuel Vadot            regulator-max-microvolt = <7300000>;
67354d7675SEmmanuel Vadot            regulator-boot-on;
68354d7675SEmmanuel Vadot          };
69354d7675SEmmanuel Vadot          navdd {
70354d7675SEmmanuel Vadot            regulator-name = "rtq6752-navdd";
71354d7675SEmmanuel Vadot            regulator-min-microvolt = <5000000>;
72354d7675SEmmanuel Vadot            regulator-max-microvolt = <7300000>;
73354d7675SEmmanuel Vadot            regulator-boot-on;
74354d7675SEmmanuel Vadot          };
75354d7675SEmmanuel Vadot        };
76354d7675SEmmanuel Vadot      };
77354d7675SEmmanuel Vadot    };
78