Hello,I want to capture HDMI signal(1600x1200@60fps) using my custom board through tc358743XBG.I had tested and captured the 1080p@60fps video successfully. According to standard timing data and my source device timing out, I have setted the EDID, but the UXGA(1600x1200@60fps) resolution always does'nt work.
EDID message:
test1 pclk=161,hs=168,hbp=280,h_act=1600,hfp=112,vs=4,vbp=28,v_act=1200,vfp=3
or
test2 pclk=162,hs=64,hbp=192,h_act=1600,hfp=304,vs=3,vbp=46,v_act=1200,vfp=1
jetpack:4.3 kernel:4.9.140
There is some debug message:
nvidia@nvidia-desktop:~$ v4l2-ctl --log-status
Status Log:
[ 75.562090] tegra-vi4 15700000.vi: ================= START STATUS =================
[ 75.562617] tc358743 2-000f: -----Chip status-----
[ 75.562842] tc358743 2-000f: Chip ID: 0x00
[ 75.563033] tc358743 2-000f: Chip revision: 0x00
[ 75.563037] tc358743 2-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[ 75.563039] tc358743 2-000f: Sleep mode: off
[ 75.563041] tc358743 2-000f: Cable detected (+5V power): yes
[ 75.563204] tc358743 2-000f: DDC lines enabled: yes
[ 75.563367] tc358743 2-000f: Hotplug enabled: yes
[ 75.563554] tc358743 2-000f: CEC enabled: no
[ 75.563555] tc358743 2-000f: -----Signal status-----
[ 75.563557] tc358743 2-000f: TMDS signal detected: no
[ 75.563559] tc358743 2-000f: Stable sync signal: no
[ 75.563561] tc358743 2-000f: PHY PLL locked: no
[ 75.563562] tc358743 2-000f: PHY DE detected: yes
[ 75.563728] tc358743 2-000f: tc358743_get_detected_timings: no valid signal
[ 75.563730] tc358743 2-000f: No video detected
[ 75.563735] tc358743 2-000f: Configured format: 1600x1200p59.86 (2160x1245)
[ 75.563737] tc358743 2-000f: horizontal: fp = 112, +sync = 168, bp = 280
[ 75.563740] tc358743 2-000f: vertical: fp = 3, +sync = 4, bp = 38
[ 75.563742] tc358743 2-000f: pixelclock: 161000000
[ 75.563745] tc358743 2-000f: flags (0x0):
[ 75.563747] tc358743 2-000f: standards (0x6): DMT CVT
[ 75.563748] tc358743 2-000f: -----CSI-TX status-----
[ 75.563751] tc358743 2-000f: Lanes needed: 4
[ 75.563988] tc358743 2-000f: Lanes in use: 4
[ 75.564174] tc358743 2-000f: Waiting for particular sync signal: no
[ 75.564360] tc358743 2-000f: Transmit mode: no
[ 75.564548] tc358743 2-000f: Receive mode: no
[ 75.564736] tc358743 2-000f: Stopped: no
[ 75.564737] tc358743 2-000f: Color space: YCbCr 422 16-bit
[ 75.564900] tc358743 2-000f: -----DVI-D status-----
[ 75.564902] tc358743 2-000f: HDCP encrypted content: no
[ 75.564906] tc358743 2-000f: Input color space: RGB full range
[ 75.565072] tegra-vi4 15700000.vi: ================== END STATUS ==================
nvidia@nvidia-desktop:~$ dmesg | grep tc3
[ 72.038794] tc358743: no symbol version for module_layout
[ 72.044236] tc358743: loading out-of-tree module taints kernel.
[ 72.051320] tc358743 2-000f: 1-chip found @ 0xf (3180000.i2c)
[ 72.085976] tc358743 2-000f: 2-Subdev init done
[ 72.086665] tc358743 2-000f: 3-ctrl handler init done
[ 72.086914] tc358743 2-000f: 4-tc358743_ctrl_audio_sampling_rate 0
[ 72.087138] tc358743 2-000f: 5-tc358743_ctrl_audio_present no
[ 72.087150] tc358743 2-000f: A bunch of new cutoms done
[ 72.087775] tc358743 2-000f: 6-Controls updated
[ 72.088193] tc358743 2-000f: 7-Work queue created
[ 72.088200] tc358743 2-000f: 8-About to call tegra_media_entity_init
[ 72.088208] tc358743 2-000f: 9-tegra_media_entity_init complete
[ 72.088215] tc358743 2-000f: 10-About to register subdev
[ 72.088248] tegra-vi4 15700000.vi: subdev tc358743 2-000f bound
[ 72.090441] tc358743 2-000f: 11-Register subdev complete: 0
[ 72.090445] tc358743 2-000f: 12-before tc358743_initial_setup
[ 72.090446] tc358743 2-000f: tc358743_initial_setup:enter into this
[ 72.090959] tc358743 2-000f: tc358743_reset:
[ 72.091258] tc358743 2-000f: tc358743_sleep_mode(): disable
[ 72.095319] tc358743 2-000f: **********DDC CONTROL: 0x32
[ 72.095479] tc358743 2-000f: **********HPD CONTROL: 0x0
[ 72.095482] tc358743 2-000f: tc358743_set_hdmi_phy:enter into this
[ 72.097406] tc358743 2-000f: tc358743_set_hdmi_phy:Exit
[ 72.099099] tc358743 2-000f: tc358743_set_hdmi_audio:enter into this
[ 72.100970] tc358743 2-000f: tc358743_set_hdmi_info_frame_mode:enter into this
[ 72.102477] tc358743 2-000f: tc358743_initial_setup:Exit
[ 72.102480] tc358743 2-000f: 13-after tc358743_initial_setup
[ 72.102483] tc358743 2-000f: 14-before tc358743_s_dv_timings
[ 72.102486] tc358743 2-000f: enable_stream: disable
[ 72.103290] tc358743 2-000f: tc358743_set_pll:
[ 72.103293] tc358743 2-000f: tc358743_set_pll: updating PLL clock
[ 72.103295] tc358743 2-000f: tc358743_sleep_mode(): enable
[ 72.104414] tc358743 2-000f: tc358743_sleep_mode(): disable
[ 72.104738] tc358743 2-000f: tc358743_set_csi:enter into this
[ 72.104916] tc358743 2-000f: tc358743_reset:
[ 72.108491] tc358743 2-000f: tc358743_set_csi:Exit
[ 72.108495] tc358743 2-000f: 15-after tc358743_s_dv_timings
[ 72.108499] tc358743 2-000f: tc358743_set_csi_color_space: YCbCr 422 16-bit
[ 72.109370] tc358743 2-000f: 16-before tc358743_init_interrupts, irq: 242
[ 72.111127] tc358743 2-000f: 17-after tc358743_init_interrupts, irq: 242
[ 72.111406] tc358743 2-000f: tc358743_enable_interrupts: cable connected = 0
[ 72.112170] tc358743 2-000f: tc358743 found @ 0xf (3180000.i2c)
[ 72.112174] tc358743 2-000f: tc358743_s_edid, pad 0, start block 0, blocks 2
[ 72.112176] tc358743 2-000f: tc358743_disable_edid:
[ 72.119226] tc358743 2-000f: tc358743_s_edid is completed
[ 72.119232] tc358743 2-000f: tc358743_g_edid is working!
[ 72.125684] tc358743 2-000f: **********0x8c36: 0xe4
[ 72.125841] tc358743 2-000f: **********0x8c37: 0x3e
[ 72.126002] tc358743 2-000f: **********0x8c38: 0x40
[ 72.126182] tc358743 2-000f: **********39: 0x30
[ 72.126352] tc358743 2-000f: **********3A: 0x62
[ 72.126510] tc358743 2-000f: **********3B: 0xb0
[ 72.126665] tc358743 2-000f: **********3C: 0x2d
[ 72.126819] tc358743 2-000f: **********3D: 0x40
[ 72.126974] tc358743 2-000f: **********3E: 0x70
[ 72.127129] tc358743 2-000f: **********3F: 0xa8
[ 72.127285] tc358743 2-000f: **********40: 0x34
[ 72.127449] tc358743 2-000f: **********41: 0x0
[ 72.127453] tc358743 2-000f: Probe complete
[ 72.191866] tc358743 2-000f: tc358743_isr: IntStatus = 0x0200
[ 72.192789] tc358743 2-000f: tc358743_hdmi_sys_int_handler: SYS_INT =0x01
[ 72.192993] tc358743 2-000f: tc358743_hdmi_sys_int_handler: Tx 5V power present: yes
[ 72.193006] tc358743 2-000f: tc358743_enable_edid is working!:
[ 72.193029] tc358743 2-000f: tc358743_enable_interrupts: cable connected = 1
[ 72.294035] tc358743 2-000f: tc358743_delayed_work_enable_hotplug is workin:
[ 75.562617] tc358743 2-000f: -----Chip status-----
[ 75.562842] tc358743 2-000f: Chip ID: 0x00
[ 75.563033] tc358743 2-000f: Chip revision: 0x00
[ 75.563037] tc358743 2-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[ 75.563039] tc358743 2-000f: Sleep mode: off
[ 75.563041] tc358743 2-000f: Cable detected (+5V power): yes
[ 75.563204] tc358743 2-000f: DDC lines enabled: yes
[ 75.563367] tc358743 2-000f: Hotplug enabled: yes
[ 75.563554] tc358743 2-000f: CEC enabled: no
[ 75.563555] tc358743 2-000f: -----Signal status-----
[ 75.563557] tc358743 2-000f: TMDS signal detected: no
[ 75.563559] tc358743 2-000f: Stable sync signal: no
[ 75.563561] tc358743 2-000f: PHY PLL locked: no
[ 75.563562] tc358743 2-000f: PHY DE detected: yes
[ 75.563728] tc358743 2-000f: tc358743_get_detected_timings: no valid signal
[ 75.563730] tc358743 2-000f: No video detected
[ 75.563735] tc358743 2-000f: Configured format: 1600x1200p59.86 (2160x1245)
[ 75.563737] tc358743 2-000f: horizontal: fp = 112, +sync = 168, bp = 280
[ 75.563740] tc358743 2-000f: vertical: fp = 3, +sync = 4, bp = 38
[ 75.563742] tc358743 2-000f: pixelclock: 161000000
[ 75.563745] tc358743 2-000f: flags (0x0):
[ 75.563747] tc358743 2-000f: standards (0x6): DMT CVT
[ 75.563748] tc358743 2-000f: -----CSI-TX status-----
[ 75.563751] tc358743 2-000f: Lanes needed: 4
[ 75.563988] tc358743 2-000f: Lanes in use: 4
[ 75.564174] tc358743 2-000f: Waiting for particular sync signal: no
[ 75.564360] tc358743 2-000f: Transmit mode: no
[ 75.564548] tc358743 2-000f: Receive mode: no
[ 75.564736] tc358743 2-000f: Stopped: no
[ 75.564737] tc358743 2-000f: Color space: YCbCr 422 16-bit
[ 75.564900] tc358743 2-000f: -----DVI-D status-----
[ 75.564902] tc358743 2-000f: HDCP encrypted content: no
[ 75.564906] tc358743 2-000f: Input color space: RGB full range