1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/regulator/fixed-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Fixed Voltage regulators
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 Any property defined as part of the core regulator binding, defined in
15 regulator.yaml, can also be used. However a fixed voltage regulator is
16 expected to have the regulator-min-microvolt and regulator-max-microvolt
20 - $ref: "regulator.yaml#"
26 const: regulator-fixed-clock
34 const: regulator-fixed-domain
43 - regulator-fixed-clock
44 - regulator-fixed-domain
49 description: gpio to use for enable control
54 clock to use for enable control. This binding is only available if
55 the compatible is chosen to regulator-fixed-clock. The clock binding
56 is mandatory if compatible is chosen to regulator-fixed-clock.
61 Power domain to use for enable control. This binding is only
62 available if the compatible is chosen to regulator-fixed-domain.
67 Performance state to use for enable control. This binding is only
68 available if the compatible is chosen to regulator-fixed-domain. The
69 power-domain binding is mandatory if compatible is chosen to
70 regulator-fixed-domain.
74 description: startup time in microseconds
75 $ref: /schemas/types.yaml#/definitions/uint32
78 description: off delay time in microseconds
79 $ref: /schemas/types.yaml#/definitions/uint32
83 Polarity of GPIO is Active high. If this property is missing,
84 the default assumed is Active low.
89 GPIO is open drain type. If this property is missing then default
94 description: Input supply phandle.
100 unevaluatedProperties: false
104 reg_1v8: regulator-1v8 {
105 compatible = "regulator-fixed";
106 regulator-name = "1v8";
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <1800000>;
109 gpio = <&gpio1 16 0>;
110 startup-delay-us = <70000>;
114 vin-supply = <&parent_reg>;
116 reg_1v8_clk: regulator-1v8-clk {
117 compatible = "regulator-fixed-clock";
118 regulator-name = "1v8";
119 regulator-min-microvolt = <1800000>;
120 regulator-max-microvolt = <1800000>;
122 startup-delay-us = <70000>;
125 vin-supply = <&parent_reg>;
127 reg_1v8_domain: regulator-1v8-domain {
128 compatible = "regulator-fixed-domain";
129 regulator-name = "1v8";
130 regulator-min-microvolt = <1800000>;
131 regulator-max-microvolt = <1800000>;
132 power-domains = <&domain1>;
133 required-opps = <&domain1_state1>;
134 startup-delay-us = <70000>;
137 vin-supply = <&parent_reg>;