From patchwork Mon Oct 14 05:18:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 176111 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4057232ill; Sun, 13 Oct 2019 22:18:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+uKDGpJbBfgs/wvvPqq6AvyQ2II69GX1bP0EWewOoEr0xgmRuy+/iCfuhtlyE+tJHGVMu X-Received: by 2002:a05:6402:21d6:: with SMTP id bi22mr26097178edb.19.1571030332751; Sun, 13 Oct 2019 22:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571030332; cv=none; d=google.com; s=arc-20160816; b=vG2RVCS2t/Px20GWL/vKTaLDT45lfo25lT5UKm903qbzIQZPseju43foEWTMpItD63 zRxK1QZqvzB3BAy0FOIFMXYW7mD5nGPMiykuoi542kkHT9mFOtZ6ttFebhkfXHECJvap nHHuhz5JGZJNbHGEnboIiWZNIyCxZB26nAp7aUk+ny4pNKeury/6jdcW07TXl76TKNQM cgm5AVFmXALNVNnKwF5Hd/aIq/yBp3lU7xQkZPNhU18jR8GU3YWaiadGKa2ffi/YDM3k dHWJw+B0B0cS3wf4sd4TGh+DqmH7e2rg5SwsSTyUR46Y5IKRgszaQKWvpY6DUi2+FspF Iy9g== 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 :dkim-signature; bh=EBOdxnEDjlDgTl8vnBYCTotGM7/cUtbcpepjO3ITy9M=; b=okAa11cgmijttbAjMgLnf0IkxsYYPulnuMcvfJO/nzjMbQwWwmJ6CBnNIt9JNbBWfH eg0QgQzPT8LBxYFQyH2DKkzFbZsLZQwNLGIrHFZHi+SSfbnenEOmvZ7jsHsoRR6D5hHs fT5Rj32/PllqCDWlHOw2yKhiFaaX5WudHYvYafIjuNebgSt6/qZT8HzkTLvh4k/wjo6w JhG0ncIWXCWqABclfEsVL3i6I1PkqtK1c3IuZVxOoHiAhin0wv7R3kbDqRcUBEJx9Du6 ucX12KZ213uRUILtV3+WQoBWu+3fx8QnD+VaneA0RSJvBfaz/ye6K3cWXY5Yi5Jl22Yd d7yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HqkvtcIx; 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=pass (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 y20si10898042edo.436.2019.10.13.22.18.52; Sun, 13 Oct 2019 22:18:52 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HqkvtcIx; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727725AbfJNFSs (ORCPT + 9 others); Mon, 14 Oct 2019 01:18:48 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44470 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726500AbfJNFSr (ORCPT ); Mon, 14 Oct 2019 01:18:47 -0400 Received: by mail-wr1-f68.google.com with SMTP id z9so17996708wrl.11; Sun, 13 Oct 2019 22:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EBOdxnEDjlDgTl8vnBYCTotGM7/cUtbcpepjO3ITy9M=; b=HqkvtcIx4fKEctevUUEDQOTu5HEOMNeeAb9/shYTajmx2Re/0dOg1GgHRiGwRty25s SBXJQNvNb2cGCcm5Pr+mmn3TFcjitR29pNr5hTE5vHoaExHo8O3GchfAqK8qhCxwcp0M To+wZDV4lGbYpLkAXnxH4Y+TOzbDmZA5CBbj45dpvNfib4XDDh/qM+S/SQWi4SfmEmrD 9tHxoOaHiMbQtyH49+CbHYjrOwcU2Ii4+hAdRWN8tmtzEHtWJi5/iGX2Y3EKm+TyvPNj rYhmL7eE99NfYYG6be3fuPNZU/N6+HPDQjBYtYFyDho9EIJYOP/CJ5ZOOn37Cg2iujeY YseA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EBOdxnEDjlDgTl8vnBYCTotGM7/cUtbcpepjO3ITy9M=; b=pwCGZhvqs82QB6g+q+tcx148Fzxy/7uK1ne32Qr/oskPeCcSrn9eFtDf0vGMfs5q0b b3PS/d5vjfsjU6814VzZx7Fb2J89fSwVCE94BQ3Ypl7uHMytbMhYuoo296X/e6hYJVfU xmaiOd7BKrKRgKMnfmmlpyPHgdudK/D57gYXNGWXhkvFzDEDBNoKLdMtT3LTmiZyPqXt nZLvqNLnDeK9hirV2UlTkAdGoGs1DUmDL/CWX0ks02QdysSafWuej//bioR1ntaI00t2 tUBz2SKDdgrHu/9+ZWupWKjm9VziPmyWEc95M3yQm5a5Hu9V639G8zrxnZwmmGYr7wvf R4pw== X-Gm-Message-State: APjAAAVz1rjv3mqGq7CNGmx+9Totx5/6HFcfzlkHPN2Rmwu4E+otRGuh FX3O9hL+ZHZbzj56u7FZ5A8= X-Received: by 2002:adf:dd88:: with SMTP id x8mr13266930wrl.140.1571030325603; Sun, 13 Oct 2019 22:18:45 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id 5sm14660340wrk.86.2019.10.13.22.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Oct 2019 22:18:45 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, khilman@baylibre.com, mark.rutland@arm.com, robh+dt@kernel.org, martin.blumenstingl@googlemail.com Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH v2 1/4] dt-bindings: crypto: Add DT bindings documentation for amlogic-crypto Date: Mon, 14 Oct 2019 07:18:36 +0200 Message-Id: <20191014051839.32274-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191014051839.32274-1-clabbe.montjoie@gmail.com> References: <20191014051839.32274-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds documentation for Device-Tree bindings for the Amlogic GXL cryptographic offloader driver. Signed-off-by: Corentin Labbe --- .../bindings/crypto/amlogic,gxl-crypto.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml -- 2.21.0 diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml new file mode 100644 index 000000000000..5becc60a0e28 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/amlogic,gxl-crypto.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic GXL Cryptographic Offloader + +maintainers: + - Corentin Labbe + +properties: + compatible: + items: + - const: amlogic,gxl-crypto + + reg: + maxItems: 1 + + interrupts: + items: + - description: "Interrupt for flow 0" + - description: "Interrupt for flow 1" + + clocks: + maxItems: 1 + + clock-names: + const: blkmv + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + crypto: crypto@c883e000 { + compatible = "amlogic,gxl-crypto"; + reg = <0x0 0xc883e000 0x0 0x36>; + interrupts = , ; + clocks = <&clkc CLKID_BLKMV>; + clock-names = "blkmv"; + };