From patchwork Tue Jun 27 10:27:23 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: 9811337 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 784F4603D7 for ; Tue, 27 Jun 2017 10:27:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AA652807B for ; Tue, 27 Jun 2017 10:27:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AEC5285C8; Tue, 27 Jun 2017 10:27:45 +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 815E22807B for ; Tue, 27 Jun 2017 10:27:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1dPnig-0004S0-E9; Tue, 27 Jun 2017 10:27:42 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1dPnie-0004Ru-Hr for tpmdd-devel@lists.sourceforge.net; Tue, 27 Jun 2017 10:27:40 +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=c6/ip33jFGSAsl6s83DxBWxBQwtCFWZVgXwYd9CGgpIW453UXAicx/4Z/w5y0LBhazxxfuKHzyRhIw7i/Buz7GCXlPqPIsvsz9KuozfiAAHmXqYUdRyY8EHpI7v0xtZ27tMyfyoh65I1tfVmukvNoRW+caaH82us5gQoFhCRrNM=; 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=G91Aq9nXmDt3c6aKckvJiSfl6hVUSWd1z359QAYcjoFsAEfc5GODMuqIab6vs3My/qO12iNfD63Y/CCOsTwI+619pGL4E3/wgJU3pFGAspl12kSBECm50dv/JS+ZAjS9lQbTQSDSqnzQhaWRtO6NYg6NB0WsSbcSyaVeUPNqo4I=; Received-SPF: pass (sog-mx-4.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-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dPnid-0006Gy-6q for tpmdd-devel@lists.sourceforge.net; Tue, 27 Jun 2017 10:27:40 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 6881926BE1D From: Enric Balletbo i Serra To: Rob Herring , Jarkko Sakkinen , Peter Huewe Date: Tue, 27 Jun 2017 12:27:23 +0200 Message-Id: <20170627102724.23861-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.9.3 X-Headers-End: 1dPnid-0006Gy-6q Subject: [tpmdd-devel] [PATCH v4 RESEND 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 , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tpmdd-devel@lists.sourceforge.net, groeck@chromium.org, 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) ----------------------------------------------------------