From patchwork Fri Jul 17 14:39:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 6816721 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C8A4C9F358 for ; Fri, 17 Jul 2015 14:41:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9E6A206EF for ; Fri, 17 Jul 2015 14:41:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 10DB320674 for ; Fri, 17 Jul 2015 14:41:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757875AbbGQOlR (ORCPT ); Fri, 17 Jul 2015 10:41:17 -0400 Received: from mail-wg0-f68.google.com ([74.125.82.68]:32847 "EHLO mail-wg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751334AbbGQOkI (ORCPT ); Fri, 17 Jul 2015 10:40:08 -0400 Received: by wgwk7 with SMTP id k7so7468374wgw.0; Fri, 17 Jul 2015 07:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nGvnaq86BkwT3ohj2XuhaGD5DRkh3P+JCuDKCUPeRfM=; b=XNrlCFIVj83IP4Ue+NEYfn/4ggUB1JUtzxBcjQnpIetluAgm1ZntqvgQmrPUcmd6fO gQypiH7W7RVlhrRnw5p/DF9zsiXPuA7wPmgjutECftngC33eMXZD56btcZolcjRXfXRZ FOcx8LJhc2b+q/0g68yUKO6R+8U06AQpfRmMi8sTLh/ckZW141IPq5q5e39ddPloS+zm yZtP3wu8w8HygR4PQoYi+/hn+jRF1H0eIBAgwlJVDzMEfVPR2bTB5ldbJZgDiOzbNuRO rWpl5kwdU8Hs/Zr4E5olFsawgegqiC9o8sPK93MYsiDzfeiI1FeqR1j66e9f1EfnPUgC Bbww== X-Received: by 10.194.2.137 with SMTP id 9mr30714555wju.75.1437144006854; Fri, 17 Jul 2015 07:40:06 -0700 (PDT) Received: from Red.local (ANice-651-1-404-17.w86-205.abo.wanadoo.fr. [86.205.148.17]) by smtp.googlemail.com with ESMTPSA id q9sm8772085wiz.23.2015.07.17.07.40.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jul 2015 07:40:06 -0700 (PDT) From: LABBE Corentin To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, linux@arm.linux.org.uk, herbert@gondor.apana.org.au, davem@davemloft.net, akpm@linux-foundation.org, gregkh@linuxfoundation.org, mchehab@osg.samsung.com, arnd@arndb.de, joe@perches.com Cc: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-sunxi@googlegroups.com, LABBE Corentin Subject: [PATCH v11 3/5] ARM: sun4i: dt: Add DT bindings documentation for SUN4I Security System Date: Fri, 17 Jul 2015 16:39:40 +0200 Message-Id: <1437143983-4479-4-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.3.6 In-Reply-To: <1437143983-4479-1-git-send-email-clabbe.montjoie@gmail.com> References: <1437143983-4479-1-git-send-email-clabbe.montjoie@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds documentation for Device-Tree bindings for the Security System cryptographic accelerator driver. Signed-off-by: LABBE Corentin --- Documentation/devicetree/bindings/crypto/sun4i-ss.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/sun4i-ss.txt diff --git a/Documentation/devicetree/bindings/crypto/sun4i-ss.txt b/Documentation/devicetree/bindings/crypto/sun4i-ss.txt new file mode 100644 index 0000000..1e02d17 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/sun4i-ss.txt @@ -0,0 +1,19 @@ +* Allwinner Security System found on A20 SoC + +Required properties: +- compatible : Should be "allwinner,sun4i-a10-crypto". +- reg: Should contain the Security System register location and length. +- interrupts: Should contain the IRQ line for the Security System. +- clocks : List of clock specifiers, corresponding to ahb and ss. +- clock-names : Name of the functional clock, should be + * "ahb" : AHB gating clock + * "mod" : SS controller clock + +Example: + crypto: crypto-engine@01c15000 { + compatible = "allwinner,sun4i-a10-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + clocks = <&ahb_gates 5>, <&ss_clk>; + clock-names = "ahb", "mod"; + };