Skip to content

driverBackgroundInformation

Tobias Kammacher edited this page Dec 5, 2016 · 1 revision

The drivers are written in the Video4Linux2 (V4L2) framework and have full device tree support.

Three main components are necessary for a V4L2 driver:

software_overview

Fig.2: Hardware and software components for using HDMI2CSI with a Nvidia Jetson TX1 host processor

Configuration

The hardware-specific device configuration is handled in the Device Tree source file. It consists of two parts:

  • The two TC358840 subdevices as I2C nodes
i2c7: i2c@546c0000 {
		/* HDMI IN A (4K) */
		tc358840xbg@0f {

			...

		};

		/* HDMI IN B (Full HD) */
		tc358840xbg@1f {
			
			...

		};
};
  • and the video interface of the TX1 (in short: VI2) with two ports
host1x {
		vi {
			...

			/* HDMI IN A */
			port@0 {
				...
			};

			/* HDMI IN B */
			port@2 {
				...
				};
			};
		};
};

Clone this wiki locally