Ok... To any DeVs... If we do hav ov5963_video4linux2 sensor but not the actually ov5693.c and/or Ov5693.h driver. In the kernel/driver/media/msm
I believe we are going. No where!...
I hav found the actual script of driver but
Here it is..
/*kernel /msm*/*drivers/*media*/*msm*/ ov5693.c
/* Copyright (c) 2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */#include "msm_sensor.h"#define OV5693_SENSOR_NAME "ov5693"DEFINE_MSM_MUTEX(ov5693_mut);*static struct msm_sensor_ctrl_t ov5693_s_ctrl;*static struct msm_sensor_power_setting ov5693_power_setting[] = {{.seq_type = SENSOR_CLK,.seq_val = SENSOR_CAM_MCLK,.config_val = 0,.delay = 10,},{.seq_type = SENSOR_VREG,.seq_val = CAM_VANA,.config_val = 0,.delay = 0,},{.seq_type = SENSOR_VREG,.seq_val = CAM_VDIG,.config_val = 0,.delay = 0,},{.seq_type = SENSOR_VREG,.seq_val = CAM_VAF,.config_val = 0,.delay = 20,},{.seq_type = SENSOR_I2C_MUX,.seq_val = 0,.config_val = 0,.delay = 0,},};*static struct v4l2_subdev_info ov5693_subdev_info[] = {{.code = V4L2_MBUS_FMT_SBGGR10_1X10,.colorspace = V4L2_COLORSPACE_JPEG,.fmt = 1,.order = 0,},};*static const struct i2c_device_id ov5693_i2c_id[] = {{OV5693_SENSOR_NAME, (kernel_ulong_t)&ov5693_s_ctrl},{ }};*static struct i2c_driver ov5693_i2c_driver = {.id_table = ov5693_i2c_id,.probe = msm_sensor_i2c_probe,.driver = {.name = OV5693_SENSOR_NAME,},};*static struct msm_camera_i2c_client ov5693_sensor_i2c_client = {.addr_type = MSM_CAMERA_I2C_WORD_ADDR,};*static const struct of_device_id ov5693_dt_match[] = {{.compatible = "qcom,ov5693", .data = &ov5693_s_ctrl},{}};*MODULE_DEVICE_TABLE(of, ov5693_dt_match);*static struct platform_driver ov5693_platform_driver = {.driver = {.name = "qcom,ov5693",.owner = THIS_MODULE,.of_match_table = ov5693_dt_match,},};*static int32_t ov5693_platform_probe(struct platform_device *pdev){int32_t rc = 0;const struct of_device_id *match;pr_err("%s:%d\n", __func__, __LINE__);match = of_match_device(ov5693_dt_match, &pdev->dev);rc = msm_sensor_platform_probe(pdev, match->data);return rc;}*static int __init ov5693_init_module(void){int32_t rc = 0;pr_err("%s:%d\n", __func__, __LINE__);rc = platform_driver_probe(&ov5693_platform_driver,ov5693_platform_probe);if (!rc)return rc;pr_err("%s:%d rc %d\n", __func__, __LINE__, rc);return i2c_add_driver(&ov5693_i2c_driver);}*static void __exit ov5693_exit_module(void){pr_err("%s:%d\n", __func__, __LINE__);if (ov5693_s_ctrl.pdev) {msm_sensor_free_sensor_data(&ov5693_s_ctrl);platform_driver_unregister(&ov5693_platform_driver);} elsei2c_del_driver(&ov5693_i2c_driver);return;}*static struct msm_sensor_ctrl_t ov5693_s_ctrl = {.sensor_i2c_client = &ov5693_sensor_i2c_client,.power_setting_array.power_setting = ov5693_power_setting,.power_setting_array.size = ARRAY_SIZE(ov5693_power_setting),.msm_sensor_mutex = &ov5693_mut,.sensor_v4l2_subdev_info = ov5693_subdev_info,.sensor_v4l2_subdev_info_size = ARRAY_SIZE(ov5693_subdev_info),};*module_init(ov5693_init_module);module_exit(ov5693_exit_module);MODULE_DESCRIPTION("Omni 5MP Bayer sensor driver");MODULE_LICENSE("GPL v2");