Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa373013 authored by Sagar Gore's avatar Sagar Gore Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Add camif subsample interface



Added support for Camif irq subsample configuration.

Change-Id: Iedf8c99eaecfca4c765c12456037d4e5c190bbfb
Signed-off-by: default avatarSagar Gore <sgore@codeaurora.org>
parent 33011188
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -153,6 +153,17 @@ struct msm_vfe_fetch_engine_cfg {
	uint32_t buf_stride;
};

/*
 * Camif output general configuration
 */
struct msm_vfe_camif_subsample_cfg {
	uint32_t irq_subsample_period;
	uint32_t irq_subsample_pattern;
};

/*
 * Camif frame and window configuration
 */
struct msm_vfe_camif_cfg {
	uint32_t lines_per_frame;
	uint32_t pixels_per_line;
@@ -163,6 +174,7 @@ struct msm_vfe_camif_cfg {
	uint32_t epoch_line0;
	uint32_t epoch_line1;
	enum msm_vfe_camif_input camif_input;
	struct msm_vfe_camif_subsample_cfg subsample_cfg;
};

struct msm_vfe_testgen_cfg {