Skip to content

Commit 892943d

Browse files
cniedermaierShawn Guo
authored andcommitted
ARM: dts: imx6ull-dhcor: Set and limit the mode for PMIC buck 1, 2 and 3
According to Renesas Electronics (formerly Dialog Semiconductor), the standard AUTO mode of the PMIC DA9061 can lead to stability problems depending on the hardware revision. It is recommended to set a defined mode such as PFM or PWM permanently. So set and limit the mode for buck 1, 2 and 3 to a fixed one. Fixes: 611b6c8 ("ARM: dts: imx6ull-dhcom: Add DH electronics DHCOM i.MX6ULL SoM and PDK2 board") Signed-off-by: Christoph Niedermaier <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent f161cea commit 892943d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/arm/boot/dts/imx6ull-dhcor-som.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <dt-bindings/input/input.h>
99
#include <dt-bindings/leds/common.h>
1010
#include <dt-bindings/pwm/pwm.h>
11+
#include <dt-bindings/regulator/dlg,da9063-regulator.h>
1112
#include "imx6ull.dtsi"
1213

1314
/ {
@@ -84,16 +85,20 @@
8485

8586
regulators {
8687
vdd_soc_in_1v4: buck1 {
88+
regulator-allowed-modes = <DA9063_BUCK_MODE_SLEEP>; /* PFM */
8789
regulator-always-on;
8890
regulator-boot-on;
91+
regulator-initial-mode = <DA9063_BUCK_MODE_SLEEP>;
8992
regulator-max-microvolt = <1400000>;
9093
regulator-min-microvolt = <1400000>;
9194
regulator-name = "vdd_soc_in_1v4";
9295
};
9396

9497
vcc_3v3: buck2 {
98+
regulator-allowed-modes = <DA9063_BUCK_MODE_SYNC>; /* PWM */
9599
regulator-always-on;
96100
regulator-boot-on;
101+
regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
97102
regulator-max-microvolt = <3300000>;
98103
regulator-min-microvolt = <3300000>;
99104
regulator-name = "vcc_3v3";
@@ -106,8 +111,10 @@
106111
* the voltage is set to 1.5V.
107112
*/
108113
vcc_ddr_1v35: buck3 {
114+
regulator-allowed-modes = <DA9063_BUCK_MODE_SYNC>; /* PWM */
109115
regulator-always-on;
110116
regulator-boot-on;
117+
regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
111118
regulator-max-microvolt = <1500000>;
112119
regulator-min-microvolt = <1500000>;
113120
regulator-name = "vcc_ddr_1v35";

0 commit comments

Comments
 (0)