Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1372041pxb; Thu, 24 Mar 2022 19:03:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhQ3qmaBdpZZsqOtmsMKJAsgmmgrJljzClzUrPMi59h5Mrxv+vroaWFa84NhYW33w+pyMr X-Received: by 2002:a17:906:7952:b0:6da:94c9:cccb with SMTP id l18-20020a170906795200b006da94c9cccbmr8811738ejo.469.1648173796593; Thu, 24 Mar 2022 19:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648173796; cv=none; d=google.com; s=arc-20160816; b=ldD6g2xQw91DsHgN4TUSRdDpHBl61q0YVz9rMTn4vHGdEHtC9PmE8JGhUTMXB9tezz XALQQZw+2c8tedl/7allGges6D4P5myR9FBGpPu3HUy/TpX3WsiEns5X6L97uhBJIaQ1 kAsYronZz1jvrNF2eaQJn2rtbNF7TlE4yltlsoPSgpExG+hEuTHBGzsHfldPUJpdVNJZ YRbiWum/WJOU+q+qWqnQaCGTo5RkpJCn6zz0Aq8evSCZmB8VUufFbwAS6WT+3NRGHYuS 3GaHnD1KMR2Y97kfZLpwT2JPmvqZlbYKjdLgHW0lGaIYw1RwdF0L3sF9W7EhxXCVpAgs QMSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=RNyJC1kPqwZ1DpnorZTTZheYywtiYHLr9Lvb7ogyt6Q=; b=nJDxjICBROgCfzi18DHipG4LswpqIeUVTQzL9VfUi22GbdM2XsQdi9GmrNT+sPHi7a izXbR0xU5bQ8M3JQuUg2VZZCVVDGQkY3rkM+bXtZGJMOiyHWDX4ADcZusEw7UbnTwffi 96ozCRrO+nqaHzYGSoECS0A5CO/f/N92N6ymZG4OMJMNDxi92EdN3jKNtGMo3uID8cXj gKMYlf2beUJFBqhHhNJGKEKtqVEKg4jWeyg/aXvFawUxmjOUvpanul54xXAg1iyzYJ67 +LxZld+sEFD883PIX6W4n5r4D7CypbECTWDobEmLvK3qGhaD5Biygh6DXshLEeC9+GO7 8gZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=heQg+oDa; 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 y5-20020a17090668c500b006dfe2af50fcsi1010736ejr.893.2022.03.24.19.02.39; Thu, 24 Mar 2022 19:03:16 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=heQg+oDa; 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 S1354781AbiCYAnA (ORCPT + 99 others); Thu, 24 Mar 2022 20:43:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348270AbiCYAm7 (ORCPT ); Thu, 24 Mar 2022 20:42:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2662BA30B; Thu, 24 Mar 2022 17:41:26 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 6E6AA617E3; Fri, 25 Mar 2022 00:41:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C80FDC340EC; Fri, 25 Mar 2022 00:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648168885; bh=FbOzwJQ3VItTPiRwVL0i6iYEw4wn48XltfsXSq3Gp0I=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=heQg+oDa7Y6hrV9cfifoxjjs109z+q36R8eT3+BFw4M0zUjooFDcroS4+WlBhFu8P GeyTbIPNwH8DN4D5L87WCjB6fsExxxYylolVtUVdqMnWNZLSXMI0bt77o83lwoDqsf U1V//fakJzWSm9GAFDn51NoPEQr2Xd/B88ALmkyf10pi8RjLf/6XnUHqOXwnRd6dx/ Hbgm258ar/AEJ/RMB7grT+bdeR48/HT9+1RBcl9MaqOquU/xj0rDw4URq56v8wncNP Pk4HrDByhLh2ixpsORYTVluAGEBpP2gInzE4wN2G4QWvXSfZO8sZ6SsS+OisfXWtjV tR3pLBOcq+IAw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220321200739.3572792-18-clabbe@baylibre.com> References: <20220321200739.3572792-1-clabbe@baylibre.com> <20220321200739.3572792-18-clabbe@baylibre.com> Subject: Re: [PATCH v3 17/26] clk: rk3399: use proper crypto0 name From: Stephen Boyd Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Corentin Labbe To: Corentin Labbe , heiko@sntech.de, herbert@gondor.apana.org.au, krzk+dt@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org Date: Thu, 24 Mar 2022 17:41:23 -0700 User-Agent: alot/0.10 Message-Id: <20220325004125.C80FDC340EC@smtp.kernel.org> X-Spam-Status: No, score=-8.3 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,T_SCC_BODY_TEXT_LINE 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 Quoting Corentin Labbe (2022-03-21 13:07:30) > rk3399 has 2 crypto instance, reset for crypto1 is correctly named, but > crypto0 not. > Add a 0 to be consistent. This is OK because nothing is using the define today? >=20 > Signed-off-by: Corentin Labbe > --- > include/dt-bindings/clock/rk3399-cru.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings= /clock/rk3399-cru.h > index 44e0a319f077..39169d94a44e 100644 > --- a/include/dt-bindings/clock/rk3399-cru.h > +++ b/include/dt-bindings/clock/rk3399-cru.h > @@ -547,8 +547,8 @@ > #define SRST_H_PERILP0 171 > #define SRST_H_PERILP0_NOC 172 > #define SRST_ROM 173 > -#define SRST_CRYPTO_S 174 > -#define SRST_CRYPTO_M 175 > +#define SRST_CRYPTO0_S 174 > +#define SRST_CRYPTO0_M 175 > =20 > /* cru_softrst_con11 */ > #define SRST_P_DCF 176 > @@ -556,7 +556,7 @@ > #define SRST_CM0S 178 > #define SRST_CM0S_DBG 179 > #define SRST_CM0S_PO 180 > -#define SRST_CRYPTO 181 > +#define SRST_CRYPTO0 181 $ git grep SRST_CRYPTO Documentation/devicetree/bindings/crypto/rockchip-crypto.txt: res= ets =3D <&cru SRST_CRYPTO>; arch/arm/boot/dts/rk3288.dtsi: resets =3D <&cru SRST_CRYPTO>; Uh oh. Just don't change it and think about something else when it starts to feel inconsistent.