public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tim Harvey <tharvey@gateworks.com>
To: Stefano Babic <sbabic@denx.de>,
	Fabio Estevam <festevam@gmail.com>,
	"NXP i . MX U-Boot Team" <uboot-imx@nxp.com>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	Tim Harvey <tharvey@gateworks.com>
Subject: [PATCH 07/11] imx: ventana: put LTC3676 regulators in continuous mode
Date: Fri, 11 Jun 2021 12:46:24 -0700	[thread overview]
Message-ID: <20210611194628.5572-7-tharvey@gateworks.com> (raw)
In-Reply-To: <20210611194628.5572-1-tharvey@gateworks.com>

In the default pulse-skipping mode regulators that are very lightly
loaded can fail to regulate properly. Switching them to always use
continuous mode causes only around 10mW of overall system power
difference in a lightly loaded system that isn't already operating
them in continuous mode.

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 b5a0162c5e..adbc6791b3 100644
--- a/board/gateworks/gw_ventana/common.c
+++ b/board/gateworks/gw_ventana/common.c
@@ -1688,6 +1688,12 @@ void setup_pmic(void)
 			/* set SW3 (VDD_ARM) */
 			pmic_reg_write(p, LTC3676_DVB3A, 0x1f);
 		}
+
+		/* put all switchers in continuous mode */
+		pmic_reg_write(p, LTC3676_BUCK1, 0xc0);
+		pmic_reg_write(p, LTC3676_BUCK2, 0xc0);
+		pmic_reg_write(p, LTC3676_BUCK3, 0xc0);
+		pmic_reg_write(p, LTC3676_BUCK4, 0xc0);
 	}
 }
 
-- 
2.17.1


  parent reply	other threads:[~2021-06-11 19:47 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11 19:46 [PATCH 01/11] imx: ventana: remove USB_KEYBOARD support Tim Harvey
2021-06-11 19:46 ` [PATCH 02/11] imx: ventana: remove unneeded includes Tim Harvey
2021-07-10 15:52   ` sbabic
2021-07-10 19:35   ` sbabic
2021-06-11 19:46 ` [PATCH 03/11] imx: ventana: increase SYS_BOOTM_LEN Tim Harvey
2021-07-10 15:53   ` sbabic
2021-07-10 19:36   ` sbabic
2021-06-11 19:46 ` [PATCH 04/11] imx: ventana: add legacy uboot image support Tim Harvey
2021-07-10 15:53   ` sbabic
2021-07-10 19:36   ` sbabic
2021-06-11 19:46 ` [PATCH 05/11] imx: ventana: add PMIC fix for GW54xx-G Tim Harvey
2021-07-10 15:53   ` sbabic
2021-07-10 19:36   ` sbabic
2021-06-11 19:46 ` [PATCH 06/11] imx: ventana: put PFUZ100 regulators in continuous mode Tim Harvey
2021-07-10 15:53   ` sbabic
2021-07-10 19:36   ` sbabic
2021-06-11 19:46 ` Tim Harvey [this message]
2021-07-10 15:54   ` [PATCH 07/11] imx: ventana: put LTC3676 " sbabic
2021-07-10 19:37   ` sbabic
2021-06-11 19:46 ` [PATCH 08/11] imx: ventana: add DP83867 PHY LED configuration Tim Harvey
2021-07-10 15:52   ` sbabic
2021-07-10 19:34   ` sbabic
2021-06-11 19:46 ` [PATCH 09/11] imx: ventana: display neteowrk PHY Tim Harvey
2021-07-10 15:52   ` sbabic
2021-07-10 19:34   ` sbabic
2021-06-11 19:46 ` [PATCH 10/11] imx: ventana: add support for DLC0700XDP21LF LCD display Tim Harvey
2021-07-10 15:52   ` sbabic
2021-07-10 19:35   ` sbabic
2021-06-11 19:46 ` [PATCH 11/11] imx: ventana: display 'none' for MMC if board does not have it Tim Harvey
2021-07-10 15:54   ` sbabic
2021-07-10 19:37   ` sbabic
2021-07-10 15:53 ` [PATCH 01/11] imx: ventana: remove USB_KEYBOARD support sbabic
2021-07-10 19:35 ` sbabic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210611194628.5572-7-tharvey@gateworks.com \
    --to=tharvey@gateworks.com \
    --cc=festevam@gmail.com \
    --cc=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox