Skip to content

Commit 83964a2

Browse files
eichenbergerShawn Guo
authored andcommitted
ARM: dts: imx6qdl-apalis: Fix poweroff on Apalis iMX6
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]>
1 parent 38f59e0 commit 83964a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@
108108
};
109109
};
110110

111+
poweroff {
112+
compatible = "regulator-poweroff";
113+
cpu-supply = <&vgen2_reg>;
114+
};
115+
111116
reg_module_3v3: regulator-module-3v3 {
112117
compatible = "regulator-fixed";
113118
regulator-always-on;
@@ -236,10 +241,6 @@
236241
status = "disabled";
237242
};
238243

239-
&clks {
240-
fsl,pmic-stby-poweroff;
241-
};
242-
243244
/* Apalis SPI1 */
244245
&ecspi1 {
245246
cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
@@ -527,7 +528,6 @@
527528

528529
pmic: pmic@8 {
529530
compatible = "fsl,pfuze100";
530-
fsl,pmic-stby-poweroff;
531531
reg = <0x08>;
532532

533533
regulators {

0 commit comments

Comments
 (0)