Skip to content

Commit 3348749

Browse files
Alina Yubroonie
authored andcommitted
regulator: dt-bindings: rtq2208: Add specified fixed LDO VOUT property
As the fixed voltage for the LDO is outside the range of the adjustable voltage mode, the constraints for this scenario are not suitable to represent both modes. Therefore, A property is added to specify the fixed LDO VOUT. Examples of fixed LDO VOUT and adjustable LDO VOUT is also added to this version. Signed-off-by: Alina Yu <alina_yu@richtek.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://msgid.link/r/c6cb218f6338291525a29ed89a88a42c175127ad.1716870419.git.alina_yu@richtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent af1296d commit 3348749

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ properties:
7575
description:
7676
regulator description for ldo[1-2].
7777

78+
properties:
79+
richtek,fixed-microvolt:
80+
description: |
81+
This property can be used to set a fixed operating voltage that lies outside
82+
the range of the regulator's adjustable mode.
83+
7884
required:
7985
- compatible
8086
- reg
@@ -177,6 +183,8 @@ examples:
177183
};
178184
};
179185
ldo1 {
186+
/* Fixed LDO VOUT */
187+
richtek,fixed-microvolt = <1200000>;
180188
regulator-min-microvolt = <1200000>;
181189
regulator-max-microvolt = <1200000>;
182190
regulator-always-on;
@@ -185,7 +193,8 @@ examples:
185193
};
186194
};
187195
ldo2 {
188-
regulator-min-microvolt = <3300000>;
196+
/* Adjustable LDO VOUT */
197+
regulator-min-microvolt = <1800000>;
189198
regulator-max-microvolt = <3300000>;
190199
regulator-always-on;
191200
regulator-state-mem {

0 commit comments

Comments
 (0)