]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00220512-1: mx6sl evk: change wm8962 codec 1.8V power source to VGEN3
authorGary Zhang <b13634@freescale.com>
Thu, 16 Aug 2012 06:25:39 +0000 (14:25 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:14 +0000 (08:35 +0200)
Adjust pfuse settings for wm8962

Signed-off-by: Gary Zhang <b13634@freescale.com>
arch/arm/mach-mx6/mx6sl_evk_pmic_pfuze100.c

index 7a74b1f34fd68c4dd4b001e38baed6267dd6a076..1ed3ebcdf7e0925c3232682c2fd3c4f5c46b6136 100644 (file)
@@ -80,12 +80,7 @@ static struct regulator_consumer_supply sw2_consumers[] = {
        {
                .supply         = "MICVDD",
                .dev_name       = "1-001a",
-       },
-       {
-               .supply         = "DBVDD",
-               .dev_name       = "1-001a",
        }
-
 };
 static struct regulator_consumer_supply sw4_consumers[] = {
        {
@@ -107,7 +102,7 @@ static struct regulator_consumer_supply vgen2_consumers[] = {
        .supply = "VGEN2_1V5",
        }
 };
-static struct regulator_consumer_supply vgen4_consumers[] = {
+static struct regulator_consumer_supply vgen3_consumers[] = {
        {
                .supply    = "AVDD",
                .dev_name       = "1-001a",
@@ -123,6 +118,15 @@ static struct regulator_consumer_supply vgen4_consumers[] = {
        {
                .supply    = "PLLVDD",
                .dev_name       = "1-001a",
+       },
+       {
+               .supply         = "DBVDD",
+               .dev_name       = "1-001a",
+       }
+};
+static struct regulator_consumer_supply vgen4_consumers[] = {
+       {
+       .supply = "VGEN4_1V58",
        }
 };
 static struct regulator_consumer_supply vgen5_consumers[] = {
@@ -335,6 +339,8 @@ static struct regulator_init_data vgen3_init = {
                        .always_on = 0,
                        .boot_on = 0,
                        },
+       .num_consumer_supplies = ARRAY_SIZE(vgen3_consumers),
+       .consumer_supplies = vgen3_consumers,
 };
 
 static struct regulator_init_data vgen4_init = {