Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1544876ybl; Mon, 2 Dec 2019 05:05:38 -0800 (PST) X-Google-Smtp-Source: APXvYqwwGtbE7Qqgyx3u6IVPuA/Zsw/soasQ7uEpsRsgRguv4cQYTKPEIH5ytpdPXDkQYQrwCXZ7 X-Received: by 2002:a2e:97d8:: with SMTP id m24mr23445383ljj.62.1575291938165; Mon, 02 Dec 2019 05:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575291938; cv=none; d=google.com; s=arc-20160816; b=ObtP3FEU8Kitk+UmhcTb+yQr8sq39G76c6AyiHh3U/7WuT6qCmYDKBbdE442wl9i59 RCIRe45ngTK2+ucSbB3Ue26nFyT4oxAIi5ilkDLG665nz1VZzZbhFgVgZ2zgPoJnViSo J+zcdySy9nH3e62jnOkqFWnZQ308SCH9hUby5YllHeGoJzU55Z10S2GlJ9hPmVWEkbRK kpE8ZeRsorF+B1nFAHLmgDuCLh7WBzIeHEiTCdHes42BBtVqtJT4eM2y5MjEcG22xTAU Ro0W2chiblHKgPZVcab1WO9upXJfyv2khXe1xFNPpqDWBY6TBwf4NPY59xV6hIwLSpu7 oMUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=PfOTJuyybZnw7ZE9gs4gfPmpXDkEkzeEPgfYR3pnQG8=; b=z55tZSWWMmJSPYzi/97ogRLvzQrCG9Qe6WW6t7+XDZ1FoJPudZj4lVdrgWodxWCxNr m5/0lW2prnwk/Hsx6OhF4WddViTV23l5cRyFSipeCM3vv6VAK3bDHcGC6Ac8WYOrXLcF eOC/dns6DO2gJMgtyNEBysau1c8vpHm+exUc2ohTeJlm/34XRGiHzTCy9+qwbk6vGWKM WwzAB9JUuqY5RFvOf7eXxOt/afUJtp1fuo3fiSz4+InHIhF0fX1Qx3klDv7sYRR7SqB1 QjLWl8j7yBKMTnowpx+aui7hCSTyUmmicOfUVGNcfJUrMriz4hTC/0PGiqOH8gjN+GRU DWRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q192si11498968ljb.244.2019.12.02.05.05.02; Mon, 02 Dec 2019 05:05:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727554AbfLBNCw (ORCPT + 99 others); Mon, 2 Dec 2019 08:02:52 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:45810 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727527AbfLBNCu (ORCPT ); Mon, 2 Dec 2019 08:02:50 -0500 Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id xB2D1rt2015203; Mon, 2 Dec 2019 15:01:53 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10140) id 7B62D60275; Mon, 2 Dec 2019 15:01:53 +0200 (IST) From: amirmizi6@gmail.com To: Eyal.Cohen@nuvoton.com, jarkko.sakkinen@linux.intel.com, oshrialkoby85@gmail.com, alexander.steffen@infineon.com, robh+dt@kernel.org, mark.rutland@arm.com, peterhuewe@gmx.de, jgg@ziepe.ca, arnd@arndb.de, gregkh@linuxfoundation.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, oshri.alkoby@nuvoton.com, tmaimon77@gmail.com, gcwilson@us.ibm.com, kgoldman@us.ibm.com, ayna@linux.vnet.ibm.com, Dan.Morav@nuvoton.com, oren.tanami@nuvoton.com, shmulik.hager@nuvoton.com, amir.mizinski@nuvoton.com, Amir Mizinski Subject: [PATCH v1 4/5] dt-bindings: tpm: Add the TPM TIS I2C device tree binding documentaion Date: Mon, 2 Dec 2019 15:01:31 +0200 Message-Id: <20191202130132.175382-5-amirmizi6@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191202130132.175382-1-amirmizi6@gmail.com> References: <20191202130132.175382-1-amirmizi6@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Amir Mizinski this file aim at documenting TPM TIS I2C related dt-bindings for the I2C PTP based Physical TPM. Signed-off-by: Amir Mizinski --- .../bindings/security/tpm/tpm_tis_i2c.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm_tis_i2c.txt diff --git a/Documentation/devicetree/bindings/security/tpm/tpm_tis_i2c.txt b/Documentation/devicetree/bindings/security/tpm/tpm_tis_i2c.txt new file mode 100644 index 0000000..7d5a69e --- /dev/null +++ b/Documentation/devicetree/bindings/security/tpm/tpm_tis_i2c.txt @@ -0,0 +1,24 @@ +* Device Tree Bindings for I2C PTP based Trusted Platform Module(TPM) + +The TCG defines hardware protocol, registers and interface (based +on the TPM Interface Specification) for accessing TPM devices +implemented with an I2C interface. + +Refer to the 'I2C Interface Definition' section in 'TCG PC Client +PlatformTPMProfile(PTP) Specification' publication for specification. + +Required properties: + +- compatible : Should be "tcg,tpm_tis-i2c" +- 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_tis-i2c: tpm_tis-i2c@2e { + + compatible = "tcg,tpm_tis-i2c"; + reg = <0x2e>; + tpm-pirq = <&gpio 24 GPIO_ACTIVE_HIGH>; +}; -- 2.7.4