Received: by 10.213.65.68 with SMTP id h4csp1539126imn; Thu, 15 Mar 2018 02:33:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELugJI1FiBVM/5QMSJdkqGSWYxRJEmSJ43fBoe3XxSb3/+Q1fe0FxSY5s7HMFBpKryHJSwZX X-Received: by 10.98.33.76 with SMTP id h73mr7099638pfh.144.1521106439899; Thu, 15 Mar 2018 02:33:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521106439; cv=none; d=google.com; s=arc-20160816; b=aaK/YzfNZ9+lYCoY9oqydpQtfCzNvgwZX1BMY0bIVAD18mWbspMoog9DFD5Lkztjh5 vtCneikjRnQnK/uxcKljY5ZOs1oB4WpiJ/YE//5/ccqkFe58zmGEVl+LPf+Pri50OHoy 2aVnR6LMvlLLCLzRSGF00kqthGwj12/9gEAEXhVDL6RfkORpZi/6ACnHU3reVR8m5sxe uvZaHcK4IJBWwivey2nXltwCA1c41oDJ/Stl1jKtHyxYPc3vvSNvtyuQp+ogz78TPH1b ltstXiuNW037fRPPNrUnZ3hY9Qggml0QdChQsjDEnomx1REuriDvxq0TUBCrmgiK8puo Kgjg== 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=aM4jMJrOlb2QEOWhPLk2KcDRCSlnrGGiIQpNwU8gVvU0+hSSqRELmQQXVZ+MUfm3pJ tDGPegH6nuZOM7kecPlTzIanMDxTWnqWmuxRt6ZIcZxUfm6wWx5A2UBPH+k3ralbaS8c XWKnYRSlV36EQksZBHHGI2AaH+NyJRHmPlFnH8dr9k7Jj6hLxjw9Z7+gJpFqb9eQc93e ve0Azt2hVECrjW7qGm1jDmb/V8c6lq1IwAMxG7yqEHU7+yasMGtl1mv+3KF2pWs7fBoa ctCPjkutps6eeCtP5QI3Hn758G3fKFswEsQ+SFlcT6dFl4E/UAhhgzTwr4oRecbYILgr 1hXQ== 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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 f64-v6si3709059plf.624.2018.03.15.02.33.44; Thu, 15 Mar 2018 02:33:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1751715AbeCOJak (ORCPT + 99 others); Thu, 15 Mar 2018 05:30:40 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34919 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413AbeCOJai (ORCPT ); Thu, 15 Mar 2018 05:30:38 -0400 Received: by mail-wm0-f66.google.com with SMTP id x7so9054433wmc.0 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=jBO8Gdr/X3tu9b6hceu08TpU9hKlkAP61QgWBdnUL+DVcVL5sn3K2Ru0aSIy10aZzD hvFdsxE3hTDncF1k78D7+KX66J+KcftCB4DM/6PNtu+fwa2nyqv7G900Zsv+HVQkSN6r TVDDP1IFbU8BL/4GK9j0pSb0bAusQTiU8NKiqXNedQPkA+kII2Sm/KMTSBfZq5TCNvtD MIZCZZEPzX8dUZPbBymtmv020Wez4G8oX/7+oJQEPqnZUKuSVnjaQqfSbLgbCU/00bMt mhNWVpR6uwjxqgZf42hXR9XGIf3h//8JD3oJne2yr0Rj0cTmuUKcrvQ9NOykblbmdoCx DVnw== X-Gm-Message-State: AElRT7HnzFXan9S4bD0gNzapeme8KSolgu2MQg3TDOHc8AEJpSSYhc/8 Jrd0npf4BRk30vQbu19BbgIgNw== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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