Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp250141pxk; Tue, 1 Sep 2020 23:29:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrjnNSobFqcoidZX7rYSbXx0hNlKlWGWRtN+rAwYFL7zl+Kx3+kBtFyXMpfr327gGv3vMJ X-Received: by 2002:a50:84a2:: with SMTP id 31mr5221640edq.138.1599028173092; Tue, 01 Sep 2020 23:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599028173; cv=none; d=google.com; s=arc-20160816; b=b5UUTlQ96B6yH0mwcAfdg2jUexQC7AR1YgQRlXgELBkts6y6EJygKPc87+h2yVb+66 DbyFTZyw8ei1cc5DUgUZcM832kLyvXtbIvHiXn/K+ZBqBM1F+A3b3K29VRvyvDr2oZCs TEBcUEo82hq9WNlsspaAgvTOiHO/8XzjUfpNpq4RGbXjbihimD85fi/1N5JIpBUDxXuu +q1oxYRGQC/+sY9UGkMLKVP3bSMHps6qAQiYh4ONLJWSAwOwjlkT6WPv0QSh4ZQkI2q1 BxVQ/tab6ys087ZK67hPpl0LvSavNI/U92BufqieYBWFn3o0R2zFetvOBjCwsmfjyYL5 e+6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=SBzOvJB/yYCoEo/r9GhASG+JavodAZ6L/gZnLI3x0KI=; b=N2Ab/vHiXETFDSPUAQAqN6Dbg/+CNh0uatPymGw8uC/NmOQJJ6lmPL0mqJc/oPysNK 9sCClGhtMUg37qe9huO0iQhhm9CzdNaL+JAlEmg2M3hd9d8ZczNHPq0e7qfL5T0dGHmc NFR+gT5EQxzG7H28uq7jZXRoV6O7B52Smur+20UOTyXYOERdMOwxpvdmJlFBoYPV+YD3 dA8NJTozKcBOhWEPdNaVXBC91140MxCv2LRmZgD9Uxo8T4vHHkCNgji7IZYLyjlS7v3b oZULF+3/JNWbHF01pxbLZ2kZy5aj9nvWvsWNJpWR2GyKnc7Cy+/COUFHnYYXz5v9j1uu ykyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z5JnQjcX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci27si1898031ejc.333.2020.09.01.23.29.08; Tue, 01 Sep 2020 23:29:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z5JnQjcX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbgIBG2a (ORCPT + 99 others); Wed, 2 Sep 2020 02:28:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgIBG22 (ORCPT ); Wed, 2 Sep 2020 02:28:28 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D5F7C061244; Tue, 1 Sep 2020 23:28:28 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id a65so3212860wme.5; Tue, 01 Sep 2020 23:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=SBzOvJB/yYCoEo/r9GhASG+JavodAZ6L/gZnLI3x0KI=; b=Z5JnQjcXzHs+Z00jerccBtpE0ThplOgsdiZ1LvBuzfP/Ufhc8Xcv4L8PP6cc/ottSh 5wzkKyLoOIuytmMGjyfaVTAsxuVdUfSXLrc/Z9UDAsPA2bIvoHYDyg3+E9X/nTaGkx5p GA4kxFbavEBTBF2Gp/0UxMA1ljbmmqN/TBOcaby6UY0hp+bFolQcqstSayAAv48A//6A neN4d2xhdOK8w3Otl/n9HGDA4Ajc6DOi9q1yeZ8sFrSmKC7Uy6e/aiMMEu8cc1w31zxa CKhT2eqW7qCtr168/V9trSYXPY42Mr5i99JNH0q5UgtR1PWwA9U51BRKB4iHr1lnrlnh O5aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=SBzOvJB/yYCoEo/r9GhASG+JavodAZ6L/gZnLI3x0KI=; b=LoLyzAbskY7h9O/GlCCil0kVWO1ca+JFqrfkD4H4VZOAFrTf2/f0Cxd0wpc0h3+dnj 9MJP8Gl4uynbBRjSfbWSPgPhdmuO0vSWGSlG+IljPlwA361kwxuRgDaDY22DrYRH98lv Osd9HN7b06IEpTCplM+RDGeU5hECajioD/+ezrp/55LdJxDLgxl8QwbdaYUp0nIOanRr LasEbsFufhkVQN/neTNq1E2F7cK3DAPwcez01VtRvJDYAGFxyD1pQ/ErYkr6h+aiFZR8 ZUJ0htjJKPSaOjB+dOnrmKTN98egqTLOuJQzjKnv3EMnhmbUuQ+cXgZeoPV62MJlfZVY 9AZQ== X-Gm-Message-State: AOAM532zSUIPuKQf0UovYY3OPmAEjyLybRboMkObfkgtisHRnAt9XoF3 IxckFXwy7HPDP0SWd2W5XXnBmVtZBQg= X-Received: by 2002:a05:600c:2cc1:: with SMTP id l1mr5029705wmc.78.1599028107192; Tue, 01 Sep 2020 23:28:27 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id v3sm4789527wmh.6.2020.09.01.23.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2020 23:28:26 -0700 (PDT) Date: Wed, 2 Sep 2020 08:28:24 +0200 From: Corentin Labbe To: Maxime Ripard Cc: Martin Cerveny , Chen-Yu Tsai , "David S. Miller" , devicetree@vger.kernel.org, Herbert Xu , linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [PATCH v2 1/3] dt-bindings: crypto: add new compatible for V3s Message-ID: <20200902062824.GA17544@Red> References: <20200831073101.3608-1-m.cerveny@computer.org> <20200831073101.3608-2-m.cerveny@computer.org> <20200901093249.orwyc5sr3z2y43fz@gilmour.lan> <20200901105719.GA2639@Red> <20200901114015.qivovvjqvmhkicdl@gilmour.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200901114015.qivovvjqvmhkicdl@gilmour.lan> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 01, 2020 at 01:40:15PM +0200, Maxime Ripard wrote: > On Tue, Sep 01, 2020 at 12:57:19PM +0200, Corentin Labbe wrote: > > On Tue, Sep 01, 2020 at 11:32:49AM +0200, Maxime Ripard wrote: > > > On Mon, Aug 31, 2020 at 09:30:59AM +0200, Martin Cerveny wrote: > > > > Like A33 "sun4i-ss" has a difference, it give SHA1 digest > > > > directly in BE. So add new compatible. > > > > > > > > Tested-by: Martin Cerveny > > > > > > The Tested-by tag is for the other developpers. You're very much > > > expected to have tested your patch before contributing it. > > > > > > > Signed-off-by: Martin Cerveny > > > > --- > > > > .../bindings/crypto/allwinner,sun4i-a10-crypto.yaml | 5 ++++- > > > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml > > > > index fc823572b..180efd13a 100644 > > > > --- a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml > > > > +++ b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml > > > > @@ -25,6 +25,7 @@ properties: > > > > - const: allwinner,sun4i-a10-crypto > > > > - items: > > > > - const: allwinner,sun8i-a33-crypto > > > > + - const: allwinner,sun8i-v3s-crypto > > > > > > If it's compatible with the A33, why do we need to introduce a new compatible? > > > > > > > > > > > reg: > > > > maxItems: 1 > > > > @@ -59,7 +60,9 @@ if: > > > > properties: > > > > compatible: > > > > contains: > > > > - const: allwinner,sun6i-a31-crypto > > > > + oneOf: > > > > + - const: allwinner,sun6i-a31-crypto > > > > + - const: allwinner,sun8i-v3s-crypto > > > > > > I guess the A33 compatible should be on that list as well? > > > > This is the list of "need reset". > > So we cannot use allwinner,sun8i-a33-crypto > > Probably this explanation should be in the commit message. > > But the A33 has a reset in the DTSI > Oh right so I need to send a fix for that and Martin Cerveny could simply use the "allwinner,sun8i-a33-crypto" (and so keep only patch #1(DTS)) Regards