V851S DVP DTS/.fex 设置
-
大家好,在我的基于 V851S 的主板上通过 MIPI-CSI 成功使用 GC2053 后,我尝试使用 OV5640(应该受支持,因为它有驱动程序)来验证 DVP 端口是否正常工作。
现在我的问题是 DVP 的文档非常混乱。 他们似乎暗示现在应该通过相应地修改 DTS 来设置 DVP,而不是旧的 .fex 格式。 问题在于,与 .fex 相比,DTS 缺少一些定义,例如如何指定 MLCK 引脚? PLCK 怎么样? 目前我的配置不会产生任何结果,因为 MLCK 引脚 (NCSI_MLCK) 似乎没有为相机提供时钟。
这是我当前的 DTS (如您所见,旧的 GC2053 定义现已禁用以避免出现问题):
sensor0:sensor@0 { device_type = "sensor0"; sensor0_mname = "gc2053_mipi"; sensor0_twi_cci_id = <1>; sensor0_twi_addr = <0x6e>; sensor0_mclk_id = <0>; sensor0_pos = "rear"; sensor0_isp_used = <1>; sensor0_fmt = <1>; sensor0_stby_mode = <0>; sensor0_vflip = <1>; sensor0_hflip = <0>; sensor0_iovdd-supply = <>; sensor0_iovdd_vol = <1800000>; sensor0_avdd-supply = <>; sensor0_avdd_vol = <2800000>; sensor0_dvdd-supply = <>; sensor0_dvdd_vol = <1200000>; sensor0_power_en = <>; sensor0_reset = <&pio PA 8 1 0 1 0>; sensor0_pwdn = <&pio PA 9 1 0 1 0>; /*sensor0_sm_hs = <&pio PE 2 1 0 1 0>;*/ /*sensor0_sm_vs = <&pio PE 3 1 0 1 0>;*/ flash_handle = <&flash0>; act_handle = <&actuator0>; status = "disabled"; }; sensor1:sensor@1 { device_type = "sensor1"; sensor1_mname = "ov5640"; sensor1_twi_cci_id = <2>; sensor1_twi_addr = <0x78>; sensor1_mclk_id = <1>; sensor1_pos = "front"; sensor1_isp_used = <1>; sensor1_fmt = <1>; sensor1_stby_mode = <0>; sensor1_vflip = <0>; sensor1_hflip = <0>; sensor1_iovdd-supply = <>; sensor1_iovdd_vol = <1800000>; sensor1_avdd-supply = <>; sensor1_avdd_vol = <2800000>; sensor1_dvdd-supply = <>; sensor1_dvdd_vol = <1200000>; sensor1_power_en = <>; sensor1_reset = <&pio PD 8 1 0 1 0>; sensor1_pwdn = <>; sensor1_sm_hs = <&pio PE 2 1 0 1 0>; sensor1_sm_vs = <&pio PE 3 1 0 1 0>; flash_handle = <>; act_handle = <>; status = "okay"; };
这是我的引脚设置:
谁能确认我是否需要使用 DTS 或 .fex 才能使其正常工作? 如果是这样,我如何指定 NCSI_MLCK 和 PLCK 引脚?
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号