aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-08-29 10:48:19 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-30 09:16:59 -0400
commitfcca719430086fb64b3586582646579f8ffaf47c (patch)
treea88398b214b4aecd359df7173cf9152bbeb295e0 /arch/arm/mach-omap2
parentaadb85e5cacb285f24c0ecde77ffa59839218e3b (diff)
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: Tony Lindgren <tony@atomide.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-igep0020.c1
-rw-r--r--arch/arm/mach-omap2/board-omap3beagle.c1
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c1
-rw-r--r--arch/arm/mach-omap2/board-overo.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index 9fda8d841f1e..6ff5222cbbfb 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -458,6 +458,7 @@ static void igep2_disable_dvi(struct omap_dss_device *dssdev)
458static struct panel_dvi_platform_data dvi_panel = { 458static struct panel_dvi_platform_data dvi_panel = {
459 .platform_enable = igep2_enable_dvi, 459 .platform_enable = igep2_enable_dvi,
460 .platform_disable = igep2_disable_dvi, 460 .platform_disable = igep2_disable_dvi,
461 .i2c_bus_num = 3,
461}; 462};
462 463
463static struct omap_dss_device igep2_dvi_device = { 464static struct omap_dss_device igep2_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 26bc86082737..742ac45c0d74 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -206,6 +206,7 @@ static void beagle_disable_dvi(struct omap_dss_device *dssdev)
206static struct panel_dvi_platform_data dvi_panel = { 206static struct panel_dvi_platform_data dvi_panel = {
207 .platform_enable = beagle_enable_dvi, 207 .platform_enable = beagle_enable_dvi,
208 .platform_disable = beagle_disable_dvi, 208 .platform_disable = beagle_disable_dvi,
209 .i2c_bus_num = 3,
209}; 210};
210 211
211static struct omap_dss_device beagle_dvi_device = { 212static struct omap_dss_device beagle_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index c35384e7e652..a38ed273f054 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -458,6 +458,7 @@ static void omap4_panda_disable_dvi(struct omap_dss_device *dssdev)
458static struct panel_dvi_platform_data omap4_dvi_panel = { 458static struct panel_dvi_platform_data omap4_dvi_panel = {
459 .platform_enable = omap4_panda_enable_dvi, 459 .platform_enable = omap4_panda_enable_dvi,
460 .platform_disable = omap4_panda_disable_dvi, 460 .platform_disable = omap4_panda_disable_dvi,
461 .i2c_bus_num = 3,
461}; 462};
462 463
463struct omap_dss_device omap4_panda_dvi_device = { 464struct omap_dss_device omap4_panda_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index 06064d5dad64..da943762b9ff 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -186,6 +186,7 @@ static void overo_panel_disable_dvi(struct omap_dss_device *dssdev)
186static struct panel_dvi_platform_data dvi_panel = { 186static struct panel_dvi_platform_data dvi_panel = {
187 .platform_enable = overo_panel_enable_dvi, 187 .platform_enable = overo_panel_enable_dvi,
188 .platform_disable = overo_panel_disable_dvi, 188 .platform_disable = overo_panel_disable_dvi,
189 .i2c_bus_num = 3,
189}; 190};
190 191
191static struct omap_dss_device overo_dvi_device = { 192static struct omap_dss_device overo_dvi_device = {