diff options
author | Anand K Mistry <amistry@google.com> | 2020-07-02 06:15:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-02 18:20:59 +0300 |
commit | 650e5adae0197bb9ecaa48b98b8ada1cc6772fb0 (patch) | |
tree | 0e05c39cfe2a17195a7559d83b46a2ac72b65b8b | |
parent | 6f1f1a8039e5f7a61e932d6a9a50708c56e21033 (diff) | |
download | linux-650e5adae0197bb9ecaa48b98b8ada1cc6772fb0.tar.xz |
regulator: da9211: Document allowed modes
This patch adds a description of how operating modes may be specified.
Signed-off-by: Anand K Mistry <amistry@google.com>
Link: https://lore.kernel.org/r/20200702131350.2.I6131e251d13f60d8c5347bb4faa9dc2364c87848@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/regulator/da9211.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/da9211.txt b/Documentation/devicetree/bindings/regulator/da9211.txt index 27717e816e71..eb871447d508 100644 --- a/Documentation/devicetree/bindings/regulator/da9211.txt +++ b/Documentation/devicetree/bindings/regulator/da9211.txt @@ -15,6 +15,8 @@ Required properties: Optional properties: - enable-gpios: platform gpio for control of BUCKA/BUCKB. - Any optional property defined in regulator.txt + - regulator-initial-mode and regulator-allowed-modes may be specified using + mode values from dt-bindings/regulator/dlg,da9211-regulator.h Example 1) DA9211 pmic: da9211@68 { @@ -30,6 +32,8 @@ Example 1) DA9211 regulator-min-microamp = <2000000>; regulator-max-microamp = <5000000>; enable-gpios = <&gpio 27 0>; + regulator-allowed-modes = <DA9211_BUCK_MODE_SYNC + DA9211_BUCK_MODE_AUTO>; }; }; }; |