summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorb37753 <B37753@freescale.com>2012-01-06 15:50:40 -0600
committerJason Liu <r64343@freescale.com>2012-01-19 12:41:21 +0800
commit5d7f7473514222c03de999215eb0d28c3012fcca (patch)
treea6dca0b2c8a5e044b6ca5f7af3cbb8e105809ac5 /include
parent58c89437507a7724a9087cc7b61c1807e97348e7 (diff)
ENGR00170444: [v3]imx6sabreauto adv7180 TVin port
Kconfig and Makefile was modified in order to enable adv7180 driver for mx6q architecture. adv7180.c mutex was changed to semaphore as is described in "https://lwn.net/Articles/304725/ ". sensor data structure is added in fsl_devices.h. mxc_v4l2_capture.c condition in mxc_v4l2_sparam was removed because is going to be always true capture mode only have 1 possible value as is described in "https://lwn.net/Articles/235023/". ipu_capture.c clock divisor setup was added at init the csi. Signed-off-by: B37753 <B37753@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index aab2fc827ea0..72c04ee297fe 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -6,7 +6,7 @@
*
* Maintainer: Kumar Gala <galak@kernel.crashing.org>
*
- * Copyright 2004-2011 Freescale Semiconductor, Inc.
+ * Copyright 2004-2012 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -240,6 +240,23 @@ struct fsl_mxc_lcd_platform_data {
int disp_id;
};
+struct fsl_mxc_tvout_platform_data {
+ char *io_reg;
+ char *core_reg;
+ char *analog_reg;
+ u32 detect_line;
+};
+
+struct fsl_mxc_tvin_platform_data {
+ char *dvddio_reg;
+ char *dvdd_reg;
+ char *avdd_reg;
+ char *pvdd_reg;
+ void (*pwdn) (int pwdn);
+ void (*reset) (void);
+ bool cvbs;
+};
+
struct fsl_mxc_dvi_platform_data {
void (*init) (void);
int (*update) (void);