From patchwork Mon Sep 7 17:54:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 11761913 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 395DF59D for ; Mon, 7 Sep 2020 17:55:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 086562080A for ; Mon, 7 Sep 2020 17:55:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="M+fvUpBi"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fDz8Wphj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 086562080A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=+NEiIQeeMUvv1T4eVCreLl+AdeEG9tzewrUvZ5l6CEk=; b=M+fvUpBid+YkfqEoTscXAGPz2w n4nhg2hbZ8lrIoNaUUjpy8pUIUAkkVdBKo0hJZNkU6eS3AM7+FkDAAtkJ6MGvfcOVq1jmv5/vtpBL ilxgQhoT90dfNfZoi1dvBhAd2+MqKayt+ICBDiJ9ej+pD3gjsP4d8pPoaZd2EclAvxJxBqnpd8joU v1GTmUjR4OXj8ZGHQcsyFvGXgT6yS5nz3CzQ5Z8u8Ppaxp45zsoBKA42ftual0d+pRxFk9i9Qtj34 WwQps6IrzIbcXlwPh0VOu0CkOxGawSC2q7Fvu/QstQIdU0TrQ3gFWwM7UjKetBxuuBKk8K5pKMjal fdhgBqIA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFLLu-0006JD-Qb; Mon, 07 Sep 2020 17:54:50 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFLLr-0006I6-9W for linux-arm-kernel@lists.infradead.org; Mon, 07 Sep 2020 17:54:47 +0000 Received: by mail-wr1-x441.google.com with SMTP id k15so16564443wrn.10 for ; Mon, 07 Sep 2020 10:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FbRc5khqS8fj5sPJsPlmiUlETyEoMORWYslwTB7qr70=; b=fDz8WphjtGoceLUkrGnnfBAOwDy5R8rTqCFJt4PTP+rBKl/C5XoRukYIkF3G2w9elx PUVLJejK4SzQ1ZTR2pTmWD5lXLdGtREDcihYsHauYv5JcWGJVGgsm5R1GYZzAcqiyIDY 3Q0NdERNA8RYIyQOUcJgMPbzEL0UY5iYojbeYCK0cxWshQbnGuYTE3N1bT6dviE2kz5Z zTHwoeoMIgvH7wk25c8sP2Mvqn9yz9F0nPn8jjADAbpHgcKEiF3qH/dKpN0xhcKwYKVa CcUSK8s8myoplLJskSpusJcfIODFVnjlx7CAZPakyHWbCVmCt1dXr1HtLDUDpB82i7q+ TMEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FbRc5khqS8fj5sPJsPlmiUlETyEoMORWYslwTB7qr70=; b=l98NuF1ZuPffijBRNhIxMgcJMcKjaW0b+QwaO1W+PLQ8jvHlqwVpgboxgjEJ5TyHPa 9LB07SFT2s5KCsrbBN40pCwVcar+XDJDvd6cumlFnBlzhKuavb+PYuKsRK4EfJZKHNYD iWYUyDB0AlZAqUohu1jbj/tceHjSkJxe8pCoKooBgqS9dTnGnGN3Pt+yBcxgGTvIbYYa tEA9L9EKtK3F6TkS9TKij+7zOlvuwDO/gjQxd2tH4mXkQ5Qfe8yGIKYzvEhDn3zmZnzW W/bqPHiu4wy2XZ9C1SvwwiTz1AScsGu7IXsbxMd/O3qaTu5aduMV2GZT3MT+yWX0zge7 cV1Q== X-Gm-Message-State: AOAM533GDj6f/2uxmxHn1YEdVmLnrs01Ye/856zMQTIsRC/D09i/XBze 4X/D5orDL+OYqcGuilzJoDE= X-Google-Smtp-Source: ABdhPJyJbIrC0i02kkLyImI7fa2gKNv0JlxUJcUkpnOxEI7wSgKZ5W7ljdSo3sEUeo0nn22qV5Ktcg== X-Received: by 2002:a5d:4645:: with SMTP id j5mr22359726wrs.230.1599501286489; Mon, 07 Sep 2020 10:54:46 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id f6sm29049995wro.5.2020.09.07.10.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 10:54:45 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org Subject: [PATCH v3] dt-bindings: crypto: Specify that allwinner, sun8i-a33-crypto needs reset Date: Mon, 7 Sep 2020 19:54:37 +0200 Message-Id: <20200907175437.4464-1-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200907_135447_343659_1C5E192F X-CRM114-Status: GOOD ( 11.74 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [clabbe.montjoie[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe , linux-crypto@vger.kernel.org, m.cerveny@computer.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org When adding allwinner,sun8i-a33-crypto, I forgot to add that it needs reset. Furthermore, there are no need to use items to list only one compatible in compatible list. Fixes: f81547ba7a98 ("dt-bindings: crypto: add new compatible for A33 SS") Signed-off-by: Corentin Labbe Acked-by: Maxime Ripard --- Change since v2: - fixed enum syntax Change since v1: - use an enum for adding allwinner,sun8i-a33-crypto to "reset list" .../bindings/crypto/allwinner,sun4i-a10-crypto.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml index fc823572bcff..90c6d039b91b 100644 --- a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml +++ b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml @@ -23,8 +23,7 @@ properties: - items: - const: allwinner,sun7i-a20-crypto - const: allwinner,sun4i-a10-crypto - - items: - - const: allwinner,sun8i-a33-crypto + - const: allwinner,sun8i-a33-crypto reg: maxItems: 1 @@ -59,7 +58,9 @@ if: properties: compatible: contains: - const: allwinner,sun6i-a31-crypto + enum: + - allwinner,sun6i-a31-crypto + - allwinner,sun8i-a33-crypto then: required: