Commit d9267ca1 authored by Christoph Fritz's avatar Christoph Fritz Committed by Shawn Guo

ARM: dts: phycore-imx6: set buck regulator modes explicitly

This patch sets initial buck regulator modes explicitly to a state this
hardware needs. So a wrong initial mode set by bootloader or pmic itself
does not interfere anymore.
Signed-off-by: default avatarChristoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 6bb1e09c
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/regulator/dlg,da9063-regulator.h>
/ { / {
aliases { aliases {
...@@ -109,6 +110,7 @@ vdd_arm: buck1 { ...@@ -109,6 +110,7 @@ vdd_arm: buck1 {
regulator-name = "vdd_arm"; regulator-name = "vdd_arm";
regulator-min-microvolt = <730000>; regulator-min-microvolt = <730000>;
regulator-max-microvolt = <1380000>; regulator-max-microvolt = <1380000>;
regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
regulator-always-on; regulator-always-on;
}; };
...@@ -116,6 +118,7 @@ vdd_soc: buck2 { ...@@ -116,6 +118,7 @@ vdd_soc: buck2 {
regulator-name = "vdd_soc"; regulator-name = "vdd_soc";
regulator-min-microvolt = <730000>; regulator-min-microvolt = <730000>;
regulator-max-microvolt = <1380000>; regulator-max-microvolt = <1380000>;
regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
regulator-always-on; regulator-always-on;
}; };
...@@ -123,6 +126,7 @@ vdd_ddr3_1p5: buck3 { ...@@ -123,6 +126,7 @@ vdd_ddr3_1p5: buck3 {
regulator-name = "vdd_ddr3"; regulator-name = "vdd_ddr3";
regulator-min-microvolt = <1500000>; regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>; regulator-max-microvolt = <1500000>;
regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
regulator-always-on; regulator-always-on;
}; };
...@@ -130,6 +134,7 @@ vdd_eth_1p2: buck4 { ...@@ -130,6 +134,7 @@ vdd_eth_1p2: buck4 {
regulator-name = "vdd_eth"; regulator-name = "vdd_eth";
regulator-min-microvolt = <1200000>; regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>; regulator-max-microvolt = <1200000>;
regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
regulator-always-on; regulator-always-on;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment