[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1714385807-22393-2-git-send-email-alina_yu@richtek.com>
Date: Mon, 29 Apr 2024 18:16:46 +0800
From: Alina Yu <alina_yu@...htek.com>
To: <lgirdwood@...il.com>, <broonie@...nel.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<alina_yu@...htek.com>, <johnny_lai@...htek.com>, <cy_huang@...htek.com>
Subject: [PATCH 1/2] regulator: dt-bindings: rtq2208: Add property to get ldo of RTQ2208 is adjustable or not
Since there is no way to check is ldo is adjustable or not.
'richtek,use-fix-dvs' is added for that. user is supposed to know whether vout of ldo is adjustable.
Signed-off-by: Alina Yu <alina_yu@...htek.com>
---
.../devicetree/bindings/regulator/richtek,rtq2208.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml
index 609c066..3951679 100644
--- a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml
+++ b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml
@@ -75,6 +75,14 @@ properties:
description:
regulator description for ldo[1-2].
+ properties:
+ richtek,use-fix-dvs:
+ type: boolean
+ description: |
+ ldo vout ability is determined by this setting. If it's set, the voltage is unadjustable.
+ There is no risk-free method for software to determine whether the ldo vout is fixed or not.
+ Therefore, it can only be done in this way.
+
required:
- compatible
- reg
@@ -180,6 +188,7 @@ examples:
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
+ richtek,use-fix-dvs;
regulator-state-mem {
regulator-on-in-suspend;
};
@@ -188,6 +197,7 @@ examples:
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
+ richtek,use-fix-dvs;
regulator-state-mem {
regulator-on-in-suspend;
};
--
2.7.4
Powered by blists - more mailing lists