高通Camera模組驅動指南資料

SZX511發表於2018-10-15

Multimedia Driver Development and Bringup Guide – Camera


原資料內容節選:

3.1 Reference drivers for YUV and Bayer sensors

Bayer reference drivers

User space drivers are located in $(MM_CAMERA_DIR)/mm-camera2/media-controller/

modules/sensors/sensor_libs/.

--imx135_lib.c/h

--ov2680_lib.c

--ov2720_lib.c

--ov9724_lib.c

--s5k3l1yx_lib.c

YUV reference drivers

User space drivers are located in $(MM_CAMERA_DIR)/mm-camera2/media-controller/

modules/sensors/sensor_libs/.

--sp1628_lib.c 

--SKUAA-Shengtai-hi256_lib.c

--ov5645_lib.c 

--mt9m114_lib.c

Kernel drivers are located in kernel/drivers/media/platform/msm/camera_v2/sensor.

--sp1628.c

--hi256.c

--ov5645.c

--mt9m114.c

3.2 Files to be modified to add new driver

Bayer sensor

The device tree source file is <target>_camera*.dtsi in kernel/arch/arm/boot/dts/qcom/, e.g., 

msm8916-camera-sensor-mtp.dtsi. Customers should use camera slots as shown here:

                                   qcom,camera@0 {

                                                 cell-index = <0>;

                                                 compatible = "qcom,camera";

                                                  . . .

                                      }



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31529038/viewspace-2216465/,如需轉載,請註明出處,否則將追究法律責任。

相關文章