From patchwork Mon May 29 09:09:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 9752975 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6172160390 for ; Mon, 29 May 2017 09:10:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57AB928437 for ; Mon, 29 May 2017 09:10:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C4062846A; Mon, 29 May 2017 09:10:02 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2614728437 for ; Mon, 29 May 2017 09:09:59 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1dFGgX-0008RN-VX; Mon, 29 May 2017 09:09:57 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1dFGgW-0008RI-QS for tpmdd-devel@lists.sourceforge.net; Mon, 29 May 2017 09:09:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:Cc:To:From; bh=eGujl8r/JdsbXA8aGLQf73akZBgIENBM/lwI1Bwa5Ic=; b=fTCqBiB0I5QOZAxTK30+NaonMPSp9TrAyMEPE+mjo9cMFHW2x14G9EX3Cfd+8eGrJtCJCPBZofh4sI0qq9wEQup3SNgMUUz5TK460yxY1ul0YZNIO1isy5otXZpC9SmsgKVjffTutuy6fV6WND9XfSS+AL/wpIwdCly41ZtHuf0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=Message-Id:Date:Subject:Cc:To:From; bh=eGujl8r/JdsbXA8aGLQf73akZBgIENBM/lwI1Bwa5Ic=; b=WDdcJO27pTBZ3UnI/nUewuGc5gCMYWyQFhT/acH79McBi0TAe0rE1PFEUv3waUI/QXossHhuRQhreB3yw8cVpwmA5gq/kPVkLY2dl1uaosekpZGWelKKvk6AKWurV4oNflWrLYiDJ6gEuUt7RneANWTswQEuRFrZrc53BRmOSO0=; Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of collabora.com designates 46.235.227.227 as permitted sender) client-ip=46.235.227.227; envelope-from=enric.balletbo@collabora.com; helo=bhuna.collabora.co.uk; Received: from bhuna.collabora.co.uk ([46.235.227.227]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dFGgV-0008B4-Hs for tpmdd-devel@lists.sourceforge.net; Mon, 29 May 2017 09:09:56 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id E63FA26B4D3 From: Enric Balletbo i Serra To: Rob Herring , Jarkko Sakkinen , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Date: Mon, 29 May 2017 11:09:39 +0200 Message-Id: <20170529090940.9874-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.9.3 X-Headers-End: 1dFGgV-0008B4-Hs Subject: [tpmdd-devel] [PATCH v4 1/2] Documentation: tpm: add powered-while-suspended binding documentation X-BeenThere: tpmdd-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: Tpm Device Driver maintainance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Sonny Rao MIME-Version: 1.0 Errors-To: tpmdd-devel-bounces@lists.sourceforge.net X-Virus-Scanned: ClamAV using ClamSMTP Add a new powered-while-suspended property to control the behavior of the TPM suspend/resume. Signed-off-by: Enric Balletbo i Serra Signed-off-by: Sonny Rao Reviewed-by: Jason Gunthorpe Reviewed-by: Jarkko Sakkinen Acked-by: Rob Herring --- Changes since v3. - Rebased on top of linux-next Rob Herring - Split DT binding from code patch as is preferred. Did not exist on previous versions. Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt b/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt index 8cb638b..85c8216 100644 --- a/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt +++ b/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt @@ -8,6 +8,12 @@ Required properties: the firmware event log - linux,sml-size : size of the memory allocated for the firmware event log +Optional properties: + +- powered-while-suspended: present when the TPM is left powered on between + suspend and resume (makes the suspend/resume + callbacks do nothing). + Example (for OpenPower Systems with Nuvoton TPM 2.0 on I2C) ----------------------------------------------------------