Xilinx V4L2 Switch driver
The purpose of this page is to describe the Linux V4L2 driver for Xilinx Switch(SWITCH) soft IP.* The IP is not available from the Xilinx IP catalog yet (as of September, 2014).Overview
The Linux RGB2YUV driver (
xilinx-switch.c) based on the V4L2 framework creates a subdev node(/dev/v4l-subdev*) which can be used to configure the SWITCH IP core. The general description of V4L2 framework is documented here,
v4l2-framework.txt.
Linux Kernel defconfig
CONFIG_VIDEO_XILINX_SWITCH and CONFIG_VIDEO_XILINX should be enabled.
Device tree binding
The dts node should be defined with correct hardware configuration. How to define the node is documented here,
xlnx,axi-switch.txt.
Supporting features
The SWITCH IP core provides to program routing from N inputs to M outputs, and the V4L2 SWITCH driver allows to control the IP core using the standard V4L2 API.