OMAP: Add DDC i2c_bus_num to board files
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Aug 2011 14:48:19 +0000 (17:48 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:59 +0000 (16:16 +0300)
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: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
arch/arm/mach-omap2/board-igep0020.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap4panda.c
arch/arm/mach-omap2/board-overo.c

index 9fda8d841f1e8c9f042ea5fac6642d014ae22b4e..6ff5222cbbfb195ed6914c628b8d2c69b2165cb1 100644 (file)
@@ -458,6 +458,7 @@ static void igep2_disable_dvi(struct omap_dss_device *dssdev)
 static struct panel_dvi_platform_data dvi_panel = {
        .platform_enable        = igep2_enable_dvi,
        .platform_disable       = igep2_disable_dvi,
+       .i2c_bus_num = 3,
 };
 
 static struct omap_dss_device igep2_dvi_device = {
index 26bc86082737a57f2de0979b00e38a0bafb3268d..742ac45c0d74530199133f985b673d1c35ddc9bd 100644 (file)
@@ -206,6 +206,7 @@ static void beagle_disable_dvi(struct omap_dss_device *dssdev)
 static struct panel_dvi_platform_data dvi_panel = {
        .platform_enable = beagle_enable_dvi,
        .platform_disable = beagle_disable_dvi,
+       .i2c_bus_num = 3,
 };
 
 static struct omap_dss_device beagle_dvi_device = {
index c35384e7e6529fa66e7bf19f6771b6331cc72c16..a38ed273f054ae95eba16e51c5b48d3d0fc1c8aa 100644 (file)
@@ -458,6 +458,7 @@ static void omap4_panda_disable_dvi(struct omap_dss_device *dssdev)
 static struct panel_dvi_platform_data omap4_dvi_panel = {
        .platform_enable        = omap4_panda_enable_dvi,
        .platform_disable       = omap4_panda_disable_dvi,
+       .i2c_bus_num = 3,
 };
 
 struct omap_dss_device omap4_panda_dvi_device = {
index 06064d5dad648ad41d08bdd13a66edd89614da86..da943762b9ffe41731153240695f87d10cbbaf8f 100644 (file)
@@ -186,6 +186,7 @@ static void overo_panel_disable_dvi(struct omap_dss_device *dssdev)
 static struct panel_dvi_platform_data dvi_panel = {
        .platform_enable        = overo_panel_enable_dvi,
        .platform_disable       = overo_panel_disable_dvi,
+       .i2c_bus_num            = 3,
 };
 
 static struct omap_dss_device overo_dvi_device = {