summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2011-03-28 13:22:04 +0800
committerJason Chen <b02280@freescale.com>2011-03-28 13:27:41 +0800
commit00a4ed1d0b3cded90ae5bbe724781be929faf456 (patch)
tree1e547951ebc8b78084bfee6cd927fb6d8ebcd6db
parentaf266ca104675e2ba67d7d62f0c6758957480560 (diff)
ENGR00141152-1 header file: make default display option
After this patch, default display for below platforms: mx51 bbg: DVI-XGA on DI0 mx53 ard: LVDS-XGA on DI0 mx53 evk: CLAA-WVGA on DI0 mx53 loco: VGA-XGA on DI1 mx53 smd: LVDS-XGA on DI1 The default options will work if you do not enter other video cmdline options. For platform need enable other drivers, it will enable it automatically. For example, under default option, mx53 loco will enable tve-vga driver automatically; before this patch, it need add 'vga' to cmdline to enable it. And 'di1_primary' option also will be enabled automatically if need. If you want to overwrite the default option, please refer to below: enable vga: 'vga' disable vga: 'vga=off' enable tve: 'tve' disable tve: 'tve=off' enable ddc: 'ddc' disable ddc: 'ddc=off' enable hdmi: 'hdmi' disable hdmi: 'hdmi=off' choose di0 as primary: 'di0_primary' choose di1 as primary: 'di1_primary' Signed-off-by: Jason Chen <b02280@freescale.com>
-rw-r--r--include/linux/fsl_devices.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 99112b1dd43e..348884d1199c 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -307,6 +307,7 @@ struct mxc_lcd_platform_data {
char *core_reg;
char *analog_reg;
void (*reset) (void);
+ int boot_enable;
};
struct mxc_ddc_platform_data {
@@ -314,6 +315,7 @@ struct mxc_ddc_platform_data {
void (*init) (void);
int (*update) (void);
char *analog_regulator;
+ int boot_enable;
};
struct mxc_tsc_platform_data {
@@ -496,11 +498,17 @@ struct flexcan_platform_data {
struct tve_platform_data {
char *dac_reg;
char *dig_reg;
+#define MXC_TVE_TVOUT 0x1
+#define MXC_TVE_VGA 0x2
+ int boot_enable;
};
struct ldb_platform_data {
char *lvds_bg_reg;
u32 ext_ref;
+#define MXC_LDBDI0 0x1
+#define MXC_LDBDI1 0x2
+ int boot_enable;
};
struct mxc_vpu_platform_data {