summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorhuang lin <hl@rock-chips.com>2015-01-30 21:05:58 +0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-15 22:13:24 +0200
commit1cd2e76f2a7b6e95af8d4f40cd3ee7f5180b8466 (patch)
tree9616d49a85200c2878e0e9e955cbf96163f67957 /src/mainboard/google
parent7049a8fd47b5e57e9b9a51845bd82312c565895b (diff)
downloadcoreboot-1cd2e76f2a7b6e95af8d4f40cd3ee7f5180b8466.tar.gz
coreboot-1cd2e76f2a7b6e95af8d4f40cd3ee7f5180b8466.tar.bz2
coreboot-1cd2e76f2a7b6e95af8d4f40cd3ee7f5180b8466.zip
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/google')
-rw-r--r--src/mainboard/google/veyron_jerry/mainboard.c6
-rw-r--r--src/mainboard/google/veyron_mighty/mainboard.c6
-rw-r--r--src/mainboard/google/veyron_pinky/mainboard.c6
-rw-r--r--src/mainboard/google/veyron_speedy/mainboard.c6
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 2d7dbc706af9..9300b36848b8 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 2441a1b9d519..72141f0f26db 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 c272d66e0675..fcd02f5134f3 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 2441a1b9d519..72141f0f26db 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;
}
}