Qv4l2 display the camera of csi6-7 failed

I modified the kernel code for the display of csi6-7 as following and the attachment is the log.
orin-csi6-7-failed.txt (3.5 KB)
Do I need modify any other things?

==============kernel-modify start=====================
#if 0
static inline u32 csi5_port_to_stream(u32 csi_port)
** return (csi_port < NVCSI_PORT_E) ?**
** csi_port : (((csi_port - NVCSI_PORT_E) >> 1U) + NVCSI_PORT_E);**
static inline u32 csi5_port_to_stream(u32 csi_port)
** return (csi_port < NVCSI_PORT_G) ?**
** csi_port : (((csi_port - NVCSI_PORT_G) >> 1U) + NVCSI_PORT_G);**
==============kernel-modify end=====================
The following picture is the connected method of pin.

hello tianyi2,

may I know what’s the actual use-case, are you attempt to test CSI-G/H?

Yes, I want to test CSI6 and CSI7.

How do I modify the devicetree and kernel code to support CSI6 and CSI7?

hello tianyi2,

please see-also reference driver, e3333. that’s 6-cam reference driver,
for example, $public_sources/kernel_src/hardware/nvidia/platform/t23x/common/kernel-dts/t234-common-modules/tegra234-camera-e3333-a00.dtsi

as you can see, that’s using six 2-lane camera, they’re running on CSI-A, CSI-B, CSI-C, CSI-D, CSI-E, and CSI-G.
we’ve also test running the camera stream with r35.1/AGX Orin, it works normally.

Thanks, it is solved.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.