From 1cd2e76f2a7b6e95af8d4f40cd3ee7f5180b8466 Mon Sep 17 00:00:00 2001 From: huang lin Date: Fri, 30 Jan 2015 21:05:58 +0800 Subject: 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 Original-Commit-Id: 52ac0b2944cea7dc860bfea12fe44851436bb7f7 Original-Change-Id: I6c53a822410ad706383c6d9fa2b5f0437775f710 Original-Signed-off-by: huang lin Original-Reviewed-on: https://chromium-review.googlesource.com/244639 Original-Reviewed-by: Julius Werner Reviewed-on: http://review.coreboot.org/9658 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/veyron_jerry/mainboard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/google/veyron_jerry') diff --git a/src/mainboard/google/veyron_jerry/mainboard.c b/src/mainboard/google/veyron_jerry/mainboard.c index 2d7dbc706a..9300b36848 100644 --- a/src/mainboard/google/veyron_jerry/mainboard.c +++ b/src/mainboard/google/veyron_jerry/mainboard.c @@ -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; } } -- cgit v1.2.3