Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6dl-yapp4: Do not allow PM to switch PU regulator off on Q/QP

Fix our design flaw in supply voltage distribution on the Quad and QuadPlus
based boards.

The problem is that we supply the SoC cache (VDD_CACHE_CAP) from VDD_PU
instead of VDD_SOC. The VDD_PU internal regulator can be disabled by PM
if VPU or GPU is not used. If that happens the system freezes. To prevent
that configure the reg_pu regulator to be always on.

Fixes: 0de4ab81ab26 ("ARM: dts: imx6dl-yapp4: Add Y Soft IOTA Crux/Crux+ board")
Cc: petrben@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Petr Benes <petr.benes@ysoft.com>
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Petr Benes and committed by
Shawn Guo
5e67d47d bb5ad739

+8
+4
arch/arm/boot/dts/imx6q-yapp4-crux.dts
··· 33 33 status = "okay"; 34 34 }; 35 35 36 + &reg_pu { 37 + regulator-always-on; 38 + }; 39 + 36 40 &reg_usb_h1_vbus { 37 41 status = "okay"; 38 42 };
+4
arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts
··· 33 33 status = "okay"; 34 34 }; 35 35 36 + &reg_pu { 37 + regulator-always-on; 38 + }; 39 + 36 40 &reg_usb_h1_vbus { 37 41 status = "okay"; 38 42 };