rk30:rk2926:support logic voltage adjusted to 0.95v
author张晴 <zhangqing@rock-chips.com>
Mon, 22 Oct 2012 09:18:57 +0000 (17:18 +0800)
committer张晴 <zhangqing@rock-chips.com>
Mon, 22 Oct 2012 09:18:57 +0000 (17:18 +0800)
arch/arm/mach-rk2928/board-rk2926-sdk.c
arch/arm/mach-rk2928/board-rk2928-a720.c
arch/arm/mach-rk2928/board-rk2928-phonepad.c
arch/arm/mach-rk2928/board-rk2928-sdk.c
arch/arm/mach-rk2928/board-rk2928-tb.c
arch/arm/mach-rk2928/board-rk2928.c
arch/arm/mach-rk30/board-rk30-phonepad.c
arch/arm/mach-rk30/board-rk30-sdk.c

index b4c2cfa7810dfadf8aeb9d87d53bc902f395d348..d998bb2260b7b49c418d89404975c791d5693dd4 100755 (executable)
@@ -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,
index c670dafd803284c520f3d45224dabb0d05515ba7..09a8672c3b15edc5ca9a8e943e08653332cd1bb0 100755 (executable)
@@ -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,
index 66dc02bead5e5abcb957ee87c072176e9c62a9a2..d99b92da9639121dd543a017471ad0ab8a6522ad 100755 (executable)
@@ -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,
index 09efefecd8b301b0c6b783b56121c7c6ec474227..3f935e53ff55690601303406e7575d77cfac195b 100755 (executable)
@@ -423,7 +423,7 @@ static struct sensor_platform_data mma7660_info = {
 \r
 #if CONFIG_RK30_PWM_REGULATOR\r
 static int pwm_voltage_map[] = {\r
-       1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000\r
+       950000,975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000, 1375000, 1400000\r
 };\r
 \r
 static struct regulator_consumer_supply pwm_dcdc1_consumers[] = {\r
@@ -456,7 +456,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = {
                .pwm_iomux_gpio = GPIO0D_GPIO0D4,\r
                .pwm_voltage = 1200000,\r
                .suspend_voltage = 1050000,\r
-               .min_uV = 1000000,\r
+               .min_uV = 950000,\r
                .max_uV = 1400000,\r
                .coefficient = 455,     //45.5%\r
                .pwm_voltage_map = pwm_voltage_map,\r
index a530d4b661da7b1b7611828651f84925797e6d04..4a006bcce05c988bfeeb9ea2403f2d061f93dbae 100755 (executable)
@@ -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,
index f8a2ea665b5d580705b84f95fdd790c3fe7e7a84..cb1b0f78875bb34613af0a75c005cfe7a610d293 100755 (executable)
@@ -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,
index a50e94120ed12677ae4c69c1d43a6a03c1bd6c77..f152e8a82c26b54bd69a9af22ab1207a82a2d79e 100755 (executable)
@@ -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,
index 01b0d184aedb97836f1b1d3ef1d67a2edfae7406..3a5d1230d229913cd8cbbcff3f49763e27f7e17b 100755 (executable)
@@ -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,