msm: camera2: Add MT9M114 sensor driver
Add MT9M114 sensor driver to enable YUV sensor on camera v2
framework. Register as platform driver and create v4l2 sub
device for MT9M114 driver.
Change-Id: I6728d876b245abd0539479149f44b5539aff66fd
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
[smuckle@codeaurora.org: backported from msm-3.7]
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/camera2.h b/arch/arm/mach-msm/include/mach/camera2.h
index af2a2fd..b518e56 100644
--- a/arch/arm/mach-msm/include/mach/camera2.h
+++ b/arch/arm/mach-msm/include/mach/camera2.h
@@ -93,4 +93,11 @@
int16_t mask;
};
+struct msm_camera_i2c_conf_array {
+ struct msm_camera_i2c_reg_conf *conf;
+ uint16_t size;
+ uint16_t delay;
+ enum msm_camera_i2c_data_type data_type;
+};
+
#endif