hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/Documentation/devicetree/bindings/regulator/da9211.txt
....@@ -15,6 +15,8 @@
1515 Optional properties:
1616 - enable-gpios: platform gpio for control of BUCKA/BUCKB.
1717 - Any optional property defined in regulator.txt
18
+ - regulator-initial-mode and regulator-allowed-modes may be specified using
19
+ mode values from dt-bindings/regulator/dlg,da9211-regulator.h
1820
1921 Example 1) DA9211
2022 pmic: da9211@68 {
....@@ -30,6 +32,8 @@
3032 regulator-min-microamp = <2000000>;
3133 regulator-max-microamp = <5000000>;
3234 enable-gpios = <&gpio 27 0>;
35
+ regulator-allowed-modes = <DA9211_BUCK_MODE_SYNC
36
+ DA9211_BUCK_MODE_AUTO>;
3337 };
3438 };
3539 };