]> git.sur5r.net Git - u-boot/commitdiff
imx: ventana: fix GW5903 VDD_ARM rail
authorTim Harvey <tharvey@gateworks.com>
Tue, 21 Mar 2017 14:50:13 +0000 (07:50 -0700)
committerStefano Babic <sbabic@denx.de>
Sun, 26 Mar 2017 09:05:39 +0000 (11:05 +0200)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/common.c

index ec040604684e9d26ab801fd6892638a5914f606c..56a7b3e7fd482b6a65f865a0ad8120287ee79169 100644 (file)
@@ -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);