diff options
Diffstat (limited to 'src/mainboard/google/pit/mainboard.c')
-rw-r--r-- | src/mainboard/google/pit/mainboard.c | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/src/mainboard/google/pit/mainboard.c b/src/mainboard/google/pit/mainboard.c index 7743864f68..f0df039c47 100644 --- a/src/mainboard/google/pit/mainboard.c +++ b/src/mainboard/google/pit/mainboard.c @@ -20,7 +20,6 @@ #include <console/console.h> #include <device/device.h> #include <device/i2c.h> -#include <drivers/ti/tps65090/tps65090.h> #include <cbmem.h> #include <delay.h> #include <edid.h> @@ -126,24 +125,6 @@ static void backlight_en(void) gpio_direction_output(GPIO_X30, 1); } -#define TPS69050_BUS 4 /* Pit-specific */ - -#define FET1_CTRL 0x0f -#define FET6_CTRL 0x14 - -static void lcd_vdd(void) -{ - /* Enable FET6, lcd panel */ - tps65090_fet_enable(TPS69050_BUS, FET6_CTRL); -} - -static void backlight_vdd(void) -{ - /* Enable FET1, backlight */ - tps65090_fet_enable(TPS69050_BUS, FET1_CTRL); - udelay(LCD_T5_DELAY_MS * 1000); -} - //static struct video_info smdk5420_dp_config = { static struct video_info dp_video_info = { /* FIXME: fix video_info struct to use const for name */ @@ -186,9 +167,6 @@ static void mainboard_init(device_t dev) }; void *fb_addr; - i2c_init(TPS69050_BUS, I2C_0_SPEED, I2C_SLAVE); - i2c_init(7, I2C_0_SPEED, I2C_SLAVE); - tmu_init(&exynos5420_tmu_info); /* Clock Gating all the unused IP's to save power */ @@ -200,7 +178,7 @@ static void mainboard_init(device_t dev) fb_addr = cbmem_find(CBMEM_ID_CONSOLE); set_vbe_mode_info_valid(&edid, (uintptr_t)fb_addr); - lcd_vdd(); + // XXX Turn on the LCD power here. // FIXME: should timeout do { @@ -220,7 +198,7 @@ static void mainboard_init(device_t dev) udelay(LCD_T3_DELAY_MS * 1000); - backlight_vdd(); + // XXX Turn on the backlight power here. backlight_pwm(); backlight_en(); /* if we're here, we're successful */ |