dt-bindings: mfd: da9062: describe buck modes
authorChristoph Fritz <chf.fritz@googlemail.com>
Wed, 13 Nov 2019 13:40:15 +0000 (14:40 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 15 Nov 2019 12:09:46 +0000 (12:09 +0000)
This patch adds DT description of da9062 buck regulator modes.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Link: https://lore.kernel.org/r/1573652416-9848-4-git-send-email-chf.fritz@googlemail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/mfd/da9062.txt

index edca653..bc4b59d 100644 (file)
@@ -66,6 +66,9 @@ Sub-nodes:
   details of individual regulator device can be found in:
   Documentation/devicetree/bindings/regulator/regulator.txt
 
+  regulator-initial-mode may be specified for buck regulators using mode values
+  from include/dt-bindings/regulator/dlg,da9063-regulator.h.
+
 - rtc : This node defines settings required for the Real-Time Clock associated
   with the DA9062. There are currently no entries in this binding, however
   compatible = "dlg,da9062-rtc" should be added if a node is created.
@@ -96,6 +99,7 @@ Example:
                                regulator-max-microvolt = <1570000>;
                                regulator-min-microamp = <500000>;
                                regulator-max-microamp = <2000000>;
+                               regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
                                regulator-boot-on;
                        };
                        DA9062_LDO1: ldo1 {