1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/richtek,rtq6752-regulator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Richtek RTQ6752 TFT LCD Voltage Regulator
8
9maintainers:
10  - ChiYuan Huang <cy_huang@richtek.com>
11
12description: |
13  The RTQ6752 is an I2C interface pgorammable power management IC. It includes
14  two synchronous boost converter for PAVDD, and one synchronous NAVDD
15  buck-boost. The device is suitable for automotive TFT-LCD panel.
16
17properties:
18  compatible:
19    enum:
20      - richtek,rtq6752
21
22  reg:
23    maxItems: 1
24
25  enable-gpios:
26    description: |
27      A connection of the chip 'enable' gpio line. If not provided, treat it as
28      external pull up.
29    maxItems: 1
30
31  regulators:
32    type: object
33
34    patternProperties:
35      "^(p|n)avdd$":
36        type: object
37        $ref: regulator.yaml#
38        unevaluatedProperties: false
39        description: |
40          regulator description for pavdd and navdd.
41
42    additionalProperties: false
43
44required:
45  - compatible
46  - reg
47  - regulators
48
49additionalProperties: false
50
51examples:
52  - |
53    i2c {
54      #address-cells = <1>;
55      #size-cells = <0>;
56
57      rtq6752@6b {
58        compatible = "richtek,rtq6752";
59        reg = <0x6b>;
60        enable-gpios = <&gpio26 2 0>;
61
62        regulators {
63          pavdd {
64            regulator-name = "rtq6752-pavdd";
65            regulator-min-microvolt = <5000000>;
66            regulator-max-microvolt = <7300000>;
67            regulator-boot-on;
68          };
69          navdd {
70            regulator-name = "rtq6752-navdd";
71            regulator-min-microvolt = <5000000>;
72            regulator-max-microvolt = <7300000>;
73            regulator-boot-on;
74          };
75        };
76      };
77    };
78