diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-10-09 22:16:30 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-10-09 22:16:30 -0400 |
commit | 0febd3bccff3ac005a570180209e44fb7de188df (patch) | |
tree | 2af5177fb8fef95900f68c64121ad6bdc78d8761 /arch/arm/mach-omap2/board-omap4panda.c | |
parent | 8d93241b923bcb6a60994f8ed20fda8cc06d0fda (diff) | |
parent | 13b1ba7de8d0ecc42e4f9c002d5b0c1a48f05e58 (diff) |
Merge tag 'omapdss-for-3.7' of git://gitorious.org/linux-omap-dss2/linux into fbdev-next
Omapdss driver changes for the 3.7 merge window.
Notable changes:
* Basic writeback support for DISPC level. Writeback is not yet usable, though,
as we need higher level code to actually expose the writeback feature to
userspace.
* Rewriting the omapdss output drivers. We're trying to remove the hard links
between the omapdss and the panels, and this rewrite work moves us closer to
that goal.
* Cleanup and restructuring patches that have been made while working on device
tree support for omapdss. Device tree support is still some way ahead, but
these patches are good cleanups in themselves.
* Basic OMAP5 DSS support for DPI and DSI outputs.
* Workaround for the problem that GFX overlay's fifo is too small for high
resolution scenarios, causing underflows.
* Cleanups that remove dependencies to omap platform code.
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 70f6d1d25463..cd4852e5ca57 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -408,30 +408,9 @@ static struct omap_dss_device omap4_panda_dvi_device = { | |||
408 | .channel = OMAP_DSS_CHANNEL_LCD2, | 408 | .channel = OMAP_DSS_CHANNEL_LCD2, |
409 | }; | 409 | }; |
410 | 410 | ||
411 | static struct gpio panda_hdmi_gpios[] = { | ||
412 | { HDMI_GPIO_CT_CP_HPD, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ct_cp_hpd" }, | ||
413 | { HDMI_GPIO_LS_OE, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ls_oe" }, | ||
414 | { HDMI_GPIO_HPD, GPIOF_DIR_IN, "hdmi_gpio_hpd" }, | ||
415 | }; | ||
416 | |||
417 | static int omap4_panda_panel_enable_hdmi(struct omap_dss_device *dssdev) | ||
418 | { | ||
419 | int status; | ||
420 | |||
421 | status = gpio_request_array(panda_hdmi_gpios, | ||
422 | ARRAY_SIZE(panda_hdmi_gpios)); | ||
423 | if (status) | ||
424 | pr_err("Cannot request HDMI GPIOs\n"); | ||
425 | |||
426 | return status; | ||
427 | } | ||
428 | |||
429 | static void omap4_panda_panel_disable_hdmi(struct omap_dss_device *dssdev) | ||
430 | { | ||
431 | gpio_free_array(panda_hdmi_gpios, ARRAY_SIZE(panda_hdmi_gpios)); | ||
432 | } | ||
433 | |||
434 | static struct omap_dss_hdmi_data omap4_panda_hdmi_data = { | 411 | static struct omap_dss_hdmi_data omap4_panda_hdmi_data = { |
412 | .ct_cp_hpd_gpio = HDMI_GPIO_CT_CP_HPD, | ||
413 | .ls_oe_gpio = HDMI_GPIO_LS_OE, | ||
435 | .hpd_gpio = HDMI_GPIO_HPD, | 414 | .hpd_gpio = HDMI_GPIO_HPD, |
436 | }; | 415 | }; |
437 | 416 | ||
@@ -439,8 +418,6 @@ static struct omap_dss_device omap4_panda_hdmi_device = { | |||
439 | .name = "hdmi", | 418 | .name = "hdmi", |
440 | .driver_name = "hdmi_panel", | 419 | .driver_name = "hdmi_panel", |
441 | .type = OMAP_DISPLAY_TYPE_HDMI, | 420 | .type = OMAP_DISPLAY_TYPE_HDMI, |
442 | .platform_enable = omap4_panda_panel_enable_hdmi, | ||
443 | .platform_disable = omap4_panda_panel_disable_hdmi, | ||
444 | .channel = OMAP_DSS_CHANNEL_DIGIT, | 421 | .channel = OMAP_DSS_CHANNEL_DIGIT, |
445 | .data = &omap4_panda_hdmi_data, | 422 | .data = &omap4_panda_hdmi_data, |
446 | }; | 423 | }; |