Using CSI to connect ov5647 camera

  • Hi guys,


    did anyone had experience with ov5647 cameras on imx8mm and how to setup device tree accordingly?


    In device tree I have fallowing. What I do not understand what is remote-endpoint and how this can be defined on picocoreimx8mm?


    &i2c1 {

    #address-cells = <1>;

    #size-cells = <0>;


    camera@36 {

    compatible = "ovti, ov5647";

    reg = <0x36>;

    clocks = <&cam1_clk>;


    port {

    camera_out: endpoint {

    remote-endpoint= ????

    };

    };


    cam1_clk: cam1_clk {

    #clock-cells = <0>;

    compatible = "xclk";

    clock-frequency = <33333000>;

    };

    };

    };


    Greetings,

    Nikola

  • Ok. I moved much more forward with this. Now I can see device in system but when I start streaming video image I get nothing from camera.