* [U-Boot] [PATCH] imx: ventana: fix GW5903 VDD_ARM rail
@ 2017-03-21 14:50 Tim Harvey
2017-03-26 9:09 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Tim Harvey @ 2017-03-21 14:50 UTC (permalink / raw)
To: u-boot
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
board/gateworks/gw_ventana/common.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c
index ec04060..56a7b3e 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);
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] imx: ventana: fix GW5903 VDD_ARM rail
2017-03-21 14:50 [U-Boot] [PATCH] imx: ventana: fix GW5903 VDD_ARM rail Tim Harvey
@ 2017-03-26 9:09 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2017-03-26 9:09 UTC (permalink / raw)
To: u-boot
On 21/03/2017 15:50, Tim Harvey wrote:
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> ---
> board/gateworks/gw_ventana/common.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c
> index ec04060..56a7b3e 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);
>
Applied to -master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-26 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-21 14:50 [U-Boot] [PATCH] imx: ventana: fix GW5903 VDD_ARM rail Tim Harvey
2017-03-26 9:09 ` Stefano Babic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.