From patchwork Thu Nov 16 06:15:28 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: 119017 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5209427qgn; Wed, 15 Nov 2017 22:15:42 -0800 (PST) X-Google-Smtp-Source: AGs4zMZnhkSA/uFOflPgoXc8VdjkrPBwwpqHBeFtSC5z7e+wUkhwjpfEHWAQxlRlUwKRPm+xV/SO X-Received: by 10.84.143.195 with SMTP id 61mr616624plz.277.1510812942421; Wed, 15 Nov 2017 22:15:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510812942; cv=none; d=google.com; s=arc-20160816; b=vH2zNEVqKOq5CzcgFPtHNkd5+C9qbRkUcySFN2oIzxlqAzJoH5S3/6tH35KL+zqG/8 C9cKJ7lvSRLlS7AWhC4XxugsX4rEqC959engiBnrymBCw9KsVd+1MAqovlyjDbJM4K9E MVFTGXToEBPMsEcS5mDOOX1PsXjM/sXKgiMloGtDiHqxjV5UvVpH5fHkY4ecIWB/RxXW q2QnHWyeDWQOfrK/o39++FPbDjxI1Q3dW4ArLb3VTlo1iR4rH5ZQX0jfZMHLCYLKVDPV LNI4EMRbMMt4VKxS0xxarJ1VLgofw+WQYcEIQdVSBu9QdEqzwpmpnXerOw4NcmRgOKkz ayYA== 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=/v0gFmnhcKifC/+c4Rzviv8nbuSsMyY+PwltxtmbpV8=; b=vKbsUIW2LHFR9Bdy0Z6cozVufBT/C16Bmr5Huy3MsbjQG6LFR/lqIC6F9QYkj08Tj0 8TYH7k7Rdx8lO5t/5AdDRXYB4iau65OaEVhnsws4PEfj+kr+ySgyYGXuW0hyG+inxAoW 69173LIwswJ2dEmihyCPGqIFHS+RZWSEidcaJuNXOmdRLmXD5IJHG8C8ras4Uo9q7Xkz mLSbcyCWRhJRoCO/LtATZDOB+5Fb47MTIMEE0vACed3dn6i6vJ4d3AU1rV0Fu8+TURJZ 5g9wiGVxrTZxoDOXtDgizOouc1xiF/7oU2P0iSrAWBu80GSY386TqHwj00cwGSGcomDE NPuA== 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 186si324503pgf.326.2017.11.15.22.15.42; Wed, 15 Nov 2017 22:15:42 -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 S1758568AbdKPGPk (ORCPT + 6 others); Thu, 16 Nov 2017 01:15:40 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47216 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758521AbdKPGPj (ORCPT ); Thu, 16 Nov 2017 01:15:39 -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 4D0DB80D; Wed, 15 Nov 2017 22:15:39 -0800 (PST) Received: from sugar.kfn.arm.com (unknown [10.45.48.133]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8E04D3F24A; Wed, 15 Nov 2017 22:15:35 -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: [PATCHi v2] dt-bindings: add device tree binding for Arm TrustZone CryptoCell crypto engine Date: Thu, 16 Nov 2017 06:15:28 +0000 Message-Id: <1510812929-3937-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 Acked-by: Rob Herring --- Changes from v1: - Change node name to reflect type of device in example as pointed out by Rob Herring. .../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 diff --git a/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt b/Documentation/devicetree/bindings/crypto/arm-cryptocell.txt new file mode 100644 index 0000000..cec8d5d --- /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: crypto@80000000 { + compatible = "arm,cryptocell-712-ree"; + interrupt-parent = <&intc>; + interrupts = < 0 30 4 >; + reg = < 0x80000000 0x10000 >; + + };