Skip to content

tegra-video: Add support for capturing from HDMI-to-CSI bridge

Sowjanya Komatineni linux-devicetree linux-media linux-tegra lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest13 patches 0 repliesNew
  2. v313 patches 6 repliesSuperseded
  3. v210 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v19 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13media: tegra-video: Use zero crop settings if subdev has no get_selectiondrivers/staging/media/tegra-video/vi.c+12 -50 replies
2/13media: tegra-video: Enable VI pixel transform for YUV and RGB formatsdrivers/staging/media/tegra-video/tegra210.c+14 -10 replies
3/13media: tegra-video: Fix V4L2 pixel format RGB and YUVdrivers/staging/media/tegra-video/tegra210.c+10 -100 replies
4/13media: tegra-video: Add support for V4L2_PIX_FMT_NV16drivers/staging/media/tegra-video/tegra210.c drivers/staging/media/tegra-video/vi.c+15 -00 replies
5/13media: tegra-video: Add DV timing supportdrivers/staging/media/tegra-video/vi.c+99 -00 replies
6/13media: tegra-video: Add support for EDID ioctl opsdrivers/staging/media/tegra-video/vi.c+28 -00 replies
7/13media: tegra-video: Add support for VIDIOC_LOG_STATUS ioctldrivers/staging/media/tegra-video/vi.c+10 -00 replies
8/13media: tegra-video: Add support for V4L2_EVENT_SOURCE_CHANGEdrivers/staging/media/tegra-video/vi.c+13 -10 replies
9/13media: tegra-video: Implement V4L2 device notify callbackdrivers/staging/media/tegra-video/vi.c drivers/staging/media/tegra-video/video.c+21 -00 replies
10/13media: v4l2-fwnode: Update V4L2_FWNODE_CSI2_MAX_DATA_LANES to 8include/media/v4l2-fwnode.h+1 -10 replies
11/13dt-bindings: tegra: Update csi data-lanes to maximum 8 lanesDocumentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt+2 -20 replies
12/13media: tegra-video: Add support for x8 captures with gang portsdrivers/staging/media/tegra-video/csi.c drivers/staging/media/tegra-video/csi.h drivers/staging/media/tegra-video/tegra210.c +2 more+362 -1490 replies
13/13media: tegra-video: Add custom V4L2 control V4L2_CID_TEGRA_SYNCPT_TIMEOUT_RETRYdrivers/staging/media/tegra-video/tegra210.c drivers/staging/media/tegra-video/vi.c drivers/staging/media/tegra-video/vi.h+38 -20 replies

Reviews trailers per patch

2 of 13 patches have a Reviewed-by or Acked-by.

PatchSakari AilusRob Herring
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13A-b
11/13A-b A-b
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/13] tegra-video: Add support for capturing from HDMI-to-CSI bridge

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(-)
Signature · 1 line
2.7.4