From: Bryan Wu <pengw-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: hansverk-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org,
linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: ebrower-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
jbang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
davidw-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
bmurthyv-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
Subject: [PATCH 0/3 RFC v5] media: platform: add NVIDIA Tegra VI driver
Date: Wed, 11 Nov 2015 11:50:45 -0800 [thread overview]
Message-ID: <1447271448-30056-1-git-send-email-pengw@nvidia.com> (raw)
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
next reply other threads:[~2015-11-11 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 19:50 Bryan Wu [this message]
2015-11-11 19:50 ` [PATCH 1/3] [media] v4l: tegra: Add NVIDIA Tegra VI driver Bryan Wu
[not found] ` <1447271448-30056-2-git-send-email-pengw-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-12-10 10:13 ` Hans Verkuil
[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
2015-11-11 19:50 ` [PATCH 3/3] Documentation: DT bindings: add VI and CSI bindings Bryan Wu
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=1447271448-30056-1-git-send-email-pengw@nvidia.com \
--to=pengw-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=bmurthyv-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=davidw-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=ebrower-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=hansverk-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org \
--cc=jbang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
/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).