Message ID | 20190625223503.367710-2-oshrialkoby85@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | char: tpm: add new driver for tpm i2c ptp | expand |
On Wed, 2019-06-26 at 01:35 +0300, Oshri Alkoby wrote:
> Signed-off-by: Oshri Alkoby <oshrialkoby85@gmail.com>
Long description missing.
/Jarkko
diff --git a/Documentation/devicetree/bindings/security/tpm/tpm-i2c-ptp.txt b/Documentation/devicetree/bindings/security/tpm/tpm-i2c-ptp.txt new file mode 100644 index 000000000000..6bd512f023a4 --- /dev/null +++ b/Documentation/devicetree/bindings/security/tpm/tpm-i2c-ptp.txt @@ -0,0 +1,17 @@ +* Device Tree Bindings for I2C PTP based Trusted Platform Module(TPM) + +Required properties: + +- compatible : Should be "tcg,tpm_i2c_ptp" +- reg : Address on the bus +- tpm-pirq : Input gpio pin, used for host interrupts + +Example (for Raspberry Pie 3 Board with Nuvoton's NPCT75X (2.0) +------------------------------------------------------------------- + +tpm_i2c_ptp: tpm_i2c_ptp@2e { + + compatible = "tcg,tpm_i2c_ptp"; + reg = <0x2e>; + tpm-pirq = <&gpio 24 GPIO_ACTIVE_HIGH>; +};
Signed-off-by: Oshri Alkoby <oshrialkoby85@gmail.com> --- .../bindings/security/tpm/tpm-i2c-ptp.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm-i2c-ptp.txt