Tool/software:
Hi
We're using linux SDK 10.00.07.04 and kernel 6.6, and we have already implemented the driver for our 4-CH Automotive AHD RX with MIPI-CSI2 Interface, and we have updated our DTS file. But he video didn't worked properly
here is a stract to our device tree
&main_i2c2 { #address-cells = <1>; #size-cells = <0>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c2_pins_default>; clock-frequency = <400000>; i2c-switch@71 { compatible = "nxp,pca9543"; #address-cells = <1>; #size-cells = <0>; reg = <0x71>; /* CAM port */ i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; nvp6324: camera@33 { compatible = "nextchip,nvp6324_mipi"; reg = <0x33>; clocks = <&clk_nvp6324_fixed>; clock-names = "capture_mclk"; mclk = <27000000>; mclk_source = <0>; pwn-gpios = <&exp1 13 GPIO_ACTIVE_HIGH>; port { csi2_cam0: endpoint { remote-endpoint = <&mipi_csi0_ep>; clock-lanes = <0>; data-lanes = <1 2 3 4>; }; }; }; }; }; }; &cdns_csi2rx0 { status = "okay"; ports{ #address-cells = <1>; #size-cells = <0>; csi0_port0: port@0{ reg = <0>; status = "okay"; mipi_csi0_ep: endpoint { remote-endpoint = <&csi2_cam0>; bus-type = <4>; /* MIPI CSI-2 D-PHY */ clock-lanes = <0>; data-lanes = <1 2 3 4>; }; }; }; }; &ti_csi2rx0 { status = "okay"; }; &dphy0 { status = "okay"; };
Is there anything missing on the Device tree?
we have used this commands on the terminal
insmod ./nvp6324.ko
media-ctl -V '"nvp6324_mipi 5-0033":0 [fmt:UYVY8_1X16/1280x720 field:none]'
media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:UYVY8_1X16/1280x720 field:none]'
media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":1 [fmt:UYVY8_1X16/1280x720 field:none]'
media-ctl -V '"30102000.ticsi2rx":0 [fmt:UYVY8_1X16/1280x720 field:none]'
media-ctl -V '"30102000.ticsi2rx":1 [fmt:UYVY8_1X16/1280x720 field:none]'
v4l2-ctl -z platform:30102000.ticsi2rx -d "30102000.ticsi2rx context 0" -v width=1280,height=720,pixelformat=UYVY
GST_DEBUG=3 gst-launch-1.0 -v v4l2src device=/dev/video2 ! video/x-raw,width=1280,height=720,framerate=30/1,format=UYVY ! ticolorconvert ! waylandsink
but it didn't show any camera image.
Anyone has any idea for fixing that?
BR