summaryrefslogtreecommitdiff
path: root/board/gateworks
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2021-06-11 12:46:24 -0700
committerStefano Babic <sbabic@denx.de>2021-07-10 16:53:33 +0200
commit0545b17b695e03ad5ea7bd9736b9cdfc49530af5 (patch)
tree8e2ad24f80baae651a1e198978ca75d92611a8a7 /board/gateworks
parent722d22813e1b79231451059a823d777e2c0867e7 (diff)
downloadu-boot-0545b17b695e03ad5ea7bd9736b9cdfc49530af5.tar.gz
u-boot-0545b17b695e03ad5ea7bd9736b9cdfc49530af5.tar.bz2
u-boot-0545b17b695e03ad5ea7bd9736b9cdfc49530af5.zip
imx: ventana: put LTC3676 regulators in continuous mode
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>
Diffstat (limited to 'board/gateworks')
-rw-r--r--board/gateworks/gw_ventana/common.c6
1 files changed, 6 insertions, 0 deletions
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);
}
}