我是靠谱客的博主 忧伤鼠标,最近开发中收集的这篇文章主要介绍【Android Camera】Code Snippet (Sensor Property),觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

qcom,camera@6e {
    compatible = “qcom,s5k3l1yx”;
    reg = <0x6e 0x0>;
    qcom,slave-id = <0x6e 0x0 0x3121>; (slave id – 0x6e, chip id address – 0x0, chip id – 0x3121)
    qcom,csiphy-sd-index = <0>; (Use CSIPHY subdev 0)
    qcom,csid-sd-index = <0>; (Use CSID subdev 0)
    qcom,flash-src-index = <&led_flash0>; (Use LED flash subdev 0)
    qcom,mount-angle = <90>; (mount angle 90 degree)
    qcom,sensor-name = “s5k3l1yx”; (sensor name)
    cam_vdig-supply = <&pm8941_l3>; (Use L3 for VDIG)
    cam_vana-supply = <&pm8941_l17>; (Use L17 for VANA)
    cam_vio-supply = <&pm8941_lvs3>; (Use LVS3 for VIO)
    cam_vaf-supply = <&pm8941_l23>; (Use L23 for VAF)
    qcom,cam-vreg-name = “cam_vdig”, “cam_vio”, “cam_vana”, “cam_vaf”;
    qcom,cam-vreg-type = <0 1 0 0>; (0 – LDO, 1 – LVS)
    qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; (min voltage)
    qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; (max voltage)
    qcom,cam-vreg-op-mode = <105000 0 80000 100000>; (Optimum mode)
    qcom,gpio-no-mux = <0>;
    gpios = <&msmgpio 15 0>, <&msmgpio 90 0>;
    qcom,gpio-reset = <1>; (Use gpio pin 90 for reset)
    qcom,gpio-req-tbl-num = <0 1>; (0 – pin 15, 1 – pin 90)
    qcom,gpio-req-tbl-flags = <1 0>; (0 – output gpio, 1 – input gpio)
    qcom,gpio-req-tbl-label = “CAMIF_MCLK”, “CAM_RESET1”; (gpio name)
    qcom,gpio-set-tbl-num = <1 1>; (1 – pin 90)
    qcom,gpio-set-tbl-flags = <0 2>; (0 – GPIOF_OUT_INIT_LOW, 2 - GPIOF_OUT_INIT_HIGH)
    qcom,gpio-set-tbl-delay = <1000 30000>; (delay in micro sec)
    qcom,csi-lane-assign = <0x4320>; (Use 0x4320 for CSI lane assign)
    qcom,csi-lane-mask = <0x1F>; (Use 0x1F for lane mask)
    qcom,sensor-position = <0>; (0 – back camera, 1 – front camera)
    qcom,sensor-mode = <1>; (1 – 2D, 3 – 3D)
    qcom,cci-master = <0>; (0 – Master 0, 1 – Master 1)
    status = “ok”;

};


最后

以上就是忧伤鼠标为你收集整理的【Android Camera】Code Snippet (Sensor Property)的全部内容,希望文章能够帮你解决【Android Camera】Code Snippet (Sensor Property)所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(36)

评论列表共有 0 条评论

立即
投稿
返回
顶部