linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 RFC v3] media: platform: add NVIDIA Tegra VI driver
@ 2015-09-23  1:30 Bryan Wu
       [not found] ` <1442971834-2721-1-git-send-email-pengw-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bryan Wu @ 2015-09-23  1:30 UTC (permalink / raw)
  To: hansverk-FYB4Gu1CFyUAvxtiuMwx3w,
	linux-media-u79uwXL29TY76Z2rM5mHXA,
	treding-DDmLM1+adcrQT0dZR+AlfA
  Cc: ebrower-DDmLM1+adcrQT0dZR+AlfA, jbang-DDmLM1+adcrQT0dZR+AlfA,
	swarren-DDmLM1+adcrQT0dZR+AlfA, davidw-DDmLM1+adcrQT0dZR+AlfA,
	gfitzer-DDmLM1+adcrQT0dZR+AlfA, bmurthyv-DDmLM1+adcrQT0dZR+AlfA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

This patchset add and enable V4L2 driver for latest NVIDIA Tegra
Video Input hardware controller.

It's based on the staging/work branch of Thierry Reding Tegra
upstream kernel github repo, which is based on 4.2-rc1.
(https://github.com/thierryreding/linux/tree/staging/work) 

v4:
  - fix all the coding style issues
  - solve all the minor problems pointed out by Hans Verkuil

v3:
  - rework on the locking code related to kthread
  - remove some dead code
  - other fixes

v2:
  - allocate kthread for each channel instead of workqueue
  - create tegra-csi as a separated V4L2 subdevice
  - define all the register bits needed in this driver
  - add device tree binding document
  - update things according to Hans and Thierry's review.

Bryan Wu (3):
  [media] v4l: tegra: Add NVIDIA Tegra VI driver
  ARM64: add tegra-vi support in T210 device-tree
  Documentation: DT bindings: add VI and CSI bindings

 .../bindings/gpu/nvidia,tegra20-host1x.txt         | 211 +++++-
 arch/arm64/boot/dts/nvidia/tegra210-p2571-e01.dts  |   8 +
 arch/arm64/boot/dts/nvidia/tegra210.dtsi           | 174 ++++-
 drivers/media/platform/Kconfig                     |   1 +
 drivers/media/platform/Makefile                    |   2 +
 drivers/media/platform/tegra/Kconfig               |  10 +
 drivers/media/platform/tegra/Makefile              |   3 +
 drivers/media/platform/tegra/tegra-channel.c       | 802 +++++++++++++++++++++
 drivers/media/platform/tegra/tegra-core.c          | 252 +++++++
 drivers/media/platform/tegra/tegra-core.h          | 162 +++++
 drivers/media/platform/tegra/tegra-csi.c           | 566 +++++++++++++++
 drivers/media/platform/tegra/tegra-vi.c            | 581 +++++++++++++++
 drivers/media/platform/tegra/tegra-vi.h            | 213 ++++++
 13 files changed, 2978 insertions(+), 7 deletions(-)
 create mode 100644 drivers/media/platform/tegra/Kconfig
 create mode 100644 drivers/media/platform/tegra/Makefile
 create mode 100644 drivers/media/platform/tegra/tegra-channel.c
 create mode 100644 drivers/media/platform/tegra/tegra-core.c
 create mode 100644 drivers/media/platform/tegra/tegra-core.h
 create mode 100644 drivers/media/platform/tegra/tegra-csi.c
 create mode 100644 drivers/media/platform/tegra/tegra-vi.c
 create mode 100644 drivers/media/platform/tegra/tegra-vi.h

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/3 RFC v5] media: platform: add NVIDIA Tegra VI driver
@ 2015-11-11 19:50 Bryan Wu
       [not found] ` <1447271448-30056-1-git-send-email-pengw-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Bryan Wu @ 2015-11-11 19:50 UTC (permalink / raw)
  To: hansverk-FYB4Gu1CFyUAvxtiuMwx3w,
	linux-media-u79uwXL29TY76Z2rM5mHXA,
	treding-DDmLM1+adcrQT0dZR+AlfA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA
  Cc: ebrower-DDmLM1+adcrQT0dZR+AlfA, jbang-DDmLM1+adcrQT0dZR+AlfA,
	swarren-DDmLM1+adcrQT0dZR+AlfA, davidw-DDmLM1+adcrQT0dZR+AlfA,
	bmurthyv-DDmLM1+adcrQT0dZR+AlfA

This patchset add and enable V4L2 driver for latest NVIDIA Tegra
Video Input hardware controller.

It's based on the staging/work branch of Thierry Reding Tegra
upstream kernel github repo, which is based on 4.3.0-next-20151106.
(https://github.com/thierryreding/linux/tree/staging/work)

v5:
  - Introduce 2 kthreads for capture
    Use one kthread to start capture a frame and wait for next frame
    start. Before waiting, it will move the current buffer to another queue
    which will be handled by the second kthread.
    
    The second kthread (capture_done) will wait for memory output done
    sync point event and hand over the buffer to videobuffer2 framework as
    capture done.

  - Fix building issue after upstream V4L2 API changed

  - Fix one potential race condition
    Increase syncpoint max value before arming syncshot capture

  - Remove freezer in kthread since it's problematic according latest
    discussion in 2015 Kernel Summit
  - Verify with a real sensor module (OV5693)

v4:
  - fix all the coding style issues
  - solve all the minor problems pointed out by Hans Verkuil

v3:
  - rework on the locking code related to kthread
  - remove some dead code
  - other fixes

v2:
  - allocate kthread for each channel instead of workqueue
  - create tegra-csi as a separated V4L2 subdevice
  - define all the register bits needed in this driver
  - add device tree binding document
  - update things according to Hans and Thierry's review.

Bryan Wu (3):
  [media] v4l: tegra: Add NVIDIA Tegra VI driver
  ARM64: add tegra-vi support in T210 device-tree
  Documentation: DT bindings: add VI and CSI bindings

 .../display/tegra/nvidia,tegra20-host1x.txt        | 211 ++++-
 arch/arm64/boot/dts/nvidia/tegra210-p2571.dts      |   8 +
 arch/arm64/boot/dts/nvidia/tegra210.dtsi           | 174 ++++-
 drivers/media/platform/Kconfig                     |   1 +
 drivers/media/platform/Makefile                    |   2 +
 drivers/media/platform/tegra/Kconfig               |  10 +
 drivers/media/platform/tegra/Makefile              |   3 +
 drivers/media/platform/tegra/tegra-channel.c       | 849 +++++++++++++++++++++
 drivers/media/platform/tegra/tegra-core.c          | 254 ++++++
 drivers/media/platform/tegra/tegra-core.h          | 162 ++++
 drivers/media/platform/tegra/tegra-csi.c           | 560 ++++++++++++++
 drivers/media/platform/tegra/tegra-vi.c            | 732 ++++++++++++++++++
 drivers/media/platform/tegra/tegra-vi.h            | 213 ++++++
 13 files changed, 3172 insertions(+), 7 deletions(-)
 create mode 100644 drivers/media/platform/tegra/Kconfig
 create mode 100644 drivers/media/platform/tegra/Makefile
 create mode 100644 drivers/media/platform/tegra/tegra-channel.c
 create mode 100644 drivers/media/platform/tegra/tegra-core.c
 create mode 100644 drivers/media/platform/tegra/tegra-core.h
 create mode 100644 drivers/media/platform/tegra/tegra-csi.c
 create mode 100644 drivers/media/platform/tegra/tegra-vi.c
 create mode 100644 drivers/media/platform/tegra/tegra-vi.h

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <1442861755-22743-1-git-send-email-pengw@nvidia.com>]

end of thread, other threads:[~2015-11-11 19:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23  1:30 [PATCH 0/3 RFC v3] media: platform: add NVIDIA Tegra VI driver Bryan Wu
     [not found] ` <1442971834-2721-1-git-send-email-pengw-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-09-23  1:30   ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
2015-09-23  1:30 ` [PATCH 2/3] ARM64: add tegra-vi support in T210 device-tree Bryan Wu
2015-09-23  1:30 ` [PATCH 3/3] Documentation: DT bindings: add VI and CSI bindings Bryan Wu
  -- strict thread matches above, loose matches on Subject: below --
2015-11-11 19:50 [PATCH 0/3 RFC v5] media: platform: add NVIDIA Tegra VI driver Bryan Wu
     [not found] ` <1447271448-30056-1-git-send-email-pengw-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-11-11 19:50   ` [PATCH 2/3] ARM64: add tegra-vi support in T210 device-tree Bryan Wu
     [not found] <1442861755-22743-1-git-send-email-pengw@nvidia.com>
     [not found] ` <1442861755-22743-3-git-send-email-pengw@nvidia.com>
     [not found]   ` <20150922121730.GC1417@ulmo.nvidia.com>
     [not found]     ` <20150922121730.GC1417-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-09-23  1:26       ` Bryan Wu

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).