From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752635AbdF0K1k (ORCPT ); Tue, 27 Jun 2017 06:27:40 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:57310 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751699AbdF0K1e (ORCPT ); Tue, 27 Jun 2017 06:27:34 -0400 From: Enric Balletbo i Serra To: Rob Herring , Jarkko Sakkinen , Peter Huewe Cc: tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland , Jason Gunthorpe , Sonny Rao , groeck@chromium.org Subject: [PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended binding documentation 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) ---------------------------------------------------------- -- 2.9.3