mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 08:46:49 +07:00
1436ab068d
Pull TPM updates from James Morris: "Here are the TPM updates from Jarkko for v4.14, which I've placed in their own branch (next-tpm). I ended up cherry-picking them as other changes had been made in Jarkko's branch after he sent me his original pull request. I plan on maintaining a separate branch for TPM (and other security subsystems) from now on. From Jarkko: 'Not much this time except a few fixes'" * 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: tpm: ibmvtpm: simplify crq initialization and document crq format tpm: replace msleep() with usleep_range() in TPM 1.2/2.0 generic drivers Documentation: tpm: add powered-while-suspended binding documentation tpm: tpm_crb: constify acpi_device_id. tpm: vtpm: constify vio_device_id
27 lines
919 B
Plaintext
27 lines
919 B
Plaintext
* 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
|
|
|
|
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)
|
|
----------------------------------------------------------
|
|
|
|
tpm@57 {
|
|
reg = <0x57>;
|
|
label = "tpm";
|
|
compatible = "nuvoton,npct650", "nuvoton,npct601";
|
|
linux,sml-base = <0x7f 0xfd450000>;
|
|
linux,sml-size = <0x10000>;
|
|
};
|