Commit fcca7194 authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAP: Add DDC i2c_bus_num to board files

Add i2c bus number for DVI output for boards with DVI output where the
i2c bus has been confirmed to be connected and working. The driver uses
this to detect if a panel is connected and to read EDID.
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent aadb85e5
...@@ -458,6 +458,7 @@ static void igep2_disable_dvi(struct omap_dss_device *dssdev) ...@@ -458,6 +458,7 @@ static void igep2_disable_dvi(struct omap_dss_device *dssdev)
static struct panel_dvi_platform_data dvi_panel = { static struct panel_dvi_platform_data dvi_panel = {
.platform_enable = igep2_enable_dvi, .platform_enable = igep2_enable_dvi,
.platform_disable = igep2_disable_dvi, .platform_disable = igep2_disable_dvi,
.i2c_bus_num = 3,
}; };
static struct omap_dss_device igep2_dvi_device = { static struct omap_dss_device igep2_dvi_device = {
......
...@@ -206,6 +206,7 @@ static void beagle_disable_dvi(struct omap_dss_device *dssdev) ...@@ -206,6 +206,7 @@ static void beagle_disable_dvi(struct omap_dss_device *dssdev)
static struct panel_dvi_platform_data dvi_panel = { static struct panel_dvi_platform_data dvi_panel = {
.platform_enable = beagle_enable_dvi, .platform_enable = beagle_enable_dvi,
.platform_disable = beagle_disable_dvi, .platform_disable = beagle_disable_dvi,
.i2c_bus_num = 3,
}; };
static struct omap_dss_device beagle_dvi_device = { static struct omap_dss_device beagle_dvi_device = {
......
...@@ -458,6 +458,7 @@ static void omap4_panda_disable_dvi(struct omap_dss_device *dssdev) ...@@ -458,6 +458,7 @@ static void omap4_panda_disable_dvi(struct omap_dss_device *dssdev)
static struct panel_dvi_platform_data omap4_dvi_panel = { static struct panel_dvi_platform_data omap4_dvi_panel = {
.platform_enable = omap4_panda_enable_dvi, .platform_enable = omap4_panda_enable_dvi,
.platform_disable = omap4_panda_disable_dvi, .platform_disable = omap4_panda_disable_dvi,
.i2c_bus_num = 3,
}; };
struct omap_dss_device omap4_panda_dvi_device = { struct omap_dss_device omap4_panda_dvi_device = {
......
...@@ -186,6 +186,7 @@ static void overo_panel_disable_dvi(struct omap_dss_device *dssdev) ...@@ -186,6 +186,7 @@ static void overo_panel_disable_dvi(struct omap_dss_device *dssdev)
static struct panel_dvi_platform_data dvi_panel = { static struct panel_dvi_platform_data dvi_panel = {
.platform_enable = overo_panel_enable_dvi, .platform_enable = overo_panel_enable_dvi,
.platform_disable = overo_panel_disable_dvi, .platform_disable = overo_panel_disable_dvi,
.i2c_bus_num = 3,
}; };
static struct omap_dss_device overo_dvi_device = { static struct omap_dss_device overo_dvi_device = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment