1、camera kernel驱动
高通的kernel中,将camera分为两部分:video和camera两部分
1.1、camera video部分
video部分与userspace进行交互,sensor是有camera厂商定义的寄存器配置部分,主要完成相关寄存器参数的配置。
主要文件路径:kernel\msm-4.4\arch\arm\boot\dts\qcom\sdm660-camera.dtsi
kernel\msm-4.4\drivers\media\platform\msm\camera_v2\msm.c
qcom,msm-cam@ca00000 {
compatible = "qcom,msm-cam";
reg = <0xca00000 0x4000>;
reg-names = "msm-cam";
status = "ok";
bus-vectors = "suspend", "svs", "nominal", "turbo";
qcom,bus-votes = <0 150000000 320000000 320000000>;
qcom,gpu-limit = <700000000>;
};
static const struct of_device_id msm_dt_match[] = {
{.compatible = “qcom,msm-cam”}, {} }; MODULE_DEVICE_TABLE(of, msm_dt_match);
sta
|