How to recognize new sensor driver?

Do you know recognize new-sensor driver in jetson nano?

I’ve tried to make ov5640.dtsi as refer to (imx219, 185 dtsi files)

as for the guideline (L4T Document)

The way of new camera sensor driver recognition is need to dtsi files

so I tried to somethings
such as

  1. make new dtsi file
  2. remove #include (before dtsi file (imx219 dual, imx219)) in tegra210-porg-p3448-common.dtsi
  3. add new my dtsi file (ov5640_u.dtsi)
  4. modify plugin manager
  5. kernel build
  6. sudo ./flash -k -r DTB mmcblk0p1

but It was not recognize my sensor :(

so I thought that What are problems?
I guess

  1. wrong new dtsi file
  2. wrong plugin manager
  3. something needed to recognize on(/dev/video0)

so I have some questions.

  1. Is this file must located /usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch/kernel-4.9/drivers/media/i2c

2.If I just wanna to recognize to /dev/video0 , don’t need to above file?

somebody help plz xD

You can use this ov5640 it’s not match NV camera kernel framework.
Please have reference to the programing guide to develop new sensor driver for Jetson platform.

Do I need ov5640.c files in order to recogition /dev/video0 when start jetson-nano(booting)?
or just needed to .dtsi ?(above sequence)

Is there any available .c file sample? (similar to ov5640)

Yes, a kernel driver must have to gen the video node. You can reference to ov5693.c or imx185.c