Driver TC358743XBG on Jetson NX Xavier with Jetpack 5.x

I am trying to driver TC358743XBG on Jetson NX Xavier with OS of Jetpack 5.1, here is my dtsi:
tegra194-xavier-tc358743.dtsi (5.9 KB)

With dmesg I can see the kernel log that my device can be detected:
[ 88.665210] irq: IRQ276: trimming hierarchy from :pmc@c360000
[ 88.693029] tc358743 2-000f: tc358743 found @ 0x1e (3180000.i2c)

The device can also be detect by i2c:
ubuntu@ubuntu:~/HDMItoCSI$ sudo i2cdetect -y -r 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – UU
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

But…Can not found any /dev/video* what ever I do…, and can not found any error logs

Have any Seniors meet problems like that?

Driver source code here:
tc358743.c (59.3 KB)

Hello @EmondCai and welcome to the NVIDIA developer forums!

I hope you don’t mind me moving this post to a location where it will get better visibility by matter experts, the dedicated Jetson Xavier NX category.

Thanks!

1 Like

Sure, It’s my first post on nvidia forum so thank you very much for your help

1 Like

Add message to confirm the v4l2_async_register_subdev() function are doing the job well.

Thanks

ShaneCCC Thank you for your reply!

I try to print the err of v4l2_async_register_subdev(sd) by using dev_info:
err = v4l2_async_register_subdev(sd);
dev_info(&client->dev, “err: %d, sd: %p\n”, err, sd);

And get the result of:
tc358743 2-000f: err: 0, sd: 00000000e78b6aa7

Is that useful?

I can not found any error logs related to tc358743, all things looks good. But the /sys/class/video4linux is empty

Is there any way to manually set /dev/video0 which can bound my tc358743 driver?

Sorry, I current don’t have idea for it. However you can try to reference to the tc358840 that been verified driver.

Thanks

It doesn’t matter, thank you for your reply

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