msm: camera: Enable CSI PHY 2 and CSID 2 interface
Enable CSI PHY 2 and CSID 2 interfaces used by camera.
For some sensors, the data path shall be configured
through CSI PHY 2 and CSID 2 interface. These
changes enable support for additional interface.
Change-Id: I927a1b5538ebe8f870b6db4164a7938878c4c6f5
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8960-camera.c b/arch/arm/mach-msm/board-8960-camera.c
index 23c4928..fbe223d 100644
--- a/arch/arm/mach-msm/board-8960-camera.c
+++ b/arch/arm/mach-msm/board-8960-camera.c
@@ -411,6 +411,12 @@
.is_vpe = 1,
.cam_bus_scale_table = &cam_bus_client_pdata,
},
+ {
+ .ioclk.mclk_clk_rate = 24000000,
+ .ioclk.vfe_clk_rate = 228570000,
+ .csid_core = 2,
+ .cam_bus_scale_table = &cam_bus_client_pdata,
+ },
};
static struct camera_vreg_t msm_8960_back_cam_vreg[] = {
@@ -643,8 +649,10 @@
platform_device_register(&msm8960_device_csiphy0);
platform_device_register(&msm8960_device_csiphy1);
+ platform_device_register(&msm8960_device_csiphy2);
platform_device_register(&msm8960_device_csid0);
platform_device_register(&msm8960_device_csid1);
+ platform_device_register(&msm8960_device_csid2);
platform_device_register(&msm8960_device_ispif);
platform_device_register(&msm8960_device_vfe);
platform_device_register(&msm8960_device_vpe);