diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 21:21:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 21:21:02 -0400 |
commit | 5f76945a9c978b8b8bf8eb7fe3b17b9981240a97 (patch) | |
tree | df61aca168df657bc71ce8b578bcb0c81b0622ee /arch/arm/mach-omap2/board-omap4panda.c | |
parent | 940e3a8dd6683a3787faf769b3df7a06f1c2fa31 (diff) | |
parent | cd9d6f10d07f26dd8a70e519c22b6b4f8a9e3e7a (diff) |
Merge tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6
Pull fbdev updates from Florian Tobias Schandinat:
"This includes:
- large updates for OMAP
- basic OMAP5 DSS support for DPI and DSI outputs
- large cleanups and restructuring
- some update to Exynos and da8xx-fb
- removal of the pnx4008 driver (arch removed)
- various other small patches"
Fix up some trivial conflicts (mostly just include line changes, but
also some due to the renaming of the deferred work functions by Tejun).
* tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6: (193 commits)
gbefb: fix compile error
video: mark nuc900fb_map_video_memory as __devinit
video/mx3fb: set .owner to prevent module unloading while being used
video: exynos_dp: use clk_prepare_enable and clk_disable_unprepare
drivers/video/exynos/exynos_mipi_dsi.c: fix error return code
drivers/video/savage/savagefb_driver.c: fix error return code
video: s3c-fb: use clk_prepare_enable and clk_disable_unprepare
da8xx-fb: save and restore LCDC context across suspend/resume cycle
da8xx-fb: add pm_runtime support
video/udlfb: fix line counting in fb_write
OMAPDSS: add missing include for string.h
OMAPDSS: DISPC: Configure color conversion coefficients for writeback
OMAPDSS: DISPC: Add manager like functions for writeback
OMAPDSS: DISPC: Configure writeback FIFOs
OMAPDSS: DISPC: Configure writeback specific parameters in dispc_wb_setup()
OMAPDSS: DISPC: Configure overlay-like parameters in dispc_wb_setup
OMAPDSS: DISPC: Add function to set channel in for writeback
OMAPDSS: DISPC: Don't set chroma resampling bit for writeback
OMAPDSS: DISPC: Downscale chroma if plane is writeback
OMAPDSS: DISPC: Configure input and output sizes for writeback
...
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 f62b903f3ea1..bfcd397e233c 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -428,30 +428,9 @@ static struct omap_dss_device omap4_panda_dvi_device = { | |||
428 | .channel = OMAP_DSS_CHANNEL_LCD2, | 428 | .channel = OMAP_DSS_CHANNEL_LCD2, |
429 | }; | 429 | }; |
430 | 430 | ||
431 | static struct gpio panda_hdmi_gpios[] = { | ||
432 | { HDMI_GPIO_CT_CP_HPD, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ct_cp_hpd" }, | ||
433 | { HDMI_GPIO_LS_OE, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ls_oe" }, | ||
434 | { HDMI_GPIO_HPD, GPIOF_DIR_IN, "hdmi_gpio_hpd" }, | ||
435 | }; | ||
436 | |||
437 | static int omap4_panda_panel_enable_hdmi(struct omap_dss_device *dssdev) | ||
438 | { | ||
439 | int status; | ||
440 | |||
441 | status = gpio_request_array(panda_hdmi_gpios, | ||
442 | ARRAY_SIZE(panda_hdmi_gpios)); | ||
443 | if (status) | ||
444 | pr_err("Cannot request HDMI GPIOs\n"); | ||
445 | |||
446 | return status; | ||
447 | } | ||
448 | |||
449 | static void omap4_panda_panel_disable_hdmi(struct omap_dss_device *dssdev) | ||
450 | { | ||
451 | gpio_free_array(panda_hdmi_gpios, ARRAY_SIZE(panda_hdmi_gpios)); | ||
452 | } | ||
453 | |||
454 | static struct omap_dss_hdmi_data omap4_panda_hdmi_data = { | 431 | static struct omap_dss_hdmi_data omap4_panda_hdmi_data = { |
432 | .ct_cp_hpd_gpio = HDMI_GPIO_CT_CP_HPD, | ||
433 | .ls_oe_gpio = HDMI_GPIO_LS_OE, | ||
455 | .hpd_gpio = HDMI_GPIO_HPD, | 434 | .hpd_gpio = HDMI_GPIO_HPD, |
456 | }; | 435 | }; |
457 | 436 | ||
@@ -459,8 +438,6 @@ static struct omap_dss_device omap4_panda_hdmi_device = { | |||
459 | .name = "hdmi", | 438 | .name = "hdmi", |
460 | .driver_name = "hdmi_panel", | 439 | .driver_name = "hdmi_panel", |
461 | .type = OMAP_DISPLAY_TYPE_HDMI, | 440 | .type = OMAP_DISPLAY_TYPE_HDMI, |
462 | .platform_enable = omap4_panda_panel_enable_hdmi, | ||
463 | .platform_disable = omap4_panda_panel_disable_hdmi, | ||
464 | .channel = OMAP_DSS_CHANNEL_DIGIT, | 441 | .channel = OMAP_DSS_CHANNEL_DIGIT, |
465 | .data = &omap4_panda_hdmi_data, | 442 | .data = &omap4_panda_hdmi_data, |
466 | }; | 443 | }; |