diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2012-05-22 11:08:48 -0400 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2014-06-04 05:07:11 -0400 |
commit | 3f5a8a946d860b9022a23bf1ed5ab76f6fdd7e6e (patch) | |
tree | 785427baffca229282fe7c1ffea3b147f9253933 /include/video | |
parent | e90460970fde8bdccf2147e899cb9953943e16d2 (diff) |
gpu: ipu-v3: Add CSI and SMFC module enable wrappers
IPU_CONF_..._EN bits are implementation details, not to be made public.
Add wrappers around ipu_module_enable/disable, so the CSI V4L2 driver
can enable/disable the CSI and SMFC modules.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/imx-ipu-v3.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h index f3714301d740..fe6053e6ae6d 100644 --- a/include/video/imx-ipu-v3.h +++ b/include/video/imx-ipu-v3.h | |||
@@ -162,8 +162,16 @@ int ipu_dp_set_global_alpha(struct ipu_dp *dp, bool enable, u8 alpha, | |||
162 | bool bg_chan); | 162 | bool bg_chan); |
163 | 163 | ||
164 | /* | 164 | /* |
165 | * IPU CMOS Sensor Interface (csi) functions | ||
166 | */ | ||
167 | int ipu_csi_enable(struct ipu_soc *ipu, int csi); | ||
168 | int ipu_csi_disable(struct ipu_soc *ipu, int csi); | ||
169 | |||
170 | /* | ||
165 | * IPU Sensor Multiple FIFO Controller (SMFC) functions | 171 | * IPU Sensor Multiple FIFO Controller (SMFC) functions |
166 | */ | 172 | */ |
173 | int ipu_smfc_enable(struct ipu_soc *ipu); | ||
174 | int ipu_smfc_disable(struct ipu_soc *ipu); | ||
167 | int ipu_smfc_map_channel(struct ipu_soc *ipu, int channel, int csi_id, int mipi_id); | 175 | int ipu_smfc_map_channel(struct ipu_soc *ipu, int channel, int csi_id, int mipi_id); |
168 | int ipu_smfc_set_burstsize(struct ipu_soc *ipu, int channel, int burstsize); | 176 | int ipu_smfc_set_burstsize(struct ipu_soc *ipu, int channel, int burstsize); |
169 | 177 | ||