aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-03-05 07:29:28 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-09 03:51:05 -0400
commit2e6f2ee7ace43d7c8d0e9abf9b0767ab99d3f2aa (patch)
treee3a3b3a56f0adb45e9e4e0f40c69245386622275 /arch/arm/mach-omap2
parente813a55eb9c9bc6c8039fb16332cf43402125b30 (diff)
OMAPDSS: TFP410: rename dvi -> tfp410
The driver for the TFP410 DPI-to-DVI chip was named quite badly as "DVI panel driver". This patch renames the code to use tfp410 name for the driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-3430sdp.c4
-rw-r--r--arch/arm/mach-omap2/board-am3517evm.c4
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c4
-rw-r--r--arch/arm/mach-omap2/board-devkit8000.c4
-rw-r--r--arch/arm/mach-omap2/board-igep0020.c4
-rw-r--r--arch/arm/mach-omap2/board-omap3beagle.c4
-rw-r--r--arch/arm/mach-omap2/board-omap3evm.c4
-rw-r--r--arch/arm/mach-omap2/board-omap3stalker.c4
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c4
-rw-r--r--arch/arm/mach-omap2/board-overo.c4
10 files changed, 20 insertions, 20 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c
index d827f8b56431..2a26d62ea386 100644
--- a/arch/arm/mach-omap2/board-3430sdp.c
+++ b/arch/arm/mach-omap2/board-3430sdp.c
@@ -157,14 +157,14 @@ static struct omap_dss_device sdp3430_lcd_device = {
157 .platform_disable = sdp3430_panel_disable_lcd, 157 .platform_disable = sdp3430_panel_disable_lcd,
158}; 158};
159 159
160static struct panel_dvi_platform_data dvi_panel = { 160static struct tfp410_platform_data dvi_panel = {
161 .power_down_gpio = -1, 161 .power_down_gpio = -1,
162}; 162};
163 163
164static struct omap_dss_device sdp3430_dvi_device = { 164static struct omap_dss_device sdp3430_dvi_device = {
165 .name = "dvi", 165 .name = "dvi",
166 .type = OMAP_DISPLAY_TYPE_DPI, 166 .type = OMAP_DISPLAY_TYPE_DPI,
167 .driver_name = "dvi", 167 .driver_name = "tfp410",
168 .data = &dvi_panel, 168 .data = &dvi_panel,
169 .phy.dpi.data_lines = 24, 169 .phy.dpi.data_lines = 24,
170}; 170};
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c
index ce155bfc9838..feecc9689b0b 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -207,14 +207,14 @@ static struct omap_dss_device am3517_evm_tv_device = {
207 .platform_disable = am3517_evm_panel_disable_tv, 207 .platform_disable = am3517_evm_panel_disable_tv,
208}; 208};
209 209
210static struct panel_dvi_platform_data dvi_panel = { 210static struct tfp410_platform_data dvi_panel = {
211 .power_down_gpio = -1, 211 .power_down_gpio = -1,
212}; 212};
213 213
214static struct omap_dss_device am3517_evm_dvi_device = { 214static struct omap_dss_device am3517_evm_dvi_device = {
215 .type = OMAP_DISPLAY_TYPE_DPI, 215 .type = OMAP_DISPLAY_TYPE_DPI,
216 .name = "dvi", 216 .name = "dvi",
217 .driver_name = "dvi", 217 .driver_name = "tfp410",
218 .data = &dvi_panel, 218 .data = &dvi_panel,
219 .phy.dpi.data_lines = 24, 219 .phy.dpi.data_lines = 24,
220}; 220};
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
index 6f790262515c..9e8efe997605 100644
--- a/arch/arm/mach-omap2/board-cm-t35.c
+++ b/arch/arm/mach-omap2/board-cm-t35.c
@@ -241,14 +241,14 @@ static struct omap_dss_device cm_t35_lcd_device = {
241 .phy.dpi.data_lines = 18, 241 .phy.dpi.data_lines = 18,
242}; 242};
243 243
244static struct panel_dvi_platform_data dvi_panel = { 244static struct tfp410_platform_data dvi_panel = {
245 .power_down_gpio = CM_T35_DVI_EN_GPIO, 245 .power_down_gpio = CM_T35_DVI_EN_GPIO,
246}; 246};
247 247
248static struct omap_dss_device cm_t35_dvi_device = { 248static struct omap_dss_device cm_t35_dvi_device = {
249 .name = "dvi", 249 .name = "dvi",
250 .type = OMAP_DISPLAY_TYPE_DPI, 250 .type = OMAP_DISPLAY_TYPE_DPI,
251 .driver_name = "dvi", 251 .driver_name = "tfp410",
252 .data = &dvi_panel, 252 .data = &dvi_panel,
253 .phy.dpi.data_lines = 24, 253 .phy.dpi.data_lines = 24,
254}; 254};
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 92f79debbe92..5ea88f593dd0 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -141,14 +141,14 @@ static struct omap_dss_device devkit8000_lcd_device = {
141 .phy.dpi.data_lines = 24, 141 .phy.dpi.data_lines = 24,
142}; 142};
143 143
144static struct panel_dvi_platform_data dvi_panel = { 144static struct tfp410_platform_data dvi_panel = {
145 .power_down_gpio = -1, 145 .power_down_gpio = -1,
146}; 146};
147 147
148static struct omap_dss_device devkit8000_dvi_device = { 148static struct omap_dss_device devkit8000_dvi_device = {
149 .name = "dvi", 149 .name = "dvi",
150 .type = OMAP_DISPLAY_TYPE_DPI, 150 .type = OMAP_DISPLAY_TYPE_DPI,
151 .driver_name = "dvi", 151 .driver_name = "tfp410",
152 .data = &dvi_panel, 152 .data = &dvi_panel,
153 .phy.dpi.data_lines = 24, 153 .phy.dpi.data_lines = 24,
154}; 154};
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index c7028224d138..bf87f17612bf 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -444,7 +444,7 @@ static struct twl4030_gpio_platform_data igep_twl4030_gpio_pdata = {
444 .setup = igep_twl_gpio_setup, 444 .setup = igep_twl_gpio_setup,
445}; 445};
446 446
447static struct panel_dvi_platform_data dvi_panel = { 447static struct tfp410_platform_data dvi_panel = {
448 .i2c_bus_num = 3, 448 .i2c_bus_num = 3,
449 .power_down_gpio = IGEP2_GPIO_DVI_PUP, 449 .power_down_gpio = IGEP2_GPIO_DVI_PUP,
450}; 450};
@@ -452,7 +452,7 @@ static struct panel_dvi_platform_data dvi_panel = {
452static struct omap_dss_device igep2_dvi_device = { 452static struct omap_dss_device igep2_dvi_device = {
453 .type = OMAP_DISPLAY_TYPE_DPI, 453 .type = OMAP_DISPLAY_TYPE_DPI,
454 .name = "dvi", 454 .name = "dvi",
455 .driver_name = "dvi", 455 .driver_name = "tfp410",
456 .data = &dvi_panel, 456 .data = &dvi_panel,
457 .phy.dpi.data_lines = 24, 457 .phy.dpi.data_lines = 24,
458}; 458};
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 59f281f732f3..179596746ae3 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -189,7 +189,7 @@ static struct mtd_partition omap3beagle_nand_partitions[] = {
189 189
190/* DSS */ 190/* DSS */
191 191
192static struct panel_dvi_platform_data dvi_panel = { 192static struct tfp410_platform_data dvi_panel = {
193 .i2c_bus_num = 3, 193 .i2c_bus_num = 3,
194 .power_down_gpio = -1, 194 .power_down_gpio = -1,
195}; 195};
@@ -197,7 +197,7 @@ static struct panel_dvi_platform_data dvi_panel = {
197static struct omap_dss_device beagle_dvi_device = { 197static struct omap_dss_device beagle_dvi_device = {
198 .type = OMAP_DISPLAY_TYPE_DPI, 198 .type = OMAP_DISPLAY_TYPE_DPI,
199 .name = "dvi", 199 .name = "dvi",
200 .driver_name = "dvi", 200 .driver_name = "tfp410",
201 .data = &dvi_panel, 201 .data = &dvi_panel,
202 .phy.dpi.data_lines = 24, 202 .phy.dpi.data_lines = 24,
203}; 203};
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
index 9a3bce54187b..9cb0d08bf812 100644
--- a/arch/arm/mach-omap2/board-omap3evm.c
+++ b/arch/arm/mach-omap2/board-omap3evm.c
@@ -219,14 +219,14 @@ static struct omap_dss_device omap3_evm_tv_device = {
219 .platform_disable = omap3_evm_disable_tv, 219 .platform_disable = omap3_evm_disable_tv,
220}; 220};
221 221
222static struct panel_dvi_platform_data dvi_panel = { 222static struct tfp410_platform_data dvi_panel = {
223 .power_down_gpio = OMAP3EVM_DVI_PANEL_EN_GPIO, 223 .power_down_gpio = OMAP3EVM_DVI_PANEL_EN_GPIO,
224}; 224};
225 225
226static struct omap_dss_device omap3_evm_dvi_device = { 226static struct omap_dss_device omap3_evm_dvi_device = {
227 .name = "dvi", 227 .name = "dvi",
228 .type = OMAP_DISPLAY_TYPE_DPI, 228 .type = OMAP_DISPLAY_TYPE_DPI,
229 .driver_name = "dvi", 229 .driver_name = "tfp410",
230 .data = &dvi_panel, 230 .data = &dvi_panel,
231 .phy.dpi.data_lines = 24, 231 .phy.dpi.data_lines = 24,
232}; 232};
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c
index de13f28ba269..a9acf96e483e 100644
--- a/arch/arm/mach-omap2/board-omap3stalker.c
+++ b/arch/arm/mach-omap2/board-omap3stalker.c
@@ -119,14 +119,14 @@ static struct omap_dss_device omap3_stalker_tv_device = {
119 .platform_disable = omap3_stalker_disable_tv, 119 .platform_disable = omap3_stalker_disable_tv,
120}; 120};
121 121
122static struct panel_dvi_platform_data dvi_panel = { 122static struct tfp410_platform_data dvi_panel = {
123 .power_down_gpio = DSS_ENABLE_GPIO, 123 .power_down_gpio = DSS_ENABLE_GPIO,
124}; 124};
125 125
126static struct omap_dss_device omap3_stalker_dvi_device = { 126static struct omap_dss_device omap3_stalker_dvi_device = {
127 .name = "dvi", 127 .name = "dvi",
128 .type = OMAP_DISPLAY_TYPE_DPI, 128 .type = OMAP_DISPLAY_TYPE_DPI,
129 .driver_name = "dvi", 129 .driver_name = "tfp410",
130 .data = &dvi_panel, 130 .data = &dvi_panel,
131 .phy.dpi.data_lines = 24, 131 .phy.dpi.data_lines = 24,
132}; 132};
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index ddf8253a7a0a..e1f19b2edec1 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -421,7 +421,7 @@ static struct omap_board_mux board_mux[] __initdata = {
421#define PANDA_DVI_TFP410_POWER_DOWN_GPIO 0 421#define PANDA_DVI_TFP410_POWER_DOWN_GPIO 0
422 422
423/* Using generic display panel */ 423/* Using generic display panel */
424static struct panel_dvi_platform_data omap4_dvi_panel = { 424static struct tfp410_platform_data omap4_dvi_panel = {
425 .i2c_bus_num = 3, 425 .i2c_bus_num = 3,
426 .power_down_gpio = PANDA_DVI_TFP410_POWER_DOWN_GPIO, 426 .power_down_gpio = PANDA_DVI_TFP410_POWER_DOWN_GPIO,
427}; 427};
@@ -429,7 +429,7 @@ static struct panel_dvi_platform_data omap4_dvi_panel = {
429struct omap_dss_device omap4_panda_dvi_device = { 429struct omap_dss_device omap4_panda_dvi_device = {
430 .type = OMAP_DISPLAY_TYPE_DPI, 430 .type = OMAP_DISPLAY_TYPE_DPI,
431 .name = "dvi", 431 .name = "dvi",
432 .driver_name = "dvi", 432 .driver_name = "tfp410",
433 .data = &omap4_dvi_panel, 433 .data = &omap4_dvi_panel,
434 .phy.dpi.data_lines = 24, 434 .phy.dpi.data_lines = 24,
435 .reset_gpio = PANDA_DVI_TFP410_POWER_DOWN_GPIO, 435 .reset_gpio = PANDA_DVI_TFP410_POWER_DOWN_GPIO,
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index 1a92fc42ea9a..aa83d46846e0 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -167,7 +167,7 @@ static void __init overo_display_init(void)
167 gpio_export(OVERO_GPIO_LCD_BL, 0); 167 gpio_export(OVERO_GPIO_LCD_BL, 0);
168} 168}
169 169
170static struct panel_dvi_platform_data dvi_panel = { 170static struct tfp410_platform_data dvi_panel = {
171 .i2c_bus_num = 3, 171 .i2c_bus_num = 3,
172 .power_down_gpio = -1, 172 .power_down_gpio = -1,
173}; 173};
@@ -175,7 +175,7 @@ static struct panel_dvi_platform_data dvi_panel = {
175static struct omap_dss_device overo_dvi_device = { 175static struct omap_dss_device overo_dvi_device = {
176 .name = "dvi", 176 .name = "dvi",
177 .type = OMAP_DISPLAY_TYPE_DPI, 177 .type = OMAP_DISPLAY_TYPE_DPI,
178 .driver_name = "dvi", 178 .driver_name = "tfp410",
179 .data = &dvi_panel, 179 .data = &dvi_panel,
180 .phy.dpi.data_lines = 24, 180 .phy.dpi.data_lines = 24,
181}; 181};