Message ID | 1477473705-12746-2-git-send-email-nayna@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Oct 26, 2016 at 05:21:45AM -0400, Nayna Jain wrote: > Newly added support of TPM 2.0 eventlog securityfs pseudo files in tpm > device driver consumes device tree bindings representing I2C based > Physical TPM. This patch adds the documentation for corresponding device > tree bindings of I2C based Physical TPM. These bindings are similar to > vtpm device tree bindings being used on IBM Power7+ and Power8 Systems > running PowerVM. > > Suggested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> > Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com> > --- > Changelog v3: > - Added documentation for "label" property. > > Changelog v2: > > - Include review feedbacks. > - Move the doc within bindings/security/tpm. > - Add example for compatible property in description. > - Delete implicit properties like status, label from description. > - Redefine linux,sml-base description. > > .../devicetree/bindings/security/tpm/tpm-i2c.txt | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt Acked-by: Rob Herring <robh@kernel.org> ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik
On Sun, Oct 30, 2016 at 11:02:45PM -0500, Rob Herring wrote: > On Wed, Oct 26, 2016 at 05:21:45AM -0400, Nayna Jain wrote: > > Newly added support of TPM 2.0 eventlog securityfs pseudo files in tpm > > device driver consumes device tree bindings representing I2C based > > Physical TPM. This patch adds the documentation for corresponding device > > tree bindings of I2C based Physical TPM. These bindings are similar to > > vtpm device tree bindings being used on IBM Power7+ and Power8 Systems > > running PowerVM. > > > > Suggested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> > > Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com> > > --- > > Changelog v3: > > - Added documentation for "label" property. > > > > Changelog v2: > > > > - Include review feedbacks. > > - Move the doc within bindings/security/tpm. > > - Add example for compatible property in description. > > - Delete implicit properties like status, label from description. > > - Redefine linux,sml-base description. > > > > .../devicetree/bindings/security/tpm/tpm-i2c.txt | 21 +++++++++++++++++++++ > > 1 file changed, 21 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt > > Acked-by: Rob Herring <robh@kernel.org> Applied. /Jarkko ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi
diff --git a/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt b/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt new file mode 100644 index 0000000..8cb638b --- /dev/null +++ b/Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt @@ -0,0 +1,21 @@ +* Device Tree Bindings for I2C based Trusted Platform Module(TPM) + +Required properties: + +- compatible : 'manufacturer,model', eg. nuvoton,npct650 +- label : human readable string describing the device, eg. "tpm" +- linux,sml-base : 64-bit base address of the reserved memory allocated for + the firmware event log +- linux,sml-size : size of the memory allocated for the firmware event log + +Example (for OpenPower Systems with Nuvoton TPM 2.0 on I2C) +---------------------------------------------------------- + +tpm@57 { + reg = <0x57>; + label = "tpm"; + compatible = "nuvoton,npct650", "nuvoton,npct601"; + linux,sml-base = <0x7f 0xfd450000>; + linux,sml-size = <0x10000>; + status = "okay"; +};
Newly added support of TPM 2.0 eventlog securityfs pseudo files in tpm device driver consumes device tree bindings representing I2C based Physical TPM. This patch adds the documentation for corresponding device tree bindings of I2C based Physical TPM. These bindings are similar to vtpm device tree bindings being used on IBM Power7+ and Power8 Systems running PowerVM. Suggested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com> --- Changelog v3: - Added documentation for "label" property. Changelog v2: - Include review feedbacks. - Move the doc within bindings/security/tpm. - Add example for compatible property in description. - Delete implicit properties like status, label from description. - Redefine linux,sml-base description. .../devicetree/bindings/security/tpm/tpm-i2c.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt