From: Tim Harvey Date: Tue, 21 Mar 2017 14:50:13 +0000 (-0700) Subject: imx: ventana: fix GW5903 VDD_ARM rail X-Git-Tag: v2025.01-rc5-pxa1908~7180^2~16 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=d576d6f31c2145b1d2eeafe6326db690cc03f289;p=u-boot.git imx: ventana: fix GW5903 VDD_ARM rail Signed-off-by: Tim Harvey --- diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c index ec04060468..56a7b3e7fd 100644 --- a/board/gateworks/gw_ventana/common.c +++ b/board/gateworks/gw_ventana/common.c @@ -1325,6 +1325,12 @@ void setup_pmic(void) pmic_reg_write(p, LTC3676_DVB3A, 0x1f); break; case GW5903: + /* mask PGOOD during SW1 transition */ + pmic_reg_write(p, LTC3676_DVB3B, + 0x1f | LTC3676_PGOOD_MASK); + /* set SW3 (VDD_ARM) */ + pmic_reg_write(p, LTC3676_DVB3A, 0x1f); + /* mask PGOOD during SW4 transition */ pmic_reg_write(p, LTC3676_DVB4B, 0x1f | LTC3676_PGOOD_MASK);