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 _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";
. . .
}