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
29 description: GPIOs to use to enable DSVP/DSVN regulator.
30 The first one is ENP to enable DSVP, and second one is ENM to enable DSVN.
31 Number of GPIO in the array list could be 1 or 2.
32 If only one gpio is specified, only one gpio used to control ENP/ENM.
33 Else if both are specified, DSVP/DSVN could be controlled individually.
34 If this property not specified, treat both as always-on regulators.
36 Property is deprecated. Use enable-gpios in each regulator.
45 unevaluatedProperties: false
47 Properties for single display bias regulator.
52 GPIO to use to enable DSVP/DSVN regulator. One GPIO can be configured
53 for controlling both regulators. If this property not specified for
54 any regulator, treat both as always-on regulators.
61 additionalProperties: false
70 compatible = "richtek,rt4801";
74 regulator-name = "rt4801,dsvp";
75 regulator-min-microvolt = <4000000>;
76 regulator-max-microvolt = <6000000>;
78 enable-gpios = <&gpio26 2 0>;
81 regulator-name = "rt4801,dsvn";
82 regulator-min-microvolt = <4000000>;
83 regulator-max-microvolt = <6000000>;
85 enable-gpios = <&gpio26 3 0>;