Skip to content

Commit f6c086a

Browse files
eichenbergergregkh
authored andcommitted
ARM: dts: imx6qdl-apalis: Fix poweroff on Apalis iMX6
commit 83964a29379cb08929a39172780a4c2992bc7c93 upstream. The current solution for powering off the Apalis iMX6 is not functioning as intended. To resolve this, it is necessary to power off the vgen2_reg, which will also set the POWER_ENABLE_MOCI signal to a low state. This ensures the carrier board is properly informed to initiate its power-off sequence. The new solution uses the regulator-poweroff driver, which will power off the regulator during a system shutdown. Cc: <[email protected]> Fixes: 4eb56e2 ("ARM: dts: imx6q-apalis: Command pmic to standby for poweroff") Signed-off-by: Stefan Eichenberger <[email protected]> Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Stefan Eichenberger <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 04d1086 commit f6c086a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/arm/boot/dts/imx6qdl-apalis.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@
101101
};
102102
};
103103

104+
poweroff {
105+
compatible = "regulator-poweroff";
106+
cpu-supply = <&vgen2_reg>;
107+
};
108+
104109
reg_module_3v3: regulator-module-3v3 {
105110
compatible = "regulator-fixed";
106111
regulator-always-on;
@@ -220,10 +225,6 @@
220225
status = "disabled";
221226
};
222227

223-
&clks {
224-
fsl,pmic-stby-poweroff;
225-
};
226-
227228
/* Apalis SPI1 */
228229
&ecspi1 {
229230
cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
@@ -511,7 +512,6 @@
511512

512513
pmic: pmic@8 {
513514
compatible = "fsl,pfuze100";
514-
fsl,pmic-stby-poweroff;
515515
reg = <0x08>;
516516

517517
regulators {

0 commit comments

Comments
 (0)