From patchwork Fri Dec 14 06:18:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 10730581 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B3D7213B5 for ; Fri, 14 Dec 2018 06:19:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AAC32CC3E for ; Fri, 14 Dec 2018 06:19:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BA4C2CC7B; Fri, 14 Dec 2018 06:19:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF3882CC3E for ; Fri, 14 Dec 2018 06:19:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726500AbeLNGTK (ORCPT ); Fri, 14 Dec 2018 01:19:10 -0500 Received: from vsp-unauthed02.binero.net ([195.74.38.227]:43867 "EHLO vsp-unauthed02.binero.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbeLNGTK (ORCPT ); Fri, 14 Dec 2018 01:19:10 -0500 X-Halon-ID: 20adb41a-ff68-11e8-911a-0050569116f7 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id 20adb41a-ff68-11e8-911a-0050569116f7; Fri, 14 Dec 2018 07:19:01 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Laurent Pinchart , linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH 0/4] rcar-vin: add support for suspend and resume Date: Fri, 14 Dec 2018 07:18:20 +0100 Message-Id: <20181214061824.10296-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-)