From patchwork Wed Nov 15 13:05:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 118946 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4287674qgn; Wed, 15 Nov 2017 05:06:16 -0800 (PST) X-Google-Smtp-Source: AGs4zMZhAiF3ksgrUXtfDE2Rp5ArtpoeXNF0/b8wBiMgJGRD00W7II933D0VPE7Z5IKxhZB8rEjS X-Received: by 10.84.236.70 with SMTP id h6mr15561194pln.166.1510751176318; Wed, 15 Nov 2017 05:06:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510751176; cv=none; d=google.com; s=arc-20160816; b=mZcY3YRqJG8HWte5jE7sm8H/Mhoe4wK/G3CeogRnisNU4S0TsRjOEOsPeoWFK5E96+ 9TjOI42KcR9QGlRFOLUZoRh1IMor0qnvy8+0Bpa6j1GJH139p+UGxTfDfejGZ4Iz9lLj rvjALt8yjwsI8drtdehYyPQ8GNoCq093qBhhmUYDogFVT8Ib7+i3C+KCIf1z1DWVSb15 SXCLp22n0FQqUS7CgWMvIG9VPmJnUI4sSWVTIpovjDyd4fcfd7l0U2S/aPIdlppMSeF1 AraGHCEalXnlev30nrIEaFdBa+hc8yR7bed+/f/f7yr+uxNyAw1Vbx89QSq6zC18a7Bn JZrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=kLDP75H5vn91mTnXZ3q0/fl/0Dv38eL2Bm8RWZKkpZ0=; b=RjThlGFoYPV2mvk4UJOJsPbzxMqjXUBTesJY5v4wtazjO/OveZa2Gv6B4KHeQIPZ9Z 3yhy6wEWWZY1CZUUhAw+ucyQcf1bTVY4pS7NyB2CbieHuJ+FGXFPbU6qWB6wHwii2wIR DO5euMxx1Q2FmCu7YWxbpXwXmaKKx2rITDJ3anDh+WWjsap/Oajdl3KPwT8YW3HF5Qvf kYVUcZRnLJpTmiCFbb4ALwUIsvh6GC90HhpFWoxKvwvfoQ/6vazAYiALmXddmTACF/RD ECF5He5Bv15v4acJwTn/nAfMdpsOBfAWFGC0So4dfTdyUtzh6/biJD+tZ5sP+dMugEb1 rBeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y128si469988pfy.182.2017.11.15.05.06.16; Wed, 15 Nov 2017 05:06:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756902AbdKONGP (ORCPT + 6 others); Wed, 15 Nov 2017 08:06:15 -0500 Received: from foss.arm.com ([217.140.101.70]:39412 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752796AbdKONGO (ORCPT ); Wed, 15 Nov 2017 08:06:14 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 238D51435; Wed, 15 Nov 2017 05:06:14 -0800 (PST) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A19833F318; Wed, 15 Nov 2017 05:06:11 -0800 (PST) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" , Rob Herring , Mark Rutland Cc: Ofir Drang , devel@driverdev.osuosl.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: add device tree binding for Arm TrustZone CryptoCell crypto engine Date: Wed, 15 Nov 2017 13:05:17 +0000 Message-Id: <1510751117-13627-1-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Arm TrustZone CryptoCell is a hardware security engine. This patch adds DT bindings for its Rich Execution Environment crypto engine. A driver supporting this device is already present in the staging tree. Signed-off-by: Gilad Ben-Yossef --- .../devicetree/bindings/crypto/arm-cryptocell.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/arm-cryptocell.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt b/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt new file mode 100644 index 0000000..ccf8a101 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt @@ -0,0 +1,22 @@ +Arm TrustZone CryptoCell cryptographic engine + +Required properties: +- compatible: Should be "arm,cryptocell-712-ree". +- reg: Base physical address of the engine and length of memory mapped region. +- interrupts: Interrupt number for the device. + +Optional properties: +- interrupt-parent: The phandle for the interrupt controller that services + interrupts for this device. +- clocks: Reference to the crypto engine clock. +- dma-coherent: Present if dma operations are coherent. + +Examples: + + arm_cc712: arm_cc712@80000000 { + compatible = "arm,cryptocell-712-ree"; + interrupt-parent = <&intc>; + interrupts = < 0 30 4 >; + reg = < 0x80000000 0x10000 >; + + };