From patchwork Thu Mar 15 09:29:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 131755 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp868765ljb; Thu, 15 Mar 2018 02:30:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELvKCFpTAyVc5dGRyH3eQrS/FyTzHkA65zAx+BJ0udDAxWdYpxn+Vz+RrHi1VkRzOWcIzBDV X-Received: by 10.98.211.198 with SMTP id z67mr7259653pfk.0.1521106240513; Thu, 15 Mar 2018 02:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521106240; cv=none; d=google.com; s=arc-20160816; b=MbR2OlL8h++1Q+48AzohRSDq7mDnxlgYm5JI8RdRvyzq0pX9w5BLkIlk4WbL+HtkK0 WN54wapieMp5jQ/UAPNJjcAdJG50ZEZzLxMsxNKt82yzYk2aiA7lJao5VmXSaqqDSqp3 1nJb2wTq/kLumKehbIQ+onxjUTItZhAxjEXK9d+H/hnMX6QPlWiI35RRJ+080MS92vkm H/S/kDeW+5E91w5+/1Zq90zN37lEWPfqMefWfoD+sYksFzLd/tswBhAcUU5zpNvsfiJS Aw2Z26G75tRMP5BA6kzRjWGlGrAMsmkuYsEdlCsO3c9jt7ImHyiCwSzFkRAjyu4I9SmK WZlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=sbw2yiJpfN/DbfQzQL06ce8NiskRTOetmtHBKMOzeJs=; b=oKIcWEhOz2VNwwI8kD0fP03qtcJebPzwYK+wrHZ4GRaX6lqrcvsJkfPhCoLx5orv2j NtPBR0iIZze/RaugxmnPz3FSzYF19BPtpAh32KxPv2brLwc+vigsod1uytnr46my+GaR why/9V+533vVGAXLTDYJJQvml5eLA9WdtntxLKMdFlx7yy9T5N8V45sXAXmvW8cf73/Q aP5V8U5Qovo+0Inm7UhBMOtl7cwBZObAOohdlDe3uYzqlzPiaSIA6Ynd1P5CpzlU1CY/ pzDXDTmrYlozQXFweCYrpxAQBQ0OxWybSCdqTotobrYSyPWZlITA0e5ceU7DwhhA+01D Jn/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gGoVIq8y; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b34-v6si3674435plc.439.2018.03.15.02.30.40; Thu, 15 Mar 2018 02:30:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gGoVIq8y; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751428AbeCOJaj (ORCPT + 5 others); Thu, 15 Mar 2018 05:30:39 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:38851 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751095AbeCOJai (ORCPT ); Thu, 15 Mar 2018 05:30:38 -0400 Received: by mail-wm0-f67.google.com with SMTP id z9so9036787wmb.3 for ; Thu, 15 Mar 2018 02:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=sbw2yiJpfN/DbfQzQL06ce8NiskRTOetmtHBKMOzeJs=; b=gGoVIq8yeTVoh/iVCvkws3e6xHBL86iBe//4WVnDAYlv3+QuQTqPfU9edIaZDXqUkw 004zoj/z3tO/uhcRUrVgu6f41wyeZOdy4MZXEeBKauUxlRfiWPTqCrfxo7dLKr87GIwL QVcg15A0R76Z7i+eH2SSIDnyTxfAm23yQAgtg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sbw2yiJpfN/DbfQzQL06ce8NiskRTOetmtHBKMOzeJs=; b=ooEi82z+uTfn5uFVsmnsP++cNUNh1MwMH8p2pNQt/ud2DJvSaqT6mllHlofgP2gNcW vE0Nv1pPh50h5hp54gylDNvaMUPvQcoATsa22ls5wBCPXm/tuF/ineM2pwwhK6dmRd2z lX/VQvRQq12OydIhIQYVGTWaIL9l27o/o5FBgrbjWW9i2RABo9YsCZCYv9b1LefPUao4 79yvfflX8CrI0KdNuU+Ws6oE6IMh5xPZMxfd+fx6wZT7Qitu+4dmNjiH1xoxFvEpuyZQ 07P2aNr3AmYENtLocXWbruSjHbYqlwN0SycZTp7b/Cue6viOzspF2OCvzWBIAfnxQh1X IzMA== X-Gm-Message-State: AElRT7HXiJ3AQT55jnuQ/c/ROafJrXAwP2ZHhUzl5PEyRK0KkkeOavLw ZP/rqmyNuz0RnYv5lo5Rg184uQ== X-Received: by 10.28.168.86 with SMTP id r83mr4023951wme.37.1521106237015; Thu, 15 Mar 2018 02:30:37 -0700 (PDT) Received: from lmecxl0911.lme.st.com ([80.214.78.222]) by smtp.gmail.com with ESMTPSA id m71sm3603844wmd.6.2018.03.15.02.30.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Mar 2018 02:30:36 -0700 (PDT) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: mchehab@kernel.org, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, hans.verkuil@cisco.com Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard Subject: [PATCH 0/2] cec: stm32: add wakeup support Date: Thu, 15 Mar 2018 10:29:47 +0100 Message-Id: <20180315092949.9895-1-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org CEC hardware block is enable to resume the system if a command is received on data lane. Prior to implement suspend/resume functions a patch simplify clock management int the driver by introducting pm_runtime{suspend/resume} functions. Benjamin Gaignard (2): cec: stm32: simplify clock management cec: stm32: add suspend/resume functions drivers/media/platform/stm32/stm32-cec.c | 112 ++++++++++++++++++++++--------- 1 file changed, 82 insertions(+), 30 deletions(-) -- 2.15.0