mbox series

[0/4] rcar-vin: add support for suspend and resume

Message ID 20181214061824.10296-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
Headers show
Series rcar-vin: add support for suspend and resume | expand

Message

Niklas Söderlund Dec. 14, 2018, 6:18 a.m. UTC
Hi,

This series add suspend and resume support for rcar-vin pipelines. It 
suspends all active pipelines and implicitly adds support for 
suspend/resume to rcar-csi2. It is tested on Gen3 and Gen2 and based 
on-top of latest media-tree.

Patch 1/4 fixes a bug in the driver which prevents suspend/resume to 
function properly. While patch 2/4 and 3/4 prepares for the feature and 
finally 4/4 enables support.

Niklas Söderlund (4):
  rcar-vin: fix wrong return value in rvin_set_channel_routing()
  rcar-vin: cache the CSI-2 channel selection value
  rcar-vin: make rvin_{start,stop}_streaming() available for internal
    use
  rcar-vin: add support for suspend and resume

 drivers/media/platform/rcar-vin/rcar-core.c | 51 +++++++++++++++++++++
 drivers/media/platform/rcar-vin/rcar-dma.c  | 24 +++++++---
 drivers/media/platform/rcar-vin/rcar-vin.h  | 15 ++++--
 3 files changed, 79 insertions(+), 11 deletions(-)