[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170627102724.23861-1-enric.balletbo@collabora.com>
Date: Tue, 27 Jun 2017 12:27:23 +0200
From: Enric Balletbo i Serra <enric.balletbo@...labora.com>
To: Rob Herring <robh+dt@...nel.org>,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
Peter Huewe <peterhuewe@....de>
Cc: tpmdd-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, Mark Rutland <mark.rutland@....com>,
Jason Gunthorpe <jgunthorpe@...idianresearch.com>,
Sonny Rao <sonnyrao@...omium.org>, groeck@...omium.org
Subject: [PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended binding documentation
Add a new powered-while-suspended property to control the behavior of the
TPM suspend/resume.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@...labora.com>
Signed-off-by: Sonny Rao <sonnyrao@...omium.org>
Reviewed-by: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Acked-by: Rob Herring <robh@...nel.org>
---
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
Powered by blists - more mailing lists