Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5764558ioo; Wed, 1 Jun 2022 12:05:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQqM244LiloBUpqhuviFvDvL8+4F8chm5Fzdo0+j1CONisLzVgKnFhFnPs8tj7onjwPYm8 X-Received: by 2002:a63:1343:0:b0:3fb:bddd:a3ea with SMTP id 3-20020a631343000000b003fbbddda3eamr706891pgt.403.1654110314810; Wed, 01 Jun 2022 12:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654110314; cv=none; d=google.com; s=arc-20160816; b=J3rA0mvPI/8oCheL3euOxe5K9vcp9xgS4MXqvquuuWXde/Rv4MR2JL1qw7CNGCzFPE /ACOvRxgEoakMlIz5yH7EYQ+mwuCCFYEfDze4wB5H05cSXscAFuW9xKJGlIEclPjvRs3 7PP5FgMlgYvV0uHTG0Gqme927D8kCreTvrBBl9oHaxqhN/RzEpdRyCvWLq6hUlV2klct z3XOwes5qrqD1FcL+Z3nqWwjwDD2+vD9PoLZP00ynS5Mh1qZ8P8hhkJjSssJIuq+n+Fv 6tKFkWCAs10A8EL0atljtIKvOezAsRRFhv9FUDL2Das4ApqwqYHYHQ4WBqLG70TPhwBG nfhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=s2PlTZYY8R28TUeq75F4uR7zGlGUKh+ikOMylXlWI90=; b=yCpCGIkthVTAGRPf0dpzVQ52bh9oGytCrN1FM7Ar8oYWxW1WRYOH/TBHA+4Omeifzm HLllZChzhZ/5fLjCXAv1DoD87QWiXRhVkHvTf8KpXbTK43ZUs8HtxmZkE5D41kxZzhR0 2t5yLK6byrHSlPg0WPbEgcrOpIw1JaBJ4FLXJMt6bDxlmPrfi+ru1RHP8ThoyONMTJpy pLUVPuWQf1NHixi+BeuuJHT1uYnvGqXb50TbD8i+TZ6g5vtbZcU2HkXS90QIhsn8O3Zd tGsBrCqZ5clCB5puPpwsHMbohhBLvr6267qxySf5Fm/pNtI0sjh7GIbteLcamI1ypMkv cTMw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s30-20020a63ff5e000000b003fa34f0053esi3213063pgk.228.2022.06.01.12.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:05:14 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E5BF5FD377; Wed, 1 Jun 2022 11:47:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236549AbiFAFmp (ORCPT + 99 others); Wed, 1 Jun 2022 01:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240490AbiFAFml (ORCPT ); Wed, 1 Jun 2022 01:42:41 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2ABB05A16A for ; Tue, 31 May 2022 22:42:40 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 2515Rn6E027924; Wed, 1 Jun 2022 13:27:50 +0800 (GMT-8) (envelope-from neal_liu@aspeedtech.com) Received: from localhost.localdomain (192.168.10.10) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Jun 2022 13:42:18 +0800 From: Neal Liu To: Herbert Xu , "David S . Miller" , Rob Herring , Krzysztof Kozlowski , Joel Stanley , "Andrew Jeffery" , Johnny Huang CC: , , , , Subject: [PATCH 4/5] dt-bindings: crypto: add documentation for aspeed hace Date: Wed, 1 Jun 2022 13:42:03 +0800 Message-ID: <20220601054204.1522976-5-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220601054204.1522976-1-neal_liu@aspeedtech.com> References: <20220601054204.1522976-1-neal_liu@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.10.10] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 2515Rn6E027924 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add device tree binding documentation for the Aspeed Hash and Crypto Engines (HACE) Controller. Signed-off-by: Neal Liu Signed-off-by: Johnny Huang --- .../bindings/crypto/aspeed,hace.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/aspeed,hace.yaml diff --git a/Documentation/devicetree/bindings/crypto/aspeed,hace.yaml b/Documentation/devicetree/bindings/crypto/aspeed,hace.yaml new file mode 100644 index 000000000000..36b4ad0dc7fa --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/aspeed,hace.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/aspeed,hace.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED HACE hash and crypto Hardware Accelerator Device Tree Bindings + +maintainers: + - Neal Liu + +description: | + The Hash and Crypto Engine (HACE) is designed to accelerate the throughput + of hash data digest, encryption, and decryption. Basically, HACE can be + divided into two independently engines - Hash Engine and Crypto Engine. + +properties: + compatible: + enum: + - aspeed,ast2500-hace + - aspeed,ast2600-hace + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + - resets + +additionalProperties: false + +examples: + - | + #include + hace: hace@1e6d0000 { + compatible = "aspeed,ast2600-hace"; + reg = <0x1e6d0000 0x200>; + interrupts = <4>; + clocks = <&syscon ASPEED_CLK_GATE_YCLK>; + clock-names = "yclk"; + resets = <&syscon ASPEED_RESET_HACE>; + }; -- 2.25.1