diff options
author | huang lin <hl@rock-chips.com> | 2015-01-30 21:05:58 +0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-04-15 22:13:24 +0200 |
commit | 1cd2e76f2a7b6e95af8d4f40cd3ee7f5180b8466 (patch) | |
tree | 9616d49a85200c2878e0e9e955cbf96163f67957 /src/mainboard | |
parent | 7049a8fd47b5e57e9b9a51845bd82312c565895b (diff) | |
download | coreboot-1cd2e76f2a7b6e95af8d4f40cd3ee7f5180b8466.tar.xz |
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/veyron_jerry/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/veyron_mighty/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/veyron_pinky/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/veyron_speedy/mainboard.c | 6 |
4 files changed, 12 insertions, 12 deletions
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; } } diff --git a/src/mainboard/google/veyron_mighty/mainboard.c b/src/mainboard/google/veyron_mighty/mainboard.c index 2441a1b9d5..72141f0f26 100644 --- a/src/mainboard/google/veyron_mighty/mainboard.c +++ b/src/mainboard/google/veyron_mighty/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; } } diff --git a/src/mainboard/google/veyron_pinky/mainboard.c b/src/mainboard/google/veyron_pinky/mainboard.c index c272d66e06..fcd02f5134 100644 --- a/src/mainboard/google/veyron_pinky/mainboard.c +++ b/src/mainboard/google/veyron_pinky/mainboard.c @@ -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; } } diff --git a/src/mainboard/google/veyron_speedy/mainboard.c b/src/mainboard/google/veyron_speedy/mainboard.c index 2441a1b9d5..72141f0f26 100644 --- a/src/mainboard/google/veyron_speedy/mainboard.c +++ b/src/mainboard/google/veyron_speedy/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; } } |