From: 张晴 Date: Tue, 27 Nov 2012 07:45:35 +0000 (+0800) Subject: rk292x:modify pwm coefficient for set logic voltage X-Git-Tag: firefly_0821_release~8176 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a2cddb7fe273bc41de58d1173a94d78880b2f6cd;p=firefly-linux-kernel-4.4.55.git rk292x:modify pwm coefficient for set logic voltage --- 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], },