t18x or t19x ? at device tree

Hi:
Now I am trying to port from jetPack3.3 to jetPack4.2. Our board is tx2.

I want to modify something about camera at device tree. I should modify the files in the …/hardware/nvidia/platform/t18x ??? or I should modify the files in the …/hardware/nvidia/platform/t19x ???

when I read “Camera Modules and Device Tree” which is at the “Sensor Driver Programming Guide” of “NVIDIA Tegra Linux Driver Package”. It said :

To add one or more camera modules to a device tree

  1. Locate or create a tegra-camera-platform device node in the kernel source tree at:
    /hardware/nvidia/platform/t19x/common/kernel-dts/t19x-common-modules/tegra194-camera-imx185-a00.dtsi

    It confused me.

    t18x and t19x shouldn’t be two platforms ?

    At jetPack3.3,I modify the spi,usb,camera all at t18x and tegra. all is ok.
    At jetPack4.2,I modify the spi,usb at t18x,It’s ok.but why camera is at t19x ?

Hi XuXiang,

For Tx2, You can very well use the device tree present in the location …/hardware/nvidia/platform/t18x
The location …/hardware/nvidia/platform/t19x is for Jetson AGX Xavier.

Thanks!

hello XuXiang,

these revision naming means each of different platforms.
suggest you check [platform adaptation and bring-up guides] to have details.
BTW, you may also check Camera Sensor Drivers Porting Guide for reference.
thanks