fix : ddr and logic voltage control opposite for v86
authorwuhao <wuhao@wuhao@rock-chips.com>
Tue, 6 Nov 2012 07:34:19 +0000 (15:34 +0800)
committerwuhao <wuhao@wuhao@rock-chips.com>
Tue, 6 Nov 2012 07:34:19 +0000 (15:34 +0800)
arch/arm/mach-rk2928/board-rk2926-sdk.c
arch/arm/mach-rk2928/board-rk2928-sdk-tps65910.c

index bb25326eff88c1d5897c89213ad089164ae0ba41..6eaaa1b9dfa6f57fe2bdc46c0855524c4b56788e 100755 (executable)
@@ -862,7 +862,11 @@ static struct pmu_info  tps65910_dcdc_info[] = {
                .max_uv         = 1200000,
        },
        {
+             #if defined(V86_VERSION_1_1)
+             .name          = "vdd_core",    //ddr
+             #else
                .name          = "vdd2",    //ddr
+               #endif
                .min_uv          = 1200000,
                .max_uv         = 1200000,
        },
index 495f013c9609795016302312d1641b4c846bd514..b6987eb5a0a02769f83cbbb019f227dfb3b7cc80 100755 (executable)
@@ -301,6 +301,11 @@ static struct regulator_consumer_supply tps65910_smps2_supply[] = {
        {
                .supply = "vdd2",
        },
+       #if defined(CONFIG_MACH_RK2926_V86)
+       {
+               .supply = "vdd_core",
+       },
+      #endif
        
 };
 static struct regulator_consumer_supply tps65910_smps3_supply[] = {