No UYVY data captured from Lontium lt6911uxc HDMI2CSI on Jetson Orin Nx

Our company managed to upgrade SOM from Jetson nano to Jetson Orin Nx(Jetpack 5.1.1, Jetson Linux 35.3.1). The customized carry board was compatible with Jetson Nano and Jetson Orin. The lt6911uxc chip connects CSI0(2 lanes) either in nano or in Orin Nx. In terms of modification for lt6911uxc driver, only dts files and pinmux have been changed, the C source file hasn’t been touched. It turns out:

  • lt6911uxc driver works properly on Jetson Nano, is able to capture UYVY format data successfully. I can use vlc to capture and playback and use v4l2-ctr to store raw data on Jetson Nano.

  • lt6911uxc driver can be detected and is able to receive format change interrupt. I tried to capture raw data by v4l2-ctr and 12_camera_v4l2_cuda with dma buffer in Jetson Multimedia sample, the both tools can be executed without any error, but there is no data I can capture.

The v4l2-ctl and media-ctl seems all right.

$ v4l2-ctl --all
Driver Info:
Driver name : tegra-video
Card type : vi-output, lt6911uxc 2-002b
Bus info : platform:tegra-capture-vi:0
Driver version : 5.10.104
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : tegra-camrtc-ca
Model : NVIDIA Tegra Video Input Device
Serial :
Bus info :
Media version : 5.10.104
Hardware revision: 0x00000003 (3)
Driver version : 5.10.104
Interface Info:
ID : 0x03000008
Type : V4L Video
Entity Info:
ID : 0x00000006 (6)
Name : vi-output, lt6911uxc 2-002b
Function : V4L2 I/O
Pad 0x01000007 : 0: Sink
Link 0x0200000c: from remote pad 0x1000003 of entity ‘13e40000.host1x:nvcsi@15a00000-’: Data, Enabled
Priority: 2
Video input : 0 (HDMI 0: ok)
DV timings:
Active width: 1920
Active height: 1080
Total width: 2200
Total height: 1125
Frame format: progressive
Polarities: +vsync +hsync
Pixelclock: 148500000 Hz (60.00 frames per second)
Horizontal frontporch: 88
Horizontal sync: 44
Horizontal backporch: 148
Vertical frontporch: 4
Vertical sync: 5
Vertical backporch: 36
Standards: CTA-861, DMT
CTA-861 VIC: 16
Flags: framerate can be reduced by 1/1.001, CE-video, has CTA-861 VIC
DV timings capabilities:
Minimum Width: 160
Maximum Width: 3840
Minimum Height: 120
Maximum Height: 2160
Minimum PClock: 25000000
Maximum PClock: 297000000
Standards: CTA-861, DMT, CVT
Capabilities: Progressive, Reduced Blanking, Custom Formats
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : ‘UYVY’ (UYVY 4:2:2)
Field : None
Bytes per Line : 3840
Size Image : 4147200
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: ITU-R 601
Quantization : Limited Range
Flags :

User Controls

        audio_sampling_rate 0x00981991 (int)    : min=0 max=192000 step=1 default=0 value=48000 flags=read-only
              audio_present 0x00981992 (bool)   : default=0 value=1 flags=read-only

Camera Controls

       sensor_configuration 0x009a2032 (u32)    : min=0 max=4294967295 step=1 default=0 [22] flags=read-only, volatile, has-payload
     sensor_mode_i2c_packet 0x009a2033 (u32)    : min=0 max=4294967295 step=1 default=0 [1026] flags=read-only, volatile, has-payload
  sensor_control_i2c_packet 0x009a2034 (u32)    : min=0 max=4294967295 step=1 default=0 [1026] flags=read-only, volatile, has-payload
                bypass_mode 0x009a2064 (intmenu): min=0 max=1 default=0 value=0
			0: 0 (0x0)
			1: 1 (0x1)
            override_enable 0x009a2065 (intmenu): min=0 max=1 default=0 value=0
			0: 0 (0x0)
			1: 1 (0x1)
               height_align 0x009a2066 (int)    : min=1 max=16 step=1 default=1 value=1
                 size_align 0x009a2067 (intmenu): min=0 max=2 default=0 value=0
			0: 1 (0x1)
			1: 65536 (0x10000)
			2: 131072 (0x20000)
           write_isp_format 0x009a2068 (int)    : min=1 max=1 step=1 default=1 value=1
   sensor_signal_properties 0x009a2069 (u32)    : min=0 max=4294967295 step=1 default=0 [30][18] flags=read-only, has-payload
    sensor_image_properties 0x009a206a (u32)    : min=0 max=4294967295 step=1 default=0 [30][16] flags=read-only, has-payload
  sensor_control_properties 0x009a206b (u32)    : min=0 max=4294967295 step=1 default=0 [30][36] flags=read-only, has-payload
          sensor_dv_timings 0x009a206c (u32)    : min=0 max=4294967295 step=1 default=0 [30][16] flags=read-only, has-payload
           low_latency_mode 0x009a206d (bool)   : default=0 value=0
           preferred_stride 0x009a206e (int)    : min=0 max=65535 step=1 default=0 value=0
               sensor_modes 0x009a2082 (int)    : min=0 max=30 step=1 default=30 value=30 flags=read-only

$ sudo media-ctl -p -d /dev/media0
[sudo] password for harvest:
Media controller API version 5.10.104

Media device information

driver tegra-camrtc-ca
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 5.10.104

Device topology

  • entity 1: 13e40000.host1x:nvcsi@15a00000- (2 pads, 2 links)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev0
    pad0: Sink
    ← “lt6911uxc 2-002b”:0 [ENABLED]
    pad1: Source
    → “vi-output, lt6911uxc 2-002b”:0 [ENABLED]

  • entity 4: lt6911uxc 2-002b (1 pad, 1 link)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev1
    pad0: Source
    [fmt:UYVY8_1X16/1920x1080 field:none colorspace:srgb ycbcr:601 quantization:lim-range]
    [dv.caps:BT.656/1120 min:160x120@25000000 max:3840x2160@297000000 stds:CEA-861,DMT,CVT caps:progressive,reduced-blanking,custom]
    [dv.detect:BT.656/1120 1920x1080p60 (2200x1125) stds: flags:]
    [dv.current:BT.656/1120 1920x1080p60 (2200x1125) stds:CEA-861,DMT flags:can-reduce-fps,CE-video,has-cea861-vic]
    → “13e40000.host1x:nvcsi@15a00000-”:0 [ENABLED]

  • entity 6: vi-output, lt6911uxc 2-002b (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video0
    pad0: Sink
    ← “13e40000.host1x:nvcsi@15a00000-”:1 [ENABLED]

I attached the both dts for Nano and Orin, I was wondering if there are something wrong in my dts on Orin.

I was wondering if the config p3509-a02+p3767-0000.conf enable CSI1_CLK or CSI0_CLK? My customized carrier board connects CSI0_CLK. Do I need to change dts to use CSI0_CLK? And where should I do?

Please reference tegra234-camera-rbpcv2-imx219.dtsi to add “lane_polarity=6” for Orin NX.

Is this still an issue to support? Any result can be shared?

Thanks @ShaneCCC and @kayccc, the “lane_polarity=6” resolve my problem when I use CSI0. Thanks

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