msm: camera: Add support for privacy light on 8960 Liquid

MPP 12 is used for privacy light on Liquid device.
Setting sink to low to turn the light on.
Privacy light is only turn on for front camera.

Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm8960.c b/arch/arm/mach-msm/board-msm8960.c
index 2694e0c..b9fe340 100644
--- a/arch/arm/mach-msm/board-msm8960.c
+++ b/arch/arm/mach-msm/board-msm8960.c
@@ -1064,6 +1064,10 @@
 	},
 };
 
+static struct msm8960_privacy_light_cfg privacy_light_info = {
+	.mpp = PM8921_MPP_PM_TO_SYS(12),
+};
+
 static void __init msm8960_init_cam(void)
 {
 	int i;
@@ -1073,6 +1077,16 @@
 		&msm8960_camera_sensor_qs_mt9p017,
 	};
 
+	if (machine_is_msm8960_liquid()) {
+		struct msm_camera_sensor_info *s_info;
+		s_info = msm8960_camera_sensor_imx074.dev.platform_data;
+		s_info->sensor_platform_info->mount_angle = 180;
+		s_info = msm8960_camera_sensor_ov2720.dev.platform_data;
+		s_info->sensor_platform_info->privacy_light = 1;
+		s_info->sensor_platform_info->privacy_light_info =
+			&privacy_light_info;
+	}
+
 	for (i = 0; i < ARRAY_SIZE(cam_dev); i++) {
 		struct msm_camera_sensor_info *s_info;
 		s_info = cam_dev[i]->dev.platform_data;