AnsweredAssumed Answered

imx6ulevk csi

Question asked by xinjian lu on Mar 22, 2017
Latest reply on Mar 24, 2017 by jimmychan

请问用ov7725芯片,采用csi接口

 Device Drivers > Multimedia support > Sensors used on soc_camera driver > ov772x camera support

文件所在目录

drivers/media/i2c/soc_camera/ov772x.c

drivers/media/ov772x.h

相应CSI的层次架构是哪些?

设备树里该如何实现

比如

ov772x: ov772x@42 {//
  compatible = "ovti,ov772x";
  reg = <0x42>;//
  pinctrl-names = "default";
  pinctrl-0 = <&pinctrl_csi1>;
  clock-frequency = <20000000>;
  clocks = <&clks IMX6UL_CLK_CSI>;
  clock-names = "csi_mclk";
  sel-gpios = <&pinctrl_csictl 1 26>;
  pwn-gpios = <&pinctrl_csictl 5 6>;//
  rst-gpios = <&pinctrl_csictl 5 1>;//
  csi_id = <0>;
  mclk = <24000000>;
  mclk_source = <0>;
  status = "disabled";
  port {
   ov772x_ep: endpoint {
    remote-endpoint = <&csi1_ep>;//
   };
  };
 };

发现ov772x.c里没有调用的关系,请问ov772x.c如何调用设备树?

Outcomes