Rotary encoder connection on jetson TX2 J21 port, to read data from encoder in real time

Hi,
There is a topic about connecting it to Jetson Nano:
Rotary Encoder - GPIO interrupts failing to fire

Please take a look and check if it can be applied to connecting to TX2.