[PATCH v2 00/10] media: tegra-video: Add support for capturing from HDMI-to-CSI bridge

From: Sowjanya Komatineni
Date: Mon Oct 26 2020 - 23:19:28 EST


This series includes below changes to allow capturing from HDMI-to-CSI bridges.
- Add DV timing, EDID and log status V4L2 IOCTLs
- Subscribe V4L2_EVENT_SOURCE_CHANGE
- Implement V4L2 device notify callback to report queue error on source change
during active streaming.
- Add support for NV16 V4L2 Pixel format.
- Add x8 capture by multiple ports gang up for 4K captures from HDMI-to-CSI
bridges.

Note: These patches are tested with TC358840 HDMI-to-CSI bridge.

This series also include below fixes
- Allow format change for subdevs that don't have crop support.
- Correct V4L2 Pixel format for RGB888_1X24
- Enable VI pixel transform for YUV and RGB formats.

Delta between patch versions:
[v2]: v1 + additional patch for x8 capture support


Sowjanya Komatineni (10):
media: tegra-video: Use zero crop settings if subdev has no
get_selection
media: tegra-video: Enable VI pixel transform for YUV and RGB formats
media: tegra-video: Fix V4L2 pixel format for RGB888_1X24
media: tegra-video: Add support for V4L2_PIX_FMT_NV16
media: tegra-video: Add DV timing support
media: tegra-video: Add support for EDID ioctl ops
media: tegra-video: Add support for VIDIOC_LOG_STATUS ioctl
media: tegra-video: Add support for V4L2_EVENT_SOURCE_CHANGE
media: tegra-video: Implement V4L2 device notify callback
media: tegra-video: Add support for x8 captures with gang ports

drivers/staging/media/tegra-video/csi.c | 47 +++-
drivers/staging/media/tegra-video/csi.h | 14 +-
drivers/staging/media/tegra-video/tegra210.c | 312 +++++++++++++++++++--------
drivers/staging/media/tegra-video/vi.c | 288 +++++++++++++++++++++----
drivers/staging/media/tegra-video/vi.h | 17 +-
drivers/staging/media/tegra-video/video.c | 18 ++
6 files changed, 547 insertions(+), 149 deletions(-)

--
2.7.4