summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2010-11-10 18:10:28 +0800
committerLily Zhang <r58066@freescale.com>2010-11-22 09:39:10 +0800
commitc9cfd44930ff52a1d660e18522c54a33d343f09d (patch)
treea8f1bc43ea09b6b84dd41059f60c297cc59e208e /include/linux
parent733d8af86c98b0c4bdc88b4ef54b64bf74211f77 (diff)
ENGR00133318-1 IPUv3 CSI:Support SMFC channel interlaced scan order
This patch supports interlaced scan order for CSI->SMFCx->MEM channels. Signed-off-by: Liu Ying <b17645@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ipu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/ipu.h b/include/linux/ipu.h
index e060d376a0cc..493a4ce25664 100644
--- a/include/linux/ipu.h
+++ b/include/linux/ipu.h
@@ -304,8 +304,9 @@ typedef enum {
typedef union {
struct {
uint32_t csi;
- bool mipi_en;
uint32_t mipi_id;
+ bool mipi_en;
+ bool interlaced;
} csi_mem;
struct {
uint32_t in_width;
@@ -1003,6 +1004,8 @@ int32_t ipu_adc_init_ifc_timing(display_port_t disp, bool read,
int32_t ipu_csi_init_interface(uint16_t width, uint16_t height,
uint32_t pixel_fmt, ipu_csi_signal_cfg_t sig);
+int32_t ipu_csi_get_sensor_protocol(uint32_t csi);
+
int32_t ipu_csi_enable_mclk(int src, bool flag, bool wait);
static inline int32_t ipu_csi_enable_mclk_if(int src, uint32_t csi,