aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2011-07-24 15:59:10 -0400
committerPaolo Pisati <paolo.pisati@canonical.com>2012-08-17 04:18:11 -0400
commit57e0438ccc19947c6e3425345dbc22565d2ab3ea (patch)
treeb5fd76e27f3ce35f2878e6526b9da6c97fd91af2 /arch/arm
parent9d3e21f00481d36368a4d472af15006b82fbd641 (diff)
Subject: [PATCH 20/21] Subject: [PATCH 18/19] OMAP2: DSS2: Adding i2c_bus_num to panel_generic_dpi_data to probe the eeprom
The i2c_bus_num can be used to probe needed information from the eeprom, like EDID from DVI monitors. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/board-3430sdp.c1
-rw-r--r--arch/arm/mach-omap2/board-am3517evm.c2
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c2
-rw-r--r--arch/arm/mach-omap2/board-devkit8000.c2
-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-omap3evm.c1
-rw-r--r--arch/arm/mach-omap2/board-omap3stalker.c2
8 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c
index 5dac974be62..02439094ca5 100644
--- a/arch/arm/mach-omap2/board-3430sdp.c
+++ b/arch/arm/mach-omap2/board-3430sdp.c
@@ -190,6 +190,7 @@ static struct panel_generic_dpi_data dvi_panel = {
190 .name = "generic", 190 .name = "generic",
191 .platform_enable = sdp3430_panel_enable_dvi, 191 .platform_enable = sdp3430_panel_enable_dvi,
192 .platform_disable = sdp3430_panel_disable_dvi, 192 .platform_disable = sdp3430_panel_disable_dvi,
193 .i2c_bus_num = 3,
193}; 194};
194 195
195static struct omap_dss_device sdp3430_dvi_device = { 196static struct omap_dss_device sdp3430_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c
index 63af4171c04..3500748507b 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -289,6 +289,7 @@ static struct panel_generic_dpi_data lcd_panel = {
289 .name = "sharp_lq", 289 .name = "sharp_lq",
290 .platform_enable = am3517_evm_panel_enable_lcd, 290 .platform_enable = am3517_evm_panel_enable_lcd,
291 .platform_disable = am3517_evm_panel_disable_lcd, 291 .platform_disable = am3517_evm_panel_disable_lcd,
292 .i2c_bus_num = 3,
292}; 293};
293 294
294static struct omap_dss_device am3517_evm_lcd_device = { 295static struct omap_dss_device am3517_evm_lcd_device = {
@@ -337,6 +338,7 @@ static struct panel_generic_dpi_data dvi_panel = {
337 .name = "generic", 338 .name = "generic",
338 .platform_enable = am3517_evm_panel_enable_dvi, 339 .platform_enable = am3517_evm_panel_enable_dvi,
339 .platform_disable = am3517_evm_panel_disable_dvi, 340 .platform_disable = am3517_evm_panel_disable_dvi,
341 .i2c_bus_num = 3,
340}; 342};
341 343
342static struct omap_dss_device am3517_evm_dvi_device = { 344static struct omap_dss_device am3517_evm_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
index 77456dec93e..868a96d497c 100644
--- a/arch/arm/mach-omap2/board-cm-t35.c
+++ b/arch/arm/mach-omap2/board-cm-t35.c
@@ -238,6 +238,7 @@ static struct panel_generic_dpi_data lcd_panel = {
238 .name = "toppoly_tdo35s", 238 .name = "toppoly_tdo35s",
239 .platform_enable = cm_t35_panel_enable_lcd, 239 .platform_enable = cm_t35_panel_enable_lcd,
240 .platform_disable = cm_t35_panel_disable_lcd, 240 .platform_disable = cm_t35_panel_disable_lcd,
241 .i2c_bus_num = 3,
241}; 242};
242 243
243static struct omap_dss_device cm_t35_lcd_device = { 244static struct omap_dss_device cm_t35_lcd_device = {
@@ -252,6 +253,7 @@ static struct panel_generic_dpi_data dvi_panel = {
252 .name = "generic", 253 .name = "generic",
253 .platform_enable = cm_t35_panel_enable_dvi, 254 .platform_enable = cm_t35_panel_enable_dvi,
254 .platform_disable = cm_t35_panel_disable_dvi, 255 .platform_disable = cm_t35_panel_disable_dvi,
256 .i2c_bus_num = 3,
255}; 257};
256 258
257static struct omap_dss_device cm_t35_dvi_device = { 259static struct omap_dss_device cm_t35_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 34956ec8329..07a5fe2439d 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -142,6 +142,7 @@ static struct panel_generic_dpi_data lcd_panel = {
142 .name = "generic", 142 .name = "generic",
143 .platform_enable = devkit8000_panel_enable_lcd, 143 .platform_enable = devkit8000_panel_enable_lcd,
144 .platform_disable = devkit8000_panel_disable_lcd, 144 .platform_disable = devkit8000_panel_disable_lcd,
145 .i2c_bus_num = 3,
145}; 146};
146 147
147static struct omap_dss_device devkit8000_lcd_device = { 148static struct omap_dss_device devkit8000_lcd_device = {
@@ -156,6 +157,7 @@ static struct panel_generic_dpi_data dvi_panel = {
156 .name = "generic", 157 .name = "generic",
157 .platform_enable = devkit8000_panel_enable_dvi, 158 .platform_enable = devkit8000_panel_enable_dvi,
158 .platform_disable = devkit8000_panel_disable_dvi, 159 .platform_disable = devkit8000_panel_disable_dvi,
160 .i2c_bus_num = 3,
159}; 161};
160 162
161static struct omap_dss_device devkit8000_dvi_device = { 163static struct omap_dss_device devkit8000_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index 0c1bfca3f73..53942a08de0 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -460,6 +460,7 @@ static struct panel_generic_dpi_data dvi_panel = {
460 .name = "generic", 460 .name = "generic",
461 .platform_enable = igep2_enable_dvi, 461 .platform_enable = igep2_enable_dvi,
462 .platform_disable = igep2_disable_dvi, 462 .platform_disable = igep2_disable_dvi,
463 .i2c_bus_num = 3,
463}; 464};
464 465
465static struct omap_dss_device igep2_dvi_device = { 466static 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 7e628182996..e58c69a6d4f 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -208,6 +208,7 @@ static struct panel_generic_dpi_data dvi_panel = {
208 .name = "generic", 208 .name = "generic",
209 .platform_enable = beagle_enable_dvi, 209 .platform_enable = beagle_enable_dvi,
210 .platform_disable = beagle_disable_dvi, 210 .platform_disable = beagle_disable_dvi,
211 .i2c_bus_num = 3,
211}; 212};
212 213
213static struct omap_dss_device beagle_dvi_device = { 214static struct omap_dss_device beagle_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
index 3873897efae..9150003a631 100644
--- a/arch/arm/mach-omap2/board-omap3evm.c
+++ b/arch/arm/mach-omap2/board-omap3evm.c
@@ -251,6 +251,7 @@ static struct panel_generic_dpi_data dvi_panel = {
251 .name = "generic", 251 .name = "generic",
252 .platform_enable = omap3_evm_enable_dvi, 252 .platform_enable = omap3_evm_enable_dvi,
253 .platform_disable = omap3_evm_disable_dvi, 253 .platform_disable = omap3_evm_disable_dvi,
254 .i2c_bus_num = 3,
254}; 255};
255 256
256static struct omap_dss_device omap3_evm_dvi_device = { 257static struct omap_dss_device omap3_evm_dvi_device = {
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c
index 0c108a212ea..fcbb63fe7d8 100644
--- a/arch/arm/mach-omap2/board-omap3stalker.c
+++ b/arch/arm/mach-omap2/board-omap3stalker.c
@@ -131,6 +131,7 @@ static struct panel_generic_dpi_data lcd_panel = {
131 .name = "generic", 131 .name = "generic",
132 .platform_enable = omap3_stalker_enable_lcd, 132 .platform_enable = omap3_stalker_enable_lcd,
133 .platform_disable = omap3_stalker_disable_lcd, 133 .platform_disable = omap3_stalker_disable_lcd,
134 .i2c_bus_num = 3,
134}; 135};
135 136
136static struct omap_dss_device omap3_stalker_lcd_device = { 137static struct omap_dss_device omap3_stalker_lcd_device = {
@@ -184,6 +185,7 @@ static struct panel_generic_dpi_data dvi_panel = {
184 .name = "generic", 185 .name = "generic",
185 .platform_enable = omap3_stalker_enable_dvi, 186 .platform_enable = omap3_stalker_enable_dvi,
186 .platform_disable = omap3_stalker_disable_dvi, 187 .platform_disable = omap3_stalker_disable_dvi,
188 .i2c_bus_num = 3,
187}; 189};
188 190
189static struct omap_dss_device omap3_stalker_dvi_device = { 191static struct omap_dss_device omap3_stalker_dvi_device = {