linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 RFC v2] media: platform: add NVIDIA Tegra VI driver
@ 2015-09-16  1:35 Bryan Wu
  2015-09-16  1:35 ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Bryan Wu @ 2015-09-16  1:35 UTC (permalink / raw)
  To: hansverk, linux-media, treding
  Cc: ebrower, jbang, swarren, davidw, gfitzer, gerrit2

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) 

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


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/3 RFC v3] media: platform: add NVIDIA Tegra VI driver
@ 2015-09-21 18:55 Bryan Wu
  2015-09-21 18:55 ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
  0 siblings, 1 reply; 14+ messages in thread
From: Bryan Wu @ 2015-09-21 18:55 UTC (permalink / raw)
  To: hansverk, linux-media, treding
  Cc: ebrower, jbang, swarren, davidw, gfitzer, bmurthyv

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) 

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


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/3 RFC v3] media: platform: add NVIDIA Tegra VI driver
@ 2015-09-23  1:30 Bryan Wu
  2015-09-23  1:30 ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
  0 siblings, 1 reply; 14+ messages in thread
From: Bryan Wu @ 2015-09-23  1:30 UTC (permalink / raw)
  To: hansverk, linux-media, treding
  Cc: ebrower, jbang, swarren, davidw, gfitzer, bmurthyv, linux-tegra

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] 14+ messages in thread
* [PATCH 0/3 RFC v5] media: platform: add NVIDIA Tegra VI driver
@ 2015-11-11 19:50 Bryan Wu
  2015-11-11 19:50 ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
  0 siblings, 1 reply; 14+ messages in thread
From: Bryan Wu @ 2015-11-11 19:50 UTC (permalink / raw)
  To: hansverk, linux-media, treding, linux-tegra
  Cc: ebrower, jbang, swarren, davidw, bmurthyv

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] 14+ messages in thread

end of thread, other threads:[~2015-12-10 10:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-16  1:35 [PATCH 0/3 RFC v2] media: platform: add NVIDIA Tegra VI driver Bryan Wu
2015-09-16  1:35 ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
2015-09-16  9:13   ` Hans Verkuil
2015-09-21 18:46     ` Bryan Wu
2015-09-16  1:35 ` [PATCH 2/3] ARM64: add tegra-vi support in T210 device-tree Bryan Wu
2015-09-16  1:35 ` [PATCH 3/3] Documentation: DT bindings: add VI and CSI bindings Bryan Wu
  -- strict thread matches above, loose matches on Subject: below --
2015-09-21 18:55 [PATCH 0/3 RFC v3] media: platform: add NVIDIA Tegra VI driver Bryan Wu
2015-09-21 18:55 ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
2015-09-22  8:52   ` Hans Verkuil
2015-09-22 18:56     ` Bryan Wu
2015-09-22 11:47   ` Thierry Reding
2015-09-22 19:05     ` Bryan Wu
2015-09-23  1:30 [PATCH 0/3 RFC v3] media: platform: add " Bryan Wu
2015-09-23  1:30 ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
2015-11-11 19:50 [PATCH 0/3 RFC v5] media: platform: add " Bryan Wu
2015-11-11 19:50 ` [PATCH 1/3] [media] v4l: tegra: Add " Bryan Wu
2015-12-10 10:13   ` Hans Verkuil

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