From: Grazvydas Ignotas Date: Tue, 5 Jul 2016 23:44:32 +0000 (+0300) Subject: twl4030: enable vmmc for the right slot X-Git-Tag: sz_175^0 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e0c3f4c7ce794029e10cea3c756eca6fca92570;p=pandora-u-boot.git twl4030: enable vmmc for the right slot --- diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c index e7d5f132b2b..984e6089299 100644 --- a/drivers/power/twl4030.c +++ b/drivers/power/twl4030.c @@ -112,4 +112,9 @@ void twl4030_power_mmc_init(void) TWL4030_PM_RECEIVER_VMMC1_VSEL_32, TWL4030_PM_RECEIVER_VMMC1_DEV_GRP, TWL4030_PM_RECEIVER_DEV_GRP_P1); + /* Set VMMC2 to 3.15 Volts */ + twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VMMC2_DEDICATED, + TWL4030_PM_RECEIVER_VMMC2_VSEL_32, + TWL4030_PM_RECEIVER_VMMC2_DEV_GRP, + TWL4030_PM_RECEIVER_DEV_GRP_P1); } diff --git a/include/twl4030.h b/include/twl4030.h index 5aa184183e7..bb54dfc6d33 100644 --- a/include/twl4030.h +++ b/include/twl4030.h @@ -408,6 +408,7 @@ #define TWL4030_PM_RECEIVER_VDAC_VSEL_18 0x03 #define TWL4030_PM_RECEIVER_VMMC1_VSEL_30 0x02 #define TWL4030_PM_RECEIVER_VMMC1_VSEL_32 0x03 +#define TWL4030_PM_RECEIVER_VMMC2_VSEL_32 0x0c #define TWL4030_PM_RECEIVER_VSIM_VSEL_18 0x03 /* Device Selection in PM Receiver Module */