==============================
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
==============================
Drivers
==============================
-copy the content of drv folder into sources/kernel/nvidia/drivers/media/i2c/
-add the following defines to .config files and build the kernel
CONFIG_VIDEO_TP2854=y
CONFIG_VIDEO_TP2856_IOCTL=m
**-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)