IMX93 OV5640 DEBUG

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX93 OV5640 DEBUG

28 Views
5454ty
Contributor II

HI,

    I am using the ov5640 on imx93 evk. My linux is 6.1.22

    My dts is as follows:

    


ov5640: camera@3c {
compatible = "ovti,ov5640_mipi";
reg = <0x3c>;

pinctrl-names ="default";
pinctrl-0=<&pinctrl_ov5640_gpio>;

clocks = <&clk IMX93_CLK_CCM_CKO3>;
assigned-clocks = <&clk IMX93_CLK_CCM_CKO3>;
assigned-clock-rates = <24000000>;
powerdown-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
clock-names = "xclk";

csi_id = <0>;
mclk = <24000000>;
mclk_source = <0>;
mipi_csi;
status = "okay";

port {
mipi_ep: endpoint {
remote-endpoint = <&mipi_csi_ep>;
};
};

&mipi_csi {
#address-cells = <1>;
#size-cells = <0>;

status = "okay";

port@0 {

mipi_csi_ep: endpoint {
remote-endpoint = <&mipi_ep>;
data-lanes = <2>;
cfg-clk-range = <28>;
hs-clk-range = <0x2b>;
bus-type = <4>;
};
};
};

But it is reported error when i compile

arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts:1360.39-1366.19: ERROR (phandle_references): /soc@0/bus@42800000/camera/csi@4ae00000/port@0/endpoint: Reference to non-existent node or label "mipi_ep"

DTC arch/arm64/boot/dts/freescale/imx93-11x11-evk-mt9m114.dtb
ERROR: Input tree has errors, aborting (use -f to force output)
make[2]: *** [scripts/Makefile.lib:406: arch/arm64/boot/dts/freescale/imx93-11x11-evk-i3c.dtb] Error 2
make[2]: *** Waiting for unfinished jobs....

 

5454ty_0-1725518281762.png

I using the i2c1

Can you help me

0 Kudos
Reply
1 Reply

8 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply