diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-02-27 19:19:03 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 15:12:50 -0400 |
commit | 0343f71f0901c87ac38b274eb303d18b70c1e3e9 (patch) | |
tree | 1ddcfffa72477cb915abfe17bcc36b2635d48c64 /drivers/power | |
parent | 6e495a453f2d59aa1ca92d1177957bfe5012bec0 (diff) | |
download | u-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 'drivers/power')
-rw-r--r-- | drivers/power/twl6030.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/power/twl6030.c b/drivers/power/twl6030.c index 7ed9129..df43cca 100644 --- a/drivers/power/twl6030.c +++ b/drivers/power/twl6030.c @@ -248,6 +248,10 @@ void twl6030_usb_device_settings() { u8 value = 0; + /* 3.3V voltage output for VUSB */ + twl6030_i2c_write_u8(TWL6030_CHIP_PM, TWL6030_VUSB_CFG_VOLTAGE, + TWL6030_CFG_VOLTAGE_33); + /* Enable P1 output for VUSB */ twl6030_i2c_write_u8(TWL6030_CHIP_PM, TWL6030_VUSB_CFG_STATE, TWL6030_CFG_STATE_P1 | TWL6030_CFG_STATE_ON); |