Skip to contentSkip to conversation

imx: ventana: fix GW5903 VDD_ARM rail

PATCH New Tim Harvey 2 participants 2 messages Mar 21, 2017 – Mar 26, 2017

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 imx: ventana: fix GW5903 VDD_ARM rail

---
 board/gateworks/gw_ventana/common.c | 6 ++++++
 1 file changed, 6 insertions(+)
board/gateworks/gw_ventana/common.c +6 -0
index ec04060..56a7b3e 100644
@@ -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);
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 imx: ventana: fix GW5903 VDD_ARM rail

Quoted 13 lines · Tim Harvey
---
 board/gateworks/gw_ventana/common.c | 6 ++++++
 1 file changed, 6 insertions(+)
board/gateworks/gw_ventana/common.c +0 -0
index ec04060..56a7b3e 100644
@@ -1325,6 +1325,12 @@ void setup_pmic(void)
 			pmic_reg_write(p, LTC3676_DVB3A, 0x1f);
 			break;

board/gateworks/gw_ventana/common.c void setup_pmic(void) · line 1336

Quoted 10 lines
board/gateworks/gw_ventana/common.c +6 -0
 		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);

Applied to -master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================