arm: tegra: macallan: Add pwm backlight EDP platform data
Hayden Du [Mon, 3 Jun 2013 11:30:30 +0000 (19:30 +0800)]
Added platform data for pwm backlight EDP.

bug 1299129

Change-Id: I0a4b86f33d3b7063cd8b8c4330be2af0256c2c5d
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/234978
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

arch/arm/mach-tegra/panel-p-wuxga-10-1.c

index ebff5f5..a69321b 100644 (file)
@@ -582,6 +582,8 @@ static struct platform_pwm_backlight_data dsi_p_wuxga_10_1_bl_data = {
        .dft_brightness = 224,
        .pwm_period_ns  = 1000000,
        .notify         = dsi_p_wuxga_10_1_bl_notify,
+       .edp_states = { 3950, 2950, 1850, 940, 750, 0},
+       .edp_brightness = {255, 213, 136, 73, 60, 0},
        /* Only toggle backlight on fb blank notifications for disp1 */
        .check_fb       = dsi_p_wuxga_10_1_check_fb,
        .init = dsi_p_wuxga_10_1_display_init,