aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/media/tegra-video/csi.h
diff options
context:
space:
mode:
authorSowjanya Komatineni <skomatineni@nvidia.com>2020-08-12 02:27:17 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-08-28 15:11:33 +0200
commit1ebaeb09830f36c1111b72a95420814225bd761c (patch)
tree743904ef3aeb03dab814746b1df8a9900bb0e650 /drivers/staging/media/tegra-video/csi.h
parentmedia: tegra-video: Separate CSI stream enable and disable implementations (diff)
downloadwireguard-linux-1ebaeb09830f36c1111b72a95420814225bd761c.tar.xz
wireguard-linux-1ebaeb09830f36c1111b72a95420814225bd761c.zip
media: tegra-video: Add support for external sensor capture
This patch adds support to capture from the external sensor based on device graph in the device tree. Driver walks through the device graph to create media links between the entities and registers and unregisters video devices when the corresponding sub-devices are bound and unbound. Channel formats are enumerated based on available formats from the sensor and the corresponding matched formats from the Tegra supported video formats list. Each Tegra CSI instance can be configured as 4-lane or 2-lane based on supported lane configuration from the sensor through the device tree. Currently this driver supports V4L2 video node centric only. [hverkuil: changed video_unregister_device to vb2_video_unregister_device] Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/tegra-video/csi.h')
-rw-r--r--drivers/staging/media/tegra-video/csi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/tegra-video/csi.h b/drivers/staging/media/tegra-video/csi.h
index 93bd2a05797d..78a51102218f 100644
--- a/drivers/staging/media/tegra-video/csi.h
+++ b/drivers/staging/media/tegra-video/csi.h
@@ -7,6 +7,7 @@
#define __TEGRA_CSI_H__
#include <media/media-entity.h>
+#include <media/v4l2-async.h>
#include <media/v4l2-subdev.h>
/*