media: tegra-video: Add Tegra210 Video input driver
authorSowjanya Komatineni <skomatineni@nvidia.com>
Tue, 5 May 2020 02:31:57 +0000 (19:31 -0700)
committerThierry Reding <treding@nvidia.com>
Tue, 12 May 2020 21:09:04 +0000 (23:09 +0200)
commit3d8a97eabef088393170a9ca46c12ff6021a3be4
tree40608f71433dab76c62e99f72c4f2d9454baaeed
parent612c341c4e358f6bfc00e222bd418b04fe3c96b7
media: tegra-video: Add Tegra210 Video input driver

Tegra210 contains a powerful Video Input (VI) hardware controller
which can support up to 6 MIPI CSI camera sensors.

Each Tegra CSI port can be one-to-one mapped to VI channel and can
capture from an external camera sensor connected to CSI or from
built-in test pattern generator.

Tegra210 supports built-in test pattern generator from CSI to VI.

This patch adds a V4L2 capture driver with a media interface for
Tegra210 built-in CSI to VI test pattern generator.

This patch includes TPG support only and all the video pipeline
configuration happens through the video device node.

Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Thierry Reding <treding@nvidia.com>
12 files changed:
drivers/staging/media/Kconfig
drivers/staging/media/Makefile
drivers/staging/media/tegra-video/Kconfig [new file with mode: 0644]
drivers/staging/media/tegra-video/Makefile [new file with mode: 0644]
drivers/staging/media/tegra-video/TODO [new file with mode: 0644]
drivers/staging/media/tegra-video/csi.c [new file with mode: 0644]
drivers/staging/media/tegra-video/csi.h [new file with mode: 0644]
drivers/staging/media/tegra-video/tegra210.c [new file with mode: 0644]
drivers/staging/media/tegra-video/vi.c [new file with mode: 0644]
drivers/staging/media/tegra-video/vi.h [new file with mode: 0644]
drivers/staging/media/tegra-video/video.c [new file with mode: 0644]
drivers/staging/media/tegra-video/video.h [new file with mode: 0644]