From a2cddb7fe273bc41de58d1173a94d78880b2f6cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BC=A0=E6=99=B4?= Date: Tue, 27 Nov 2012 15:45:35 +0800 Subject: [PATCH] rk292x:modify pwm coefficient for set logic voltage --- arch/arm/mach-rk2928/board-rk2926-sdk.c | 2 +- arch/arm/mach-rk2928/board-rk2928-a720.c | 2 +- arch/arm/mach-rk2928/board-rk2928-phonepad.c | 2 +- arch/arm/mach-rk2928/board-rk2928-sdk.c | 2 +- arch/arm/mach-rk2928/board-rk2928-tb.c | 2 +- arch/arm/mach-rk2928/board-rk2928.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-rk2928/board-rk2926-sdk.c b/arch/arm/mach-rk2928/board-rk2926-sdk.c index 4fdf711b3e69..08bee133e822 100755 --- a/arch/arm/mach-rk2928/board-rk2926-sdk.c +++ b/arch/arm/mach-rk2928/board-rk2926-sdk.c @@ -556,7 +556,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .suspend_voltage = 1050000, .min_uV = 950000, .max_uV = 1400000, - .coefficient = 455, //45.5% + .coefficient = 504, //50.4% .pwm_voltage_map = pwm_voltage_map, .init_data = &pwm_regulator_init_dcdc[0], }, diff --git a/arch/arm/mach-rk2928/board-rk2928-a720.c b/arch/arm/mach-rk2928/board-rk2928-a720.c index 68c1f52edf08..c93d9e375a1c 100755 --- a/arch/arm/mach-rk2928/board-rk2928-a720.c +++ b/arch/arm/mach-rk2928/board-rk2928-a720.c @@ -452,7 +452,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .suspend_voltage = 1050000, .min_uV = 950000, .max_uV = 1400000, - .coefficient = 455, //45.5% + .coefficient = 504, //50.4% .pwm_voltage_map = pwm_voltage_map, .init_data = &pwm_regulator_init_dcdc[0], }, diff --git a/arch/arm/mach-rk2928/board-rk2928-phonepad.c b/arch/arm/mach-rk2928/board-rk2928-phonepad.c index 014cb7068680..4f90e70d9f98 100755 --- a/arch/arm/mach-rk2928/board-rk2928-phonepad.c +++ b/arch/arm/mach-rk2928/board-rk2928-phonepad.c @@ -544,7 +544,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .suspend_voltage = 1050000, .min_uV = 950000, .max_uV = 1400000, - .coefficient = 455, //45.5% + .coefficient = 504, //50.4% .pwm_voltage_map = pwm_voltage_map, .init_data = &pwm_regulator_init_dcdc[0], }, diff --git a/arch/arm/mach-rk2928/board-rk2928-sdk.c b/arch/arm/mach-rk2928/board-rk2928-sdk.c index 295606ed211b..22348dab4999 100755 --- a/arch/arm/mach-rk2928/board-rk2928-sdk.c +++ b/arch/arm/mach-rk2928/board-rk2928-sdk.c @@ -478,7 +478,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .suspend_voltage = 1050000, .min_uV = 950000, .max_uV = 1400000, - .coefficient = 455, //45.5% + .coefficient = 504, //50.4% .pwm_voltage_map = pwm_voltage_map, .init_data = &pwm_regulator_init_dcdc[0], }, diff --git a/arch/arm/mach-rk2928/board-rk2928-tb.c b/arch/arm/mach-rk2928/board-rk2928-tb.c index 970eae1586ad..69c781e9826a 100755 --- a/arch/arm/mach-rk2928/board-rk2928-tb.c +++ b/arch/arm/mach-rk2928/board-rk2928-tb.c @@ -418,7 +418,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .suspend_voltage = 1050000, .min_uV = 950000, .max_uV = 1400000, - .coefficient = 455, //45.5% + .coefficient = 504, //50.4% .pwm_voltage_map = pwm_voltage_map, .init_data = &pwm_regulator_init_dcdc[0], }, diff --git a/arch/arm/mach-rk2928/board-rk2928.c b/arch/arm/mach-rk2928/board-rk2928.c index dd5f6066a4bf..5dd46b290c07 100755 --- a/arch/arm/mach-rk2928/board-rk2928.c +++ b/arch/arm/mach-rk2928/board-rk2928.c @@ -353,7 +353,7 @@ static struct pwm_platform_data pwm_regulator_info[1] = { .suspend_voltage = 1050000, .min_uV = 950000, .max_uV = 1400000, - .coefficient = 455, //45.5% + .coefficient = 504, //50.4% .pwm_voltage_map = pwm_voltage_map, .init_data = &pwm_regulator_init_dcdc[0], }, -- 2.34.1