]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/gateworks/gw_ventana/common.c
imx: ventana: fix GW5903 VDD_ARM rail
[people/ms/u-boot.git] / 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);