1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/regulator/richtek,rt4801-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT4801 Display Bias regulators
10 - ChiYuan Huang <cy_huang@richtek.com>
13 Regulator nodes should be named to DSVP and DSVN. The
14 definition for each of these nodes is defined using the standard
15 binding for regulators at
16 Documentation/devicetree/bindings/regulator/regulator.txt.
17 Datasheet is available at
18 https://www.richtek.com/assets/product_file/RT4801H/DS4801H-00.pdf
20 #The valid names for RT4801 regulator nodes are:
32 description: GPIOs to use to enable DSVP/DSVN regulator.
33 The first one is ENP to enable DSVP, and second one is ENM to enable DSVN.
34 Number of GPIO in the array list could be 1 or 2.
35 If only one gpio is specified, only one gpio used to control ENP/ENM.
36 Else both are spefied, DSVP/DSVN could be controlled individually.
37 Othersie, this property not specified. treat both as always-on regulator.
46 Properties for single display bias regulator.
52 additionalProperties: false
61 compatible = "richtek,rt4801";
63 enable-gpios = <&gpio26 2 0>, <&gpio26 3 0>;
66 regulator-name = "rt4801,dsvp";
67 regulator-min-microvolt = <4000000>;
68 regulator-max-microvolt = <6000000>;
72 regulator-name = "rt4801,dsvn";
73 regulator-min-microvolt = <4000000>;
74 regulator-max-microvolt = <6000000>;