All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended binding documentation
@ 2017-06-27 10:27 ` Enric Balletbo i Serra
  0 siblings, 0 replies; 14+ messages in thread
From: Enric Balletbo i Serra @ 2017-06-27 10:27 UTC (permalink / raw)
  To: Rob Herring, Jarkko Sakkinen, Peter Huewe
  Cc: tpmdd-devel, linux-kernel, devicetree, Mark Rutland,
	Jason Gunthorpe, Sonny Rao, groeck

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@collabora.com>
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Acked-by: Rob Herring <robh@kernel.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

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-07-16 11:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 10:27 [PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended binding documentation Enric Balletbo i Serra
2017-06-27 10:27 ` Enric Balletbo i Serra
2017-06-27 10:27 ` [PATCH v4 RESEND 2/2] tpm: do not suspend/resume if power stays on Enric Balletbo i Serra
2017-06-27 10:27   ` Enric Balletbo i Serra
2017-07-03 13:00   ` Jarkko Sakkinen
2017-07-03 13:00     ` Jarkko Sakkinen
2017-07-03 12:57 ` [PATCH v4 RESEND 1/2] Documentation: tpm: add powered-while-suspended binding documentation Jarkko Sakkinen
2017-07-03 12:57   ` Jarkko Sakkinen
2017-07-05 17:19   ` Sonny Rao
2017-07-05 17:19     ` Sonny Rao
2017-07-09  7:04     ` Jarkko Sakkinen
2017-07-09  7:04       ` Jarkko Sakkinen
2017-07-16 11:23     ` Jarkko Sakkinen
2017-07-16 11:23       ` Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.