From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F23B9C4332F for ; Tue, 21 Sep 2021 21:49:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DA8B260E9B for ; Tue, 21 Sep 2021 21:49:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235633AbhIUVud (ORCPT ); Tue, 21 Sep 2021 17:50:33 -0400 Received: from 82-65-109-163.subs.proxad.net ([82.65.109.163]:34186 "EHLO luna.linkmauve.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234813AbhIUVub (ORCPT ); Tue, 21 Sep 2021 17:50:31 -0400 Received: by luna.linkmauve.fr (Postfix, from userid 1000) id 0DF10F40B6A; Tue, 21 Sep 2021 23:39:48 +0200 (CEST) From: Emmanuel Gil Peyrot To: Rob Herring , devicetree@vger.kernel.org Cc: Emmanuel Gil Peyrot , Ash Logan , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Herbert Xu , "David S. Miller" , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-crypto@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: nintendo-aes: Document the Wii and Wii U AES support Date: Tue, 21 Sep 2021 23:39:28 +0200 Message-Id: <20210921213930.10366-3-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210921213930.10366-1-linkmauve@linkmauve.fr> References: <20210921213930.10366-1-linkmauve@linkmauve.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Both of these consoles use the exact same AES engine, which only supports CBC mode with 128-bit keys. Signed-off-by: Emmanuel Gil Peyrot --- .../bindings/crypto/nintendo-aes.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/nintendo-aes.yaml diff --git a/Documentation/devicetree/bindings/crypto/nintendo-aes.yaml b/Documentation/devicetree/bindings/crypto/nintendo-aes.yaml new file mode 100644 index 000000000000..e62a2bfc571c --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/nintendo-aes.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/nintendo-aes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nintendo Wii and Wii U AES engine + +maintainers: + - Emmanuel Gil Peyrot + +description: |+ + The AES engine in the Nintendo Wii and Wii U supports the following: + -- Advanced Encryption Standard (AES) in CBC mode, with 128-bit keys + +properties: + compatible: + items: + - const: nintendo,hollywood-aes + - const: nintendo,latte-aes + + reg: + maxItems: 1 + + interrupts: + description: Not supported yet. + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false -- 2.33.0