From 13ef6232ab8748c8761af1345a71b1e2ebfc1879 Mon Sep 17 00:00:00 2001 From: huang lin Date: Thu, 25 Dec 2014 16:55:05 +0800 Subject: [PATCH] veyron: veyron_minnie support new hardware veyron_minnie hardware is the same to the pinky4, so modify the mainboard.c to fit the hardware. BUG=chrome-os-partner:33269 TEST=emerge-veyron_minnie coreboot BRANCH=firmware-veyron-6588.B Change-Id: I0e79e2807b8d25d3461038d13269433e727b2efa Signed-off-by: huang lin Reviewed-on: https://chromium-review.googlesource.com/237621 Reviewed-by: Julius Werner --- src/mainboard/google/veyron_minnie/mainboard.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/veyron_minnie/mainboard.c b/src/mainboard/google/veyron_minnie/mainboard.c index 8efc65d4dd..247ca1d0ec 100644 --- a/src/mainboard/google/veyron_minnie/mainboard.c +++ b/src/mainboard/google/veyron_minnie/mainboard.c @@ -91,8 +91,9 @@ static void configure_vop(void) /* lcdc(vop) iodomain select 1.8V */ writel(RK_SETBITS(1 << 0), &rk3288_grf->io_vsel); - rk808_configure_switch(PMIC_BUS, 2, 1); /* VCC18_LCD */ + gpio_output(GPIO(2, B, 5), 1); /* AVDD_1V8_DISP_EN */ rk808_configure_ldo(PMIC_BUS, 7, 2500); /* VCC10_LCD_PWREN_H */ + gpio_output(GPIO(7, B, 6), 1); /* LCD_EN */ rk808_configure_switch(PMIC_BUS, 1, 1); /* VCC33_LCD */ } @@ -129,7 +130,8 @@ void lb_board(struct lb_header *header) void mainboard_power_on_backlight(void) { - gpio_output(GPIO(7, A, 0), 0); /* BL_EN */ + gpio_output(GPIO(2, B, 4), 1); /* BL_PWR_EN */ + mdelay(10); gpio_output(GPIO(7, A, 2), 1); /* LCD_BL */ mdelay(10); gpio_output(GPIO(7, A, 0), 1); /* BL_EN */