Skip to content

TW686x driver

Krzysztof Hałasa linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12Add support for TW686[4589]-based frame grabbersdrivers/media/pci/Kconfig drivers/media/pci/Makefile drivers/media/pci/tw686x/Kconfig +5 more+1193 -00 replies
2/12TW686x: Trivial changes suggested by Ezequiel Garciadrivers/media/pci/tw686x/tw686x-core.c drivers/media/pci/tw686x/tw686x-regs.h drivers/media/pci/tw686x/tw686x-video.c +1 more+35 -480 replies
3/12TW686x: Switch to devm_*()drivers/media/pci/tw686x/tw686x-core.c+12 -350 replies
4/12TW686x: Fix s_std() / g_std() / g_parm() pointer to selfdrivers/media/pci/tw686x/tw686x-video.c+3 -30 replies
5/12TW686x: Fix handling of TV standard valuesdrivers/media/pci/tw686x/tw686x-video.c+13 -170 replies
6/12TW686x: Fix try_fmt() color spacedrivers/media/pci/tw686x/tw686x-video.c+1 -00 replies
7/12TW686x: Add enum_input() / g_input() / s_input()drivers/media/pci/tw686x/tw686x-video.c+31 -00 replies
8/12TW686x: do not use pci_dma_supported()drivers/media/pci/tw686x/tw686x-core.c+1 -10 replies
9/12TW686x: switch to vb2_v4l2_bufferdrivers/media/pci/tw686x/tw686x-video.c drivers/media/pci/tw686x/tw686x.h+16 -160 replies
10/12TW686x: handle non-NULL format in queue_setup()drivers/media/pci/tw686x/tw686x-video.c+53 -480 replies
11/12TW686x: Track frame sequence numbersdrivers/media/pci/tw686x/tw686x-video.c drivers/media/pci/tw686x/tw686x.h+6 -00 replies
12/12TW686x: return VB2_BUF_STATE_ERROR frames on timeout/errorsdrivers/media/pci/tw686x/tw686x-video.c+23 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/12] TW686x driver

Hi,

I'm posting a driver for TW686[4589]-based PCIe cards. The first patch has been posted and reviewed by Ezequiel back in July 2015, the subsequent patches are changes made in response to the review and/or are required by the more recent kernel versions.

This driver lacks CMA-based frame mode DMA operation, I'll add it a bit later. Also:
- I haven't converted the kthread to a workqueue - the driver is modeled after other code and it can be done later, if needed
- I have skipped suggested PCI ID changes and the 704 vs 720 pixels/line question - this may need further consideration.

Please merge.

The following changes since Linux 4.4 are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux.git techwell-4.4

for you to fetch changes up to 8e495778acd4602c472cefa460a1afb41c4b8f25:

[MEDIA] TW686x: return VB2_BUF_STATE_ERROR frames on timeout/errors (2016-01-27 14:47:41 +0100)

----------------------------------------------------------------
Krzysztof Hałasa (12):
[MEDIA] Add support for TW686[4589]-based frame grabbers [MEDIA] TW686x: Trivial changes suggested by Ezequiel Garcia [MEDIA] TW686x: Switch to devm_*()
[MEDIA] TW686x: Fix s_std() / g_std() / g_parm() pointer to self [MEDIA] TW686x: Fix handling of TV standard values [MEDIA] TW686x: Fix try_fmt() color space
[MEDIA] TW686x: Add enum_input() / g_input() / s_input() [MEDIA] TW686x: do not use pci_dma_supported()
[MEDIA] TW686x: switch to vb2_v4l2_buffer
[MEDIA] TW686x: handle non-NULL format in queue_setup() [MEDIA] TW686x: Track frame sequence numbers
[MEDIA] TW686x: return VB2_BUF_STATE_ERROR frames on timeout/errors

 drivers/media/pci/Kconfig               |   1 +
 drivers/media/pci/Makefile              |   1 +
 drivers/media/pci/tw686x/Kconfig        |  16 ++
 drivers/media/pci/tw686x/Makefile       |   3 +
 drivers/media/pci/tw686x/tw686x-core.c  | 140 +++++++++++++
 drivers/media/pci/tw686x/tw686x-regs.h  | 103 +++++++++
 drivers/media/pci/tw686x/tw686x-video.c | 815 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/media/pci/tw686x/tw686x.h       | 118 +++++++++++
 8 files changed, 1197 insertions(+)
 create mode 100644 drivers/media/pci/tw686x/Kconfig
 create mode 100644 drivers/media/pci/tw686x/Makefile
 create mode 100644 drivers/media/pci/tw686x/tw686x-core.c
 create mode 100644 drivers/media/pci/tw686x/tw686x-regs.h
 create mode 100644 drivers/media/pci/tw686x/tw686x-video.c
 create mode 100644 drivers/media/pci/tw686x/tw686x.h

Thanks.

Signature · 4 lines
Krzysztof Halasa

Industrial Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland