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 8288AC433EF for ; Tue, 21 Sep 2021 21:48:29 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E36A60F3A for ; Tue, 21 Sep 2021 21:48:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2E36A60F3A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HDZmq6JMZz3fNk for ; Wed, 22 Sep 2021 07:48:27 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linkmauve.fr (client-ip=2a01:e0a:828:c7c0:49:5ff:fe41:d261; helo=luna.linkmauve.fr; envelope-from=linkmauve@linkmauve.fr; receiver=) Received: from luna.linkmauve.fr (unknown [IPv6:2a01:e0a:828:c7c0:49:5ff:fe41:d261]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HDZb63pDXz3ccT for ; Wed, 22 Sep 2021 07:40:02 +1000 (AEST) 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 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 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Herbert Xu , Emmanuel Gil Peyrot , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, Paul Mackerras , Ash Logan , linuxppc-dev@lists.ozlabs.org, "David S. Miller" , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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