[PATCH 0/3 RFC v5] media: platform: add NVIDIA Tegra VI driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux