aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJimmy Rubin <ejimrub@steludxu031.lud.stericsson.com>2010-06-11 13:37:05 +0200
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:43 -0600
commit6a347421a38a43019c4775c29ceaddbbf15d32e1 (patch)
tree4891174fe4a71434f8a1d1880c3dde3c02769a79 /include
parent8c47209c5bf71bfcb79544171a2ac744b93eb081 (diff)
MCDE: Supports new HDMI features
This patch does the following: * Dynamic resolution change (HDMI and TV-out) * Dynamic change of rotation (Main display) * Dynamic change to 24 and 32 bpp (RGB888, RGBA8888, RGBX8888) * HDMI stability improvements * Removes Framebuffer_console for V.20 and HREF+. * Support for disabling display initialization if u-boot supports startup graphics * Removes backlight code, depends on led api * Moves PRCMU settings to prcmu_fw.c ST Ericsson Change-Id: WP259361 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I68fc0857442dee2bedb849996c060a179350b712 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2537 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/video/av8100.h4
-rw-r--r--include/video/mcde_display-ab8500.h5
-rw-r--r--include/video/mcde_display-av8100.h3
-rw-r--r--include/video/mcde_display.h3
4 files changed, 10 insertions, 5 deletions
diff --git a/include/video/av8100.h b/include/video/av8100.h
index fa2cb38279d..5a63d353456 100755
--- a/include/video/av8100.h
+++ b/include/video/av8100.h
@@ -85,7 +85,8 @@ enum av8100_te_config {
AV8100_TE_OFF, /* NO TE*/
AV8100_TE_DSI_LANE, /* TE generated on DSI lane */
AV8100_TE_IT_LINE, /* TE generated on IT line (GPIO) */
- AV8100_TE_DSI_IT /* TE generatedon both DSI lane & IT line*/
+ AV8100_TE_DSI_IT, /* TE generatedon both DSI lane & IT line*/
+ AV8100_TE_GPIO_IT /* TE on GPIO I2S DAT3 & or IT line*/
};
enum av8100_audio_if_format {
@@ -524,6 +525,7 @@ enum av8100_output_CEA_VESA av8100_video_output_format_get(int xres,
int yres,
int htot,
int vtot,
+ int pixelclk,
bool interlaced);
#endif /* __AV8100__H__ */
diff --git a/include/video/mcde_display-ab8500.h b/include/video/mcde_display-ab8500.h
index a146ba879d2..adab52787bb 100644
--- a/include/video/mcde_display-ab8500.h
+++ b/include/video/mcde_display-ab8500.h
@@ -11,10 +11,13 @@
#ifndef __DISPLAY_AB8500__H__
#define __DISPLAY_AB8500__H__
+#include <video/mcde.h>
+
struct ab8500_display_platform_data {
/* Platform info */
const char *regulator_id;
- /* Driver data */
+ struct mcde_col_convert rgb_2_yCbCr_convert;
+ /* Driver data */ /* TODO: move to driver data instead */
struct regulator *regulator;
};
diff --git a/include/video/mcde_display-av8100.h b/include/video/mcde_display-av8100.h
index 4fd1a68d4ff..e93b3961a6d 100644
--- a/include/video/mcde_display-av8100.h
+++ b/include/video/mcde_display-av8100.h
@@ -24,8 +24,9 @@ struct mcde_display_hdmi_platform_data {
const char *regulator_id;
int reset_delay; /* ms */
u32 ddb_id;
+ struct mcde_col_convert rgb_2_yCbCr_convert;
- /* Driver data */
+ /* Driver data */ /* TODO: move to driver data instead */
bool hdmi_platform_enable;
struct regulator *regulator;
};
diff --git a/include/video/mcde_display.h b/include/video/mcde_display.h
index 981a3d60833..aa184cb6162 100644
--- a/include/video/mcde_display.h
+++ b/include/video/mcde_display.h
@@ -14,7 +14,7 @@
#include <linux/device.h>
#include <linux/pm.h>
-#include "mcde.h"
+#include <video/mcde.h>
#define UPDATE_FLAG_PIXEL_FORMAT 0x1
#define UPDATE_FLAG_VIDEO_MODE 0x2
@@ -52,7 +52,6 @@ struct mcde_display_device {
enum mcde_display_power_mode power_mode;
enum mcde_ovly_pix_fmt default_pixel_format;
enum mcde_ovly_pix_fmt pixel_format;
- enum mcde_port_pix_fmt port_pixel_format;
enum mcde_display_rotation rotation;
bool synchronized_update;
struct mcde_video_mode video_mode;