Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5575303rwb; Sun, 11 Dec 2022 08:28:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf7/xyxpoVoiXZS/79RgjMkq1IAqgfMlOCMHk0FXgZKSKY7phJs7/x/xV0J7rEzT8qeieEcy X-Received: by 2002:a17:902:7243:b0:18c:cde:fddb with SMTP id c3-20020a170902724300b0018c0cdefddbmr13155835pll.65.1670776100354; Sun, 11 Dec 2022 08:28:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670776100; cv=none; d=google.com; s=arc-20160816; b=vRWU2sERykkwVVvQfbAMpA9azALb1LC4zBuZTo+xYNnYeg2rsd0inPOSViPQ0E939s zHJ5i6PjdQLBQ2mKDj9Xf/G5tU8V4kFUuDX0Wg2ft+LguPZEfcZhPXNOk9/i4tm+HQ89 MuWsQ9CV9xNHrYui4e/QMVNFPv4hTSFOYQAlUZMdHXn1awgf8bwKRud5OrJ4ygdyY5cY rLRvx/m8D+g+WUohP9S0u0XI/44u+Cw4Sh1K3Xtm2fFhkpLXOalybfrv3tGAK5HCTagR CcLiuptFJ7eUMWAg4y0gt3LR/sx/SViIPXvo9v2CO/GlT82nRB+Ct6FPU58Ev3pJ6cIx RezQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Nbg4eJvA4cB3CL6OA9fhmbI2CWVmuwq6LlgISbTWqqc=; b=EMxFuaIiJjHCMVADDgu0eNEH5zqdGdKlypYh3KFbyFIQFq+Rkk6MTTjfCqpFV777PT g9D7nqKCyoXswlDJ8ASdXPqQedt6Dw6Ei32rJs8p3TN/U9jKhCz2l5V8+P6kip1xmi/d 7TU2LZphMLaWFQQ5XggU02LmT6OJazJDPMuO8N9TsT2U8s1HgA3ZMiP1JguakPMO/LjN RGXZN6lsYfQRXsN6LfofDeWAT0mMKJTKMz3sdDcgInjJJxFrFyGaT+U75XYP0/DEfoUA 57CBykx773WvUac1JTxOC6sizcLviPSX5b85Z30pIOQJjlN7K27Y998zOuvFGWSQTvVi Nc1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZbAK9zub; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2-20020a1709026b4200b001890edb98bfsi6428299plt.1.2022.12.11.08.27.57; Sun, 11 Dec 2022 08:28:20 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZbAK9zub; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbiLKPwA (ORCPT + 99 others); Sun, 11 Dec 2022 10:52:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbiLKPv6 (ORCPT ); Sun, 11 Dec 2022 10:51:58 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33E6EF002; Sun, 11 Dec 2022 07:51:57 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8E1B2B80AE8; Sun, 11 Dec 2022 15:51:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FFD7C433F2; Sun, 11 Dec 2022 15:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670773914; bh=dJPoRJoE0b7D0qoTg74go7ZPIqI4E63GTw/sa+mGBcw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZbAK9zubcW/9MOpoFhmS+s+SQqnT55D+dx+ku6V7jWsP+x5xeVVzaH+L6x4o3vdrA xmFxvaYWEWXBmmRwoulLCR36/Eje8yP6pePGsSf2bNgl+25HY2oJon/Q+ELq+eFf0z lzgGpoTXL/Hq/cEMpC+h1Eccv2uCX1Pio8A0H1UxtTSK+r5uPji1AtVyqIeWlFOaRM pO2I4chV0gnqrY6JNxk/O1s47Io4zMlUncXqTlGADVHjFFJjetEKugDNJbLyRTaXM/ ii4QdTQEVuP10l21cRfpYLg/kb+aSpkUcc6btm9uOb3caoZ3tJsxY4PstnUmdac4LO XJ6VYS8CeubUQ== Received: by mail-ua1-f54.google.com with SMTP id v21so2560792uam.1; Sun, 11 Dec 2022 07:51:54 -0800 (PST) X-Gm-Message-State: ANoB5pnmmCVlFXHyvr6sre7rStU9NukPCddEWycCkgyf+VB/DYGzXBf8 UqEailU+YJ0NXxPqaseIdxCg5WIyrNshTd8hJA== X-Received: by 2002:ab0:3a96:0:b0:419:678:cf31 with SMTP id r22-20020ab03a96000000b004190678cf31mr35054148uaw.63.1670773913199; Sun, 11 Dec 2022 07:51:53 -0800 (PST) MIME-Version: 1.0 References: <20220927075511.3147847-1-clabbe@baylibre.com> <20220927075511.3147847-29-clabbe@baylibre.com> In-Reply-To: <20220927075511.3147847-29-clabbe@baylibre.com> From: Rob Herring Date: Sun, 11 Dec 2022 09:51:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v10 28/33] arm64: dts: rockchip: rk3399: add crypto node To: Corentin Labbe Cc: heiko@sntech.de, ardb@kernel.org, davem@davemloft.net, herbert@gondor.apana.org.au, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Tue, Sep 27, 2022 at 2:56 AM Corentin Labbe wrote: > > The rk3399 has a crypto IP handled by the rk3288 crypto driver so adds a > node for it. > > Tested-by Diederik de Haas > Signed-off-by: Corentin Labbe > --- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > index 92c2207e686c..4391aea25984 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > @@ -582,6 +582,26 @@ saradc: saradc@ff100000 { > status = "disabled"; > }; > > + crypto0: crypto@ff8b0000 { > + compatible = "rockchip,rk3399-crypto"; > + reg = <0x0 0xff8b0000 0x0 0x4000>; > + interrupts = ; > + clocks = <&cru HCLK_M_CRYPTO0>, <&cru HCLK_S_CRYPTO0>, <&cru SCLK_CRYPTO0>; > + clock-names = "hclk_master", "hclk_slave", "sclk"; > + resets = <&cru SRST_CRYPTO0>, <&cru SRST_CRYPTO0_S>, <&cru SRST_CRYPTO0_M>; > + reset-names = "master", "lave", "crypto"; This doesn't match the binding: crypto@ff8b8000: reset-names:2: 'crypto-rst' was expected crypto@ff8b0000: reset-names:2: 'crypto-rst' was expected crypto@ff8b0000: reset-names:1: 'slave' was expected Rob