Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp162307rwr; Thu, 4 May 2023 00:36:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5wEhTFGSTQv8gggzYqeBt5Ouy/0WoCfxmEcdHfJ1ge1Q1OqAi8lkHaSUQ+U54GG1DbPvOY X-Received: by 2002:a17:903:11c4:b0:1a9:8ba4:d0d3 with SMTP id q4-20020a17090311c400b001a98ba4d0d3mr3531735plh.8.1683185764174; Thu, 04 May 2023 00:36:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683185764; cv=none; d=google.com; s=arc-20160816; b=urgazNEqWU2hE2biCzChQWnVLjOBvV9byXBn4RlSbo0eWCtW9ad/oAvnvIjnjOvv5n gepKEszVnbesroovXmqtMhuA6tY44eVsB7yalc1ceZy2exq3VF3/hVQYHI/Y3SPTOWTw X8gGV23ItJVZwZhYhzVBoM2dGi4GdcTajQTKXhvwFqRALmtTfDt4haQI22f47kgg6aHu 4PUdM5/fDCFjLRvkjdycVlp6NdTXAZnwKpw7wnF6scDi/Bd0TUrAHwQ02md9MJ5h0ffY 0fZ7RNYSs5Gxj9C1kimGqlDBwQPbbHxsZSSy/D+2JdInRVzGrqAX2dnWt2oeWRmVyVuo 6qIA== 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=0s1VEn5UlzmZUI/VzJlPvTPv4xkr2quQt0CjnP8iP4Y=; b=oV3ZHToAmUME0jNXXjRcrJH15AYx2ZIONw7XcodfU9+3dXWL5z1f+hgqkBP6EvuItj LR4KP3EB+1GeyaTnabHChXMHtxU7lc1hUgSYLeEHkrXd7NAfsV1teJgdZTFjFxbGZcBC 2Zbb3Cl9tvvOsqjmgAx/4albLe93eqgpGiVP7OA9eEPG49/p7Expk6JGZK22I1ScxDJh nlmXZ+kJcgRw45qCY/RCRsxwfetdxyj7jnDPDX25RbasLURMrDYKBdTkLdkeJlcl2Gid rWBZiuUN8TSbiWncu0AMmTiwnPZfI2dWw5lX3jQSdDJv1a1nY/5xBWpYw0G9eTVWqHX4 M77g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a170903230500b001a1cefdaa33si36803911plh.342.2023.05.04.00.35.45; Thu, 04 May 2023 00:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbjEDHeV convert rfc822-to-8bit (ORCPT + 99 others); Thu, 4 May 2023 03:34:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229765AbjEDHeU (ORCPT ); Thu, 4 May 2023 03:34:20 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3A2AA9; Thu, 4 May 2023 00:34:16 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 5611324E1A6; Thu, 4 May 2023 15:34:14 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 4 May 2023 15:34:14 +0800 Received: from ubuntu.localdomain (161.142.156.10) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 4 May 2023 15:34:08 +0800 From: Jia Jie Ho To: Herbert Xu , "David S . Miller" , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Palmer Dabbelt CC: , , , Subject: [PATCH v7 1/4] dt-bindings: crypto: Add StarFive crypto module Date: Thu, 4 May 2023 15:33:57 +0800 Message-ID: <20230504073400.1170979-2-jiajie.ho@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230504073400.1170979-1-jiajie.ho@starfivetech.com> References: <20230504073400.1170979-1-jiajie.ho@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [161.142.156.10] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 documentation to describe StarFive cryptographic engine. Co-developed-by: Huan Feng Signed-off-by: Huan Feng Signed-off-by: Jia Jie Ho Reviewed-by: Rob Herring --- .../crypto/starfive,jh7110-crypto.yaml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml diff --git a/Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml b/Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml new file mode 100644 index 000000000000..71a2876bd6e4 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/starfive,jh7110-crypto.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive Cryptographic Module + +maintainers: + - Jia Jie Ho + - William Qiu + +properties: + compatible: + const: starfive,jh7110-crypto + + reg: + maxItems: 1 + + clocks: + items: + - description: Hardware reference clock + - description: AHB reference clock + + clock-names: + items: + - const: hclk + - const: ahb + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + dmas: + items: + - description: TX DMA channel + - description: RX DMA channel + + dma-names: + items: + - const: tx + - const: rx + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - dmas + - dma-names + +additionalProperties: false + +examples: + - | + crypto: crypto@16000000 { + compatible = "starfive,jh7110-crypto"; + reg = <0x16000000 0x4000>; + clocks = <&clk 15>, <&clk 16>; + clock-names = "hclk", "ahb"; + interrupts = <28>; + resets = <&reset 3>; + dmas = <&dma 1 2>, + <&dma 0 2>; + dma-names = "tx", "rx"; + }; +... -- 2.25.1