From: Sowjanya Komatineni <skomatineni@nvidia.com>
To: <skomatineni@nvidia.com>, <thierry.reding@gmail.com>,
<jonathanh@nvidia.com>, <hverkuil@xs4all.nl>,
<sakari.ailus@iki.fi>, <robh+dt@kernel.org>
Cc: <mchehab@kernel.org>, <linux-media@vger.kernel.org>,
<linux-tegra@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v4 00/13] tegra-video: Add support for capturing from HDMI-to-CSI bridge
Date: Fri, 11 Dec 2020 09:02:29 -0800 [thread overview]
Message-ID: <1607706162-1548-1-git-send-email-skomatineni@nvidia.com> (raw)
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:
[v4]: Includes v3 minor feedback
[v3]: Includes below changes based on v2 feedback
- Correct V4L2 pixel formats for RGB and YUV.
- Sets V4L2_IN_CAP_DV_TIMINGS capability for v4l2 input.
- Updates V4L2_FWNODE_CSI2_MAX_DATA_LANES to 8 and uses
data-lanes property of Tegra CSI device graph endpoint
for 8 lanes.
- Added V4L2 custom control V4L2_CID_TEGRA_SYNCPT_TIMEOUT_RETRY
for HDMI-to-CSI bridge debug purposes.
[v2]: v1 + additional patch for x8 capture support
Sowjanya Komatineni (13):
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 RGB and YUV
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: v4l2-fwnode: Update V4L2_FWNODE_CSI2_MAX_DATA_LANES to 8
dt-bindings: tegra: Update csi data-lanes to maximum 8 lanes
media: tegra-video: Add support for x8 captures with gang ports
media: tegra-video: Add custom V4L2 control
V4L2_CID_TEGRA_SYNCPT_TIMEOUT_RETRY
.../display/tegra/nvidia,tegra20-host1x.txt | 4 +-
drivers/staging/media/tegra-video/csi.c | 35 ++-
drivers/staging/media/tegra-video/csi.h | 14 +-
drivers/staging/media/tegra-video/tegra210.c | 340 ++++++++++++++-------
drivers/staging/media/tegra-video/vi.c | 338 +++++++++++++++++---
drivers/staging/media/tegra-video/vi.h | 23 +-
drivers/staging/media/tegra-video/video.c | 18 ++
include/media/v4l2-fwnode.h | 2 +-
8 files changed, 614 insertions(+), 160 deletions(-)
--
2.7.4
next reply other threads:[~2020-12-11 18:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-11 17:02 Sowjanya Komatineni [this message]
2020-12-11 17:02 ` [PATCH v4 01/13] media: tegra-video: Use zero crop settings if subdev has no get_selection Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 02/13] media: tegra-video: Enable VI pixel transform for YUV and RGB formats Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 03/13] media: tegra-video: Fix V4L2 pixel format RGB and YUV Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 04/13] media: tegra-video: Add support for V4L2_PIX_FMT_NV16 Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 05/13] media: tegra-video: Add DV timing support Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 06/13] media: tegra-video: Add support for EDID ioctl ops Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 07/13] media: tegra-video: Add support for VIDIOC_LOG_STATUS ioctl Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 08/13] media: tegra-video: Add support for V4L2_EVENT_SOURCE_CHANGE Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 09/13] media: tegra-video: Implement V4L2 device notify callback Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 10/13] media: v4l2-fwnode: Update V4L2_FWNODE_CSI2_MAX_DATA_LANES to 8 Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 11/13] dt-bindings: tegra: Update csi data-lanes to maximum 8 lanes Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 12/13] media: tegra-video: Add support for x8 captures with gang ports Sowjanya Komatineni
2020-12-11 17:02 ` [PATCH v4 13/13] media: tegra-video: Add custom V4L2 control V4L2_CID_TEGRA_SYNCPT_TIMEOUT_RETRY Sowjanya Komatineni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1607706162-1548-1-git-send-email-skomatineni@nvidia.com \
--to=skomatineni@nvidia.com \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil@xs4all.nl \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@iki.fi \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).