]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx: vining2000: Align SOC and ARM LDO voltages
authorMarek Vasut <marex@denx.de>
Tue, 26 Nov 2019 08:39:13 +0000 (09:39 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 6 Dec 2019 12:57:42 +0000 (13:57 +0100)
The board has both VDD_SOC_IN and VDD_ARM_IN rails connected to the same
PMIC rail, align the LDO voltages to avoid leaking inside the MX6SX SoC.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Silvio Fricke <silvio.fricke@softing.com>
Cc: Stefano Babic <sbabic@denx.de>
board/softing/vining_2000/vining_2000.c

index fe47c365a12cc29594910dab2151d2f9eda807a5..ef914b13a1a9130ed126759bffc645e505bee9ab 100644 (file)
@@ -226,6 +226,9 @@ int power_init_board(void)
        if (ret < 0)
                return ret;
 
+       set_ldo_voltage(LDO_ARM, 1175); /* Set VDDARM to 1.175V */
+       set_ldo_voltage(LDO_SOC, 1175); /* Set VDDSOC to 1.175V */
+
        return 0;
 }