Hi @shivam_awasthi,
I hope you are doing well.
->Please decide the camera interface which is used by the camera, define a node for it, and set the required properties for it.
->Build a dtb file of that dts & then load it into u-boot.
->Please refer to this Omnivision OV2685 MIPI CSI-2 sensor(Camera Sensor).
Example:
&i2c7 {
ov2685: camera-sensor@3c {
compatible = "ovti,ov2685";
reg = <0x3c>;
pinctrl-names = "default";
pinctrl-0 = <&clk_24m_cam>;
clocks = <&cru SCLK_TESTCLKOUT1>;
clock-names = "xvclk";
avdd-supply = <&pp2800_cam>;
dovdd-supply = <&pp1800>;
dvdd-supply = <&pp1800>;
reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;
data-lanes = <1>;
};
};
};
};
->One can take a reference of it to create a node of a camera on the desired interface.
Please refer to the below file for more details.
Documentation/devicetree/bindings/media/i2c/ov2685.txt
Thanks & Regards,
Dhruvit Vasavada