summaryrefslogtreecommitdiff
path: root/include/twl6030.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-02-27 19:19:03 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 15:12:50 -0400
commit0343f71f0901c87ac38b274eb303d18b70c1e3e9 (patch)
tree1ddcfffa72477cb915abfe17bcc36b2635d48c64 /include/twl6030.h
parent6e495a453f2d59aa1ca92d1177957bfe5012bec0 (diff)
downloadu-boot-imx-0343f71f0901c87ac38b274eb303d18b70c1e3e9.zip
u-boot-imx-0343f71f0901c87ac38b274eb303d18b70c1e3e9.tar.gz
u-boot-imx-0343f71f0901c87ac38b274eb303d18b70c1e3e9.tar.bz2
power: twl6030: Configure VUSB voltage on USB device setup
This explicitly sets VUSB voltage to 3.3V when enabling USB. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include/twl6030.h')
-rw-r--r--include/twl6030.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/twl6030.h b/include/twl6030.h
index 04295c9..e68393c 100644
--- a/include/twl6030.h
+++ b/include/twl6030.h
@@ -32,6 +32,7 @@
#define TWL6030_VMMC_CFG_STATE 0x9A
#define TWL6030_VMMC_CFG_VOLTAGE 0x9B
#define TWL6030_VUSB_CFG_STATE 0xA2
+#define TWL6030_VUSB_CFG_VOLTAGE 0xA3
#define TWL6030_CFG_GRP_P1 (1 << 0)
#define TWL6030_CFG_STATE_ON (1 << 0)
@@ -39,6 +40,7 @@
#define TWL6030_CFG_VOLTAGE_18 0x09
#define TWL6030_CFG_VOLTAGE_28 0x13
#define TWL6030_CFG_VOLTAGE_30 0x15
+#define TWL6030_CFG_VOLTAGE_33 0x18
#define MISC1 0xE4
#define VAC_MEAS (1 << 2)