xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/richtek,rtq6752-regulator.yaml (revision 350b7c3570aa6c87c537e54f706f1866f93a4142)
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        description: |
39          regulator description for pavdd and navdd.
40
41    additionalProperties: false
42
43required:
44  - compatible
45  - reg
46  - regulators
47
48additionalProperties: false
49
50examples:
51  - |
52    i2c {
53      #address-cells = <1>;
54      #size-cells = <0>;
55
56      rtq6752@6b {
57        compatible = "richtek,rtq6752";
58        reg = <0x6b>;
59        enable-gpios = <&gpio26 2 0>;
60
61        regulators {
62          pavdd {
63            regulator-name = "rtq6752-pavdd";
64            regulator-min-microvolt = <5000000>;
65            regulator-max-microvolt = <7300000>;
66            regulator-boot-on;
67          };
68          navdd {
69            regulator-name = "rtq6752-navdd";
70            regulator-min-microvolt = <5000000>;
71            regulator-max-microvolt = <7300000>;
72            regulator-boot-on;
73          };
74        };
75      };
76    };
77