Beispiel #1
0
	return 0;
}

#if defined(CONFIG_VIDEO_IPUV3)

void board_enable_lvds(const struct display_info_t *di, int enable)
{
	gpio_direction_output(GP_LVDS_BACKLIGHT, enable);
	gpio_direction_output(GP_LVDS_BACKLIGHT_EN, enable);
}

static const struct display_info_t displays[] = {
	/* hdmi */
	IMX_VD50_1280_720M_60(HDMI, 1, 1),
	IMX_VD50_1920_1080M_60(HDMI, 0, 1),
	IMX_VD50_1024_768M_60(HDMI, 0, 1),

	/* egalax_ts */
	IMX_VD04_HANNSTAR(LVDS, 1, 2),

	IMX_VD_VGA(LVDS, 0, 0),
	IMX_VD_WXGA_J(LVDS, 0, 0),
};
#endif

static const unsigned short gpios_out_low[] = {
	GP_I2C1MUXA_EN,		/* i2cmux cam enable */
	GP_WIFI_WL_ENABLE,
	GP_BT_RFKILL_RESET,
	GP_REG_WLAN_EN,
	GP_USB_HUB_RESET,
Beispiel #2
0
	else
		SETUP_IOMUX_PADS(rgb_gpio_pads);
	gpio_direction_output(GP_RGB_BACKLIGHT, enable);
}

void board_enable_hdmi(const struct display_info_t *di, int enable)
{
	board_enable_lcd(di, enable);
}

static const struct display_info_t displays[] = {
	/* hdmi */
	IMX_VD50_800_600MR_60(HDMI, 1, (GP_HDMI_I2C_EN << 8) | 1),
	IMX_VD50_1280_720M_60(HDMI, 0, (GP_HDMI_I2C_EN << 8) | 1),
	IMX_VD50_1920_1080M_60(HDMI, 0, (GP_HDMI_I2C_EN << 8) | 1),
	IMX_VD50_1024_768M_60(HDMI, 0, (GP_HDMI_I2C_EN << 8) | 1),

	IMX_VD_LSA40AT9001(LCD, 0, 2),
};

int board_cfb_skip(void)
{
	return NULL != getenv("novideo");
}
#endif

static const unsigned short gpios_out_low[] = {
	GP_MAIN_POWER_EN,
	GP_ADV7180_RESET,
	GP_J6_I2C_EN,
	GP_HDMI_I2C_EN,