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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40CC6C433EF for ; Mon, 27 Sep 2021 18:01:35 +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 AC43E600EF for ; Mon, 27 Sep 2021 18:01:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AC43E600EF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 4HJ9SF2KTmz2yR7 for ; Tue, 28 Sep 2021 04:01:33 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.210.50; helo=mail-ot1-f50.google.com; envelope-from=robherring2@gmail.com; receiver=) Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HJ9Rk3h77z2xgJ for ; Tue, 28 Sep 2021 04:01:05 +1000 (AEST) Received: by mail-ot1-f50.google.com with SMTP id o59-20020a9d2241000000b0054745f28c69so23472785ota.13 for ; Mon, 27 Sep 2021 11:01:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bk6IEL1uZf2s3dmk9m5afP7AhxL2b1kO1A39LyNaXkM=; b=EJ44a4+wXyxOs7vP25tZrpaiMt99OLHjcrGcU4Yc01op7jqBZ8nw2WQlX6SfDhA+R1 ATL0RU/4aeK4RiAn+zBcwv2fldpS2DJvpBxe6RK6ar9GGnHb4z2j+y4GYcg9fxIPxWGw Q7rUU9ZszkF7YEr9e0kienSmjEX+cU361l4Aqr5z4vT63Ln5cNPvjmNz/S3jO83+CfoK ipcuzgcrGnqSOH82Fb8V5X0sv+Yg2ifHMrcWP8naVkiw/XGWLRU7TdTKcepRnfq2ZO7/ dGXuCKyVFu7y+htdTPqLMJ1ipGnqLK3WTlbZHvuljIeXpESSL9U/PQyg4YbIGm08k48P Lt2Q== X-Gm-Message-State: AOAM532gGgTNVsYco5m3ghaHXPD4GiJ3kf8vP9oHfQEwx2piSntwlqSm zm6fn2fFc20tm39NPJEuHQ== X-Google-Smtp-Source: ABdhPJy1u1047PO9kAE4IDPov+AHa+ZWbRS+2hfY06WstvUKSl+QP0r+E7Y8mYsUq1/d7F3I8OpOWw== X-Received: by 2002:a05:6830:2f2:: with SMTP id r18mr1223863ote.228.1632765662725; Mon, 27 Sep 2021 11:01:02 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id g23sm4108432otl.23.2021.09.27.11.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 11:01:02 -0700 (PDT) Received: (nullmailer pid 3555843 invoked by uid 1000); Mon, 27 Sep 2021 18:01:01 -0000 Date: Mon, 27 Sep 2021 13:01:01 -0500 From: Rob Herring To: Emmanuel Gil Peyrot Subject: Re: [PATCH 2/4] dt-bindings: nintendo-aes: Document the Wii and Wii U AES support Message-ID: References: <20210921213930.10366-1-linkmauve@linkmauve.fr> <20210921213930.10366-3-linkmauve@linkmauve.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210921213930.10366-3-linkmauve@linkmauve.fr> 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: devicetree@vger.kernel.org, Herbert Xu , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, Paul Mackerras , Ash Logan , linuxppc-dev@lists.ozlabs.org, "David S. Miller" , Jonathan =?iso-8859-1?Q?Neusch=E4fer?= Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Sep 21, 2021 at 11:39:28PM +0200, Emmanuel Gil Peyrot wrote: > 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 Dual license new bindings. checkpatch.pl will tell you this. > +%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 > >