pit: Stop calling tps65090 functions until we can call through the EC.
On pit, the tps65090 is connected to the EC and has to be accessed by proxy. Until we have that implemented, this change removes calls to tps69050 which will never succeed, and stops compiling in the driver. Change-Id: I7218f85f9f26623bd13aaaf8ded0638b3b2f874a Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3686 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
46b57bbded
commit
f0ebac8127
|
@ -29,7 +29,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select BOARD_ROMSIZE_KB_4096
|
select BOARD_ROMSIZE_KB_4096
|
||||||
select DRIVER_MAXIM_MAX77686
|
select DRIVER_MAXIM_MAX77686
|
||||||
select CHROMEOS
|
select CHROMEOS
|
||||||
select DRIVER_TI_TPS65090
|
|
||||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||||
select HAVE_INIT_TIMER
|
select HAVE_INIT_TIMER
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <device/i2c.h>
|
#include <device/i2c.h>
|
||||||
#include <drivers/ti/tps65090/tps65090.h>
|
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <edid.h>
|
#include <edid.h>
|
||||||
|
@ -126,24 +125,6 @@ static void backlight_en(void)
|
||||||
gpio_direction_output(GPIO_X30, 1);
|
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 smdk5420_dp_config = {
|
||||||
static struct video_info dp_video_info = {
|
static struct video_info dp_video_info = {
|
||||||
/* FIXME: fix video_info struct to use const for name */
|
/* FIXME: fix video_info struct to use const for name */
|
||||||
|
@ -186,9 +167,6 @@ static void mainboard_init(device_t dev)
|
||||||
};
|
};
|
||||||
void *fb_addr;
|
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);
|
tmu_init(&exynos5420_tmu_info);
|
||||||
|
|
||||||
/* Clock Gating all the unused IP's to save power */
|
/* 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);
|
fb_addr = cbmem_find(CBMEM_ID_CONSOLE);
|
||||||
set_vbe_mode_info_valid(&edid, (uintptr_t)fb_addr);
|
set_vbe_mode_info_valid(&edid, (uintptr_t)fb_addr);
|
||||||
|
|
||||||
lcd_vdd();
|
// XXX Turn on the LCD power here.
|
||||||
|
|
||||||
// FIXME: should timeout
|
// FIXME: should timeout
|
||||||
do {
|
do {
|
||||||
|
@ -220,7 +198,7 @@ static void mainboard_init(device_t dev)
|
||||||
|
|
||||||
udelay(LCD_T3_DELAY_MS * 1000);
|
udelay(LCD_T3_DELAY_MS * 1000);
|
||||||
|
|
||||||
backlight_vdd();
|
// XXX Turn on the backlight power here.
|
||||||
backlight_pwm();
|
backlight_pwm();
|
||||||
backlight_en();
|
backlight_en();
|
||||||
/* if we're here, we're successful */
|
/* if we're here, we're successful */
|
||||||
|
|
Loading…
Reference in New Issue