Jetson AGX ported the TP2815 camera and could not find the /dev/video directory

DTS Files

-modify hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-p2888-0001-p2822-0000-common.dtsi adding the following line:

#include “tegra194-p3737-tp285x-modules.dtsi”
**LINE TO ADD ----->#include <t19x-common-modules/tegra194-p3737-0000-camera-tp2854vc-a00.dtsi>

-copy tegra194-p3737-tp285x-modules.dts into folder hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-p3737-tp285x-modules.dtsi

-copy tegra194-p3737-0000-camera-tp2854vc-a00.dtsiinto folder hardware/nvidia/platform/t19x/common/kernel-dts/t19x-common-modules/tegra194-p3737-0000-camera-tp2854vc-a00.dtsi


-copy the content of drv folder into sources/kernel/nvidia/drivers/media/i2c/

-add the following defines to .config files and build the kernel

**-after boot manually load the module tp2856_ioctl.ko **

Becauase one I2C address mapping to 4 video device, there are two drivers, one is TP2854 inside with kernel for VI port & virtual channel binding, no real I2C access, another is tp2856_ioctl, this is for chip config and video dectect, if customer want one fix format only, this is not in need, just write setting table via I2C。
tegra194-p3737-0000-camera-tp2854vc-a00.dtsi (92.7 KB)
tegra194-p3737-tp285x-modules.dtsi (2.0 KB)

tp2854.c (21.7 KB)
tp2856_ioctl.c (158.9 KB)

I would like to ask why I can’t find the /dev/video device file, do I need support from other drivers, or if I haven’t created the device, thank you very much

hello 1526166099,

please refer to tutorials page for training video.
for example,

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