linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] rcar-vin: Enable Gen3 support
@ 2016-05-25 19:10 Niklas Söderlund
  2016-05-25 19:10 ` [PATCH 1/8] media: rcar-vin: pad-aware driver initialisation Niklas Söderlund
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Niklas Söderlund @ 2016-05-25 19:10 UTC (permalink / raw)
  To: linux-media, ulrich.hecht, hverkuil
  Cc: linux-renesas-soc, Niklas Söderlund

From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

Hi,

This series enable Gen3 support for the rcar-vin driver. It is based on 
top of the media_tree:

git://linuxtv.org/media_tree.git master

And it depends on the first rcar-vin patch at which I hope soon will 
enter the media tree:

https://patchwork.linuxtv.org/patch/34129/

This is a rather large patch since unfortunately the subdevice and input 
selection on Gen3 are much more complex than on Gen2, see individual 
patches for a more detailed explanation.

- Patch 1-3 picks up work done by Ulrich so that effort is not wasted 
  before the driver is updated for Gen3.
- Patch 4-6 are the big patches where the driver learns how to work with 
  Gen3.
- Patch 7-8 add compatible strings for Gen3 and fallback strings that 
  are present in the old soc-camera driver but not in this new driver.

The series is tested on Koelsch for Gen2 and it works as expected. If 
one wants to test the HDMI input the patch 'r8a7791-koelsch.dts: add 
HDMI input' from Hans Verkuil are needed to add it to DT . The driver 
passes a v4l2-compliance on Gen2 without errors or warnings.  And there 
are no problems grabbing frames using the CVBS or HDMI input sources 
using qv4l2.

For Gen3 there are more drivers needed to get working video input 
running. To be able to grab frames drivers are needed for the R-Car 
CSI-2 interface and the ADV7482 devices which are not yet present in the 
kernel. Prototypes for thees two drivers exist and a wiki page at 
http://elinux.org/R-Car/Tests:rcar-vin talks about how to test it all 
together.

Whit thees prototype drivers for CSI-2 and ADV7482 the rcar-vin driver 
pass the v4l2-compliance tool without errors or warnings on CVBS inputs.  
On HDMI inputs it complains about missing DV features, this is because 
the prototype ADV7482 do not yet implement thees operations and are not 
a fault in the rcar-vin driver.

Disregarding the v4l2-compliance result there is no issue grabbing 
frames from both CVBS and HDMI input sources on Salvator-X. But more 
work is needed on the prototype drivers before they are ready to be 
submitted for upstream.

Niklas Söderlund (5):
  [media] rcar-vin: allow subdevices to be bound late
  [media] rcar-vin: add Gen3 HW registers
  [media] rcar-vin: add shared subdevice groups
  [media] rcar-vin: enable Gen3
  [media] rcar-vin: add Gen2 and Gen3 fallback compatibility strings

Ulrich Hecht (3):
  media: rcar-vin: pad-aware driver initialisation
  media: rcar_vin: Use correct pad number in try_fmt
  media: rcar-vin: add DV timings support

 .../devicetree/bindings/media/rcar_vin.txt         |  218 +++-
 drivers/media/platform/rcar-vin/Kconfig            |    2 +-
 drivers/media/platform/rcar-vin/Makefile           |    2 +-
 drivers/media/platform/rcar-vin/rcar-core.c        |  474 ++++++---
 drivers/media/platform/rcar-vin/rcar-dma.c         |  202 +++-
 drivers/media/platform/rcar-vin/rcar-group.c       | 1122 ++++++++++++++++++++
 drivers/media/platform/rcar-vin/rcar-group.h       |  139 +++
 drivers/media/platform/rcar-vin/rcar-v4l2.c        |  449 ++++----
 drivers/media/platform/rcar-vin/rcar-vin.h         |   83 +-
 9 files changed, 2253 insertions(+), 438 deletions(-)
 create mode 100644 drivers/media/platform/rcar-vin/rcar-group.c
 create mode 100644 drivers/media/platform/rcar-vin/rcar-group.h

-- 
2.8.2


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-06-16 16:55 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 19:10 [PATCH 0/8] rcar-vin: Enable Gen3 support Niklas Söderlund
2016-05-25 19:10 ` [PATCH 1/8] media: rcar-vin: pad-aware driver initialisation Niklas Söderlund
2016-06-16 14:56   ` Laurent Pinchart
2016-05-25 19:10 ` [PATCH 2/8] media: rcar_vin: Use correct pad number in try_fmt Niklas Söderlund
2016-06-16 14:56   ` Laurent Pinchart
2016-05-25 19:10 ` [PATCH 3/8] media: rcar-vin: add DV timings support Niklas Söderlund
2016-06-16 15:05   ` Laurent Pinchart
2016-05-25 19:10 ` [PATCH 4/8] [media] rcar-vin: allow subdevices to be bound late Niklas Söderlund
2016-05-25 19:10 ` [PATCH 5/8] [media] rcar-vin: add Gen3 HW registers Niklas Söderlund
2016-06-16 16:52   ` Laurent Pinchart
2016-05-25 19:10 ` [PATCH 6/8] [media] rcar-vin: add shared subdevice groups Niklas Söderlund
2016-05-25 19:10 ` [PATCH 7/8] [media] rcar-vin: enable Gen3 Niklas Söderlund
2016-06-16 16:55   ` Laurent Pinchart
2016-05-25 19:10 ` [PATCH 8/8] [media] rcar-vin: add Gen2 and Gen3 fallback compatibility strings Niklas Söderlund
2016-05-25 19:36   ` Sergei Shtylyov
2016-05-27 11:36     ` Niklas Söderlund
2016-05-27 18:18       ` Sergei Shtylyov
2016-06-16 16:55   ` Laurent Pinchart

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