From bcd83568bc77631b6db33f33f7864aa8ec978262 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BC=A0=E6=99=B4?= Date: Wed, 27 Feb 2013 11:21:34 +0800 Subject: [PATCH] rk3168:set defult voltage for new 86v hardware --- arch/arm/mach-rk30/board-pmu-tps65910.c | 6 +++++- arch/arm/mach-rk30/board-rk3168-86v.c | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-rk30/board-pmu-tps65910.c b/arch/arm/mach-rk30/board-pmu-tps65910.c index 752c7da9c459..75c1510bf450 100755 --- a/arch/arm/mach-rk30/board-pmu-tps65910.c +++ b/arch/arm/mach-rk30/board-pmu-tps65910.c @@ -319,7 +319,11 @@ static struct regulator_consumer_supply tps65910_smps2_supply[] = { { .supply = "vdd2", }, - + #if defined(CONFIG_MACH_RK3168_86V) + { + .supply = "vdd_cpu", + }, + #endif }; static struct regulator_consumer_supply tps65910_smps3_supply[] = { { diff --git a/arch/arm/mach-rk30/board-rk3168-86v.c b/arch/arm/mach-rk30/board-rk3168-86v.c index a361ece3e17c..4ba8859dc8ff 100755 --- a/arch/arm/mach-rk30/board-rk3168-86v.c +++ b/arch/arm/mach-rk30/board-rk3168-86v.c @@ -1484,9 +1484,9 @@ static struct pmu_info tps65910_dcdc_info[] = { .max_uv = 1100000, }, { - .name = "vdd2", //ddr - .min_uv = 1200000, - .max_uv = 1200000, + .name = "vdd_cpu", //arm + .min_uv = 1100000, + .max_uv = 1100000, }, { .name = "vio", //vcc_io @@ -1496,20 +1496,20 @@ static struct pmu_info tps65910_dcdc_info[] = { }; static struct pmu_info tps65910_ldo_info[] = { - { +/* { .name = "vpll", //vdd10 .min_uv = 1000000, .max_uv = 1000000, - }, + },*/ { .name = "vdig1", //vcc18_cif .min_uv = 1800000, .max_uv = 1800000, }, { - .name = "vdig2", //vdd_jetta - .min_uv = 1200000, - .max_uv = 1200000, + .name = "vdig2", //vdd11 + .min_uv = 1000000, + .max_uv = 1000000, }, { .name = "vaux1", //vcc28_cif @@ -1517,7 +1517,7 @@ static struct pmu_info tps65910_ldo_info[] = { .max_uv = 2800000, }, { - .name = "vaux2", //vcca33 + .name = "vaux2", //vcc33 .min_uv = 3300000, .max_uv = 3300000, }, @@ -1527,7 +1527,7 @@ static struct pmu_info tps65910_ldo_info[] = { .max_uv = 3300000, }, { - .name = "vmmc", //vcc30 + .name = "vmmc", //vcca30 .min_uv = 3000000, .max_uv = 3000000, }, -- 2.34.1