aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2012-05-09 10:59:01 -0400
committerPhilipp Zabel <p.zabel@pengutronix.de>2014-06-04 05:07:10 -0400
commit35de925ffaa67971e073d3ebf1e0600be0d0d3f1 (patch)
treed43d07842882332430c4711b38baa2e7a161647d /include/video
parent39b9004d1f626b88b775c7655d3f286e135dfec6 (diff)
gpu: ipu-v3: Add SMFC code
The Sensor Multi Fifo Controller (SMFC) is used as a buffer between the two CSIs (writing simultaneously) and up to four IDMAC channels. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/imx-ipu-v3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h
index c4d14ead5837..e639387eee3f 100644
--- a/include/video/imx-ipu-v3.h
+++ b/include/video/imx-ipu-v3.h
@@ -160,6 +160,12 @@ int ipu_dp_set_window_pos(struct ipu_dp *, u16 x_pos, u16 y_pos);
160int ipu_dp_set_global_alpha(struct ipu_dp *dp, bool enable, u8 alpha, 160int ipu_dp_set_global_alpha(struct ipu_dp *dp, bool enable, u8 alpha,
161 bool bg_chan); 161 bool bg_chan);
162 162
163/*
164 * IPU Sensor Multiple FIFO Controller (SMFC) functions
165 */
166int ipu_smfc_map_channel(struct ipu_soc *ipu, int channel, int csi_id, int mipi_id);
167int ipu_smfc_set_burstsize(struct ipu_soc *ipu, int channel, int burstsize);
168
163#define IPU_CPMEM_WORD(word, ofs, size) ((((word) * 160 + (ofs)) << 8) | (size)) 169#define IPU_CPMEM_WORD(word, ofs, size) ((((word) * 160 + (ofs)) << 8) | (size))
164 170
165#define IPU_FIELD_UBO IPU_CPMEM_WORD(0, 46, 22) 171#define IPU_FIELD_UBO IPU_CPMEM_WORD(0, 46, 22)