From 5e30a0b902d7d1f741b11d7ba83cc5e326a207cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BC=A0=E6=99=B4?= Date: Mon, 22 Oct 2012 17:18:57 +0800 Subject: [PATCH] rk30:rk2926:support logic voltage adjusted to 0.95v --- arch/arm/mach-rk2928/board-rk2926-sdk.c | 4 ++-- arch/arm/mach-rk2928/board-rk2928-a720.c | 4 ++-- arch/arm/mach-rk2928/board-rk2928-phonepad.c | 4 ++-- arch/arm/mach-rk2928/board-rk2928-sdk.c | 4 ++-- arch/arm/mach-rk2928/board-rk2928-tb.c | 4 ++-- arch/arm/mach-rk2928/board-rk2928.c | 4 ++-- arch/arm/mach-rk30/board-rk30-phonepad.c | 4 ++-- arch/arm/mach-rk30/board-rk30-sdk.c | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-rk2928/board-rk2926-sdk.c b/arch/arm/mach-rk2928/board-rk2926-sdk.c index b4c2cfa7810d..d998bb2260b7 100755 --- a/arch/arm/mach-rk2928/board-rk2926-sdk.c +++ b/arch/arm/mach-rk2928/board-rk2926-sdk.c @@ -388,7 +388,7 @@ static struct sensor_platform_data mma7660_info = { #if CONFIG_RK30_PWM_REGULATOR static int pwm_voltage_map[] = { - 1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 + 950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 }; static struct regulator_consumer_supply pwm_dcdc1_consumers[] = { @@ -421,7 +421,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .pwm_iomux_gpio = GPIO0D_GPIO0D3, .pwm_voltage = 1200000, .suspend_voltage = 1050000, - .min_uV = 1000000, + .min_uV = 950000, .max_uV = 1400000, .coefficient = 455, //45.5% .pwm_voltage_map = pwm_voltage_map, diff --git a/arch/arm/mach-rk2928/board-rk2928-a720.c b/arch/arm/mach-rk2928/board-rk2928-a720.c index c670dafd8032..09a8672c3b15 100755 --- a/arch/arm/mach-rk2928/board-rk2928-a720.c +++ b/arch/arm/mach-rk2928/board-rk2928-a720.c @@ -409,7 +409,7 @@ static struct sensor_platform_data mma7660_info = { #if CONFIG_RK30_PWM_REGULATOR static int pwm_voltage_map[] = { - 1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 + 950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 }; static struct regulator_consumer_supply pwm_dcdc1_consumers[] = { @@ -450,7 +450,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { #endif .pwm_voltage = 1200000, .suspend_voltage = 1050000, - .min_uV = 1000000, + .min_uV = 950000, .max_uV = 1400000, .coefficient = 455, //45.5% .pwm_voltage_map = pwm_voltage_map, diff --git a/arch/arm/mach-rk2928/board-rk2928-phonepad.c b/arch/arm/mach-rk2928/board-rk2928-phonepad.c index 66dc02bead5e..d99b92da9639 100755 --- a/arch/arm/mach-rk2928/board-rk2928-phonepad.c +++ b/arch/arm/mach-rk2928/board-rk2928-phonepad.c @@ -520,7 +520,7 @@ static struct platform_device rk30_device_adc_battery = { #if CONFIG_RK30_PWM_REGULATOR const static int pwm_voltage_map[] = { - 1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 + 950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 }; static struct regulator_consumer_supply pwm_dcdc1_consumers[] = { @@ -553,7 +553,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .pwm_iomux_gpio = GPIO0D_GPIO0D4, .pwm_voltage = 1200000, .suspend_voltage = 1050000, - .min_uV = 1000000, + .min_uV = 950000, .max_uV = 1400000, .coefficient = 455, //45.5% .pwm_voltage_map = pwm_voltage_map, diff --git a/arch/arm/mach-rk2928/board-rk2928-sdk.c b/arch/arm/mach-rk2928/board-rk2928-sdk.c index 09efefecd8b3..3f935e53ff55 100755 --- a/arch/arm/mach-rk2928/board-rk2928-sdk.c +++ b/arch/arm/mach-rk2928/board-rk2928-sdk.c @@ -423,7 +423,7 @@ static struct sensor_platform_data mma7660_info = { #if CONFIG_RK30_PWM_REGULATOR static int pwm_voltage_map[] = { - 1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 + 950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 }; static struct regulator_consumer_supply pwm_dcdc1_consumers[] = { @@ -456,7 +456,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .pwm_iomux_gpio = GPIO0D_GPIO0D4, .pwm_voltage = 1200000, .suspend_voltage = 1050000, - .min_uV = 1000000, + .min_uV = 950000, .max_uV = 1400000, .coefficient = 455, //45.5% .pwm_voltage_map = pwm_voltage_map, diff --git a/arch/arm/mach-rk2928/board-rk2928-tb.c b/arch/arm/mach-rk2928/board-rk2928-tb.c index a530d4b661da..4a006bcce05c 100755 --- a/arch/arm/mach-rk2928/board-rk2928-tb.c +++ b/arch/arm/mach-rk2928/board-rk2928-tb.c @@ -364,7 +364,7 @@ static struct platform_device device_ion = { #ifdef CONFIG_RK30_PWM_REGULATOR const static int pwm_voltage_map[] = { - 1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 + 950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 }; static struct regulator_consumer_supply pwm_dcdc1_consumers[] = { @@ -405,7 +405,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { #endif .pwm_voltage = 1200000, .suspend_voltage = 1050000, - .min_uV = 1000000, + .min_uV = 950000, .max_uV = 1400000, .coefficient = 455, //45.5% .pwm_voltage_map = pwm_voltage_map, diff --git a/arch/arm/mach-rk2928/board-rk2928.c b/arch/arm/mach-rk2928/board-rk2928.c index f8a2ea665b5d..cb1b0f78875b 100755 --- a/arch/arm/mach-rk2928/board-rk2928.c +++ b/arch/arm/mach-rk2928/board-rk2928.c @@ -319,7 +319,7 @@ static int __init ion_board_init(void) #if CONFIG_RK30_PWM_REGULATOR static int pwm_voltage_map[] = { - 1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 + 950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 }; static struct regulator_consumer_supply pwm_dcdc1_consumers[] = { @@ -347,7 +347,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { { .pwm_voltage = 1200000, .suspend_voltage = 1050000, - .min_uV = 1000000, + .min_uV = 950000, .max_uV = 1400000, .coefficient = 455, //45.5% .pwm_voltage_map = pwm_voltage_map, diff --git a/arch/arm/mach-rk30/board-rk30-phonepad.c b/arch/arm/mach-rk30/board-rk30-phonepad.c index a50e94120ed1..f152e8a82c26 100755 --- a/arch/arm/mach-rk30/board-rk30-phonepad.c +++ b/arch/arm/mach-rk30/board-rk30-phonepad.c @@ -2098,7 +2098,7 @@ static struct platform_device rk30_device_adc_battery = { #endif #ifdef CONFIG_RK30_PWM_REGULATOR const static int pwm_voltage_map[] = { - 1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 + 950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 }; static struct regulator_consumer_supply pwm_dcdc1_consumers[] = { @@ -2131,7 +2131,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .pwm_iomux_gpio = GPIO0D_GPIO0D6, .pwm_voltage = 1100000, .suspend_voltage = 1050000, - .min_uV = 1000000, + .min_uV = 950000, .max_uV = 1400000, .coefficient = 455, //45.5% .pwm_voltage_map = pwm_voltage_map, diff --git a/arch/arm/mach-rk30/board-rk30-sdk.c b/arch/arm/mach-rk30/board-rk30-sdk.c index 01b0d184aedb..3a5d1230d229 100755 --- a/arch/arm/mach-rk30/board-rk30-sdk.c +++ b/arch/arm/mach-rk30/board-rk30-sdk.c @@ -1071,7 +1071,7 @@ static struct platform_device rk30_device_adc_battery = { #ifdef CONFIG_RK30_PWM_REGULATOR const static int pwm_voltage_map[] = { - 1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 + 950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000 }; static struct regulator_consumer_supply pwm_dcdc1_consumers[] = { @@ -1104,7 +1104,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .pwm_iomux_gpio = GPIO0D_GPIO0D6, .pwm_voltage = 1100000, .suspend_voltage = 1050000, - .min_uV = 1000000, + .min_uV = 950000, .max_uV = 1400000, .coefficient = 455, //45.5% .pwm_voltage_map = pwm_voltage_map, -- 2.34.1