rk3288: meet the backlight power timing request

backlight timing: LED_VCC->LED_PWM->LED_EN, we modify the
code to meet the timing.

BUG=chrome-os-partner:36201
TEST=Boot from jerry, and scope the backlight timing
BRANCH=None

Change-Id: I6bfa6af176400086e4af0112a63127c1152ca70e
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 52ac0b2944cea7dc860bfea12fe44851436bb7f7
Original-Change-Id: I6c53a822410ad706383c6d9fa2b5f0437775f710
Original-Signed-off-by: huang lin <hl@rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/244639
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/9658
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
huang lin 2015-01-30 21:05:58 +08:00 committed by Stefan Reinauer
parent 7049a8fd47
commit 1cd2e76f2a
4 changed files with 12 additions and 12 deletions

View File

@ -148,10 +148,10 @@ void mainboard_power_on_backlight(void)
break;
default:
gpio_output(GPIO(2, B, 4), 1); /* BL_PWR_EN */
mdelay(20);
gpio_output(GPIO_BACKLIGHT, 1); /* LCD_BL */
mdelay(10);
gpio_output(GPIO(7, A, 2), 1); /* LCD_BL */
mdelay(10);
gpio_output(GPIO_BACKLIGHT, 1); /* BL_EN */
gpio_output(GPIO(7, A, 2), 1); /* BL_EN */
break;
}
}

View File

@ -148,10 +148,10 @@ void mainboard_power_on_backlight(void)
break;
default:
gpio_output(GPIO(2, B, 4), 1); /* BL_PWR_EN */
mdelay(20);
gpio_output(GPIO_BACKLIGHT, 1); /* LCD_BL */
mdelay(10);
gpio_output(GPIO(7, A, 2), 1); /* LCD_BL */
mdelay(10);
gpio_output(GPIO_BACKLIGHT, 1); /* BL_EN */
gpio_output(GPIO(7, A, 2), 1); /* BL_EN */
break;
}
}

View File

@ -194,10 +194,10 @@ void mainboard_power_on_backlight(void)
break;
default:
gpio_output(GPIO(2, B, 4), 1); /* BL_PWR_EN */
mdelay(20);
gpio_output(GPIO_BACKLIGHT, 1); /* LCD_BL */
mdelay(10);
gpio_output(GPIO(7, A, 2), 1); /* LCD_BL */
mdelay(10);
gpio_output(GPIO_BACKLIGHT, 1); /* BL_EN */
gpio_output(GPIO(7, A, 2), 1); /* BL_EN */
break;
}
}

View File

@ -148,10 +148,10 @@ void mainboard_power_on_backlight(void)
break;
default:
gpio_output(GPIO(2, B, 4), 1); /* BL_PWR_EN */
mdelay(20);
gpio_output(GPIO_BACKLIGHT, 1); /* LCD_BL */
mdelay(10);
gpio_output(GPIO(7, A, 2), 1); /* LCD_BL */
mdelay(10);
gpio_output(GPIO_BACKLIGHT, 1); /* BL_EN */
gpio_output(GPIO(7, A, 2), 1); /* BL_EN */
break;
}
}