From patchwork Sun Sep 24 22:31:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 726763 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED00FCE7A8A for ; Sun, 24 Sep 2023 22:31:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229593AbjIXWbX (ORCPT ); Sun, 24 Sep 2023 18:31:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjIXWbW (ORCPT ); Sun, 24 Sep 2023 18:31:22 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8062EEE; Sun, 24 Sep 2023 15:31:16 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-27197b0b733so937261a91.1; Sun, 24 Sep 2023 15:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695594676; x=1696199476; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OYPPEX4P1Ut3e7hG5n83kkTnAQomwDxAgC/ac8iNUyc=; b=fD/5U7LsbHAsForTjTZ0fiZJFiLYH08mlhCF68Q2qrKhgiOqphpW4Dwiau2/edNlFN oMATm3v8ChpA3DcxWD0rVo2iPzLh3TPwYBpfVfbSSEdqNInY5/H7R7YXZYcpP2/39hwa 3W45I7n040xhIu5rEQOabWTsNBQPvV8Ki8inLXHebu1I3GFR0jynQgrmSyu9AOCE4y0r AXNA7AfazylHx/EQiOeTDq3aJ8dU+7h3kdksykvoUJOPaL7zcZxeCjfqI2XyBxESVbUN nLddlryQo/0zOt3+Gm2Ws7/sIqEW/VT57qy7X5Squwd8yLjMMUr1vY4GmCRtjXZECQ10 x19g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695594676; x=1696199476; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OYPPEX4P1Ut3e7hG5n83kkTnAQomwDxAgC/ac8iNUyc=; b=nq7xWTG32sHXu7OcUCIkXo8vOnDdenJ6+yDIXcaG/bVT2msTV7WJahTEUTVqnqUBrf r2Q7GwXTy0nKk/4G1+aNu0mAKeBuBSlJKmkwgLldgAra62Jo9nOtlxwou5otQYkn81CP IXUaK5xXbS4mH2x+abRe4bzM7Z1H+k3EfgVE5u5ISTCnyduAuHMksvGaDwb9OnfrAJg1 ORy9AtF27CXex0zM5Mas8oyY7YVPgSkj3LrwzKVw9qXyop9orqOHuc749tZKeuiM2izp YsS6xvz8cnf7/oWB6Vpo7nMwLzxflLkR8yoet4Wo7CsUE3JApA/DWyqcGIKWpDDvBw5g 8Nyw== X-Gm-Message-State: AOJu0YzCqhp3EVMOmUTgE6lwFJT5mBTnC/7KXk0rr0YR6qwCuyFRqgWb J43gHhAvTeqNUYFiuSOhXN0= X-Google-Smtp-Source: AGHT+IGgsCuZrm/i5f3t1rD1dFRWX/AbZuA+dNxk5oi33oB/Npcz+CqkriL4sLiyS1uzG+KL+EPrEw== X-Received: by 2002:a17:90a:bc9:b0:268:38a7:842e with SMTP id x9-20020a17090a0bc900b0026838a7842emr4643854pjd.2.1695594675871; Sun, 24 Sep 2023 15:31:15 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:ce8e:216e:1d92:cabc]) by smtp.gmail.com with ESMTPSA id 5-20020a17090a1a4500b00274e610dbdasm9315258pjl.8.2023.09.24.15.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 15:31:15 -0700 (PDT) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH 1/4] dt-bindings: crypto: fsl-imx-sahara: Shorten the title Date: Sun, 24 Sep 2023 19:31:01 -0300 Message-Id: <20230924223104.862169-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Fabio Estevam In the title, there is no need to mention "included in some i.MX chips" as it is too vague. Remove it to make it simpler. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml index d531f3af3ea4..c7da09c58eff 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/crypto/fsl-imx-sahara.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Freescale SAHARA Cryptographic Accelerator included in some i.MX chips +title: Freescale SAHARA Cryptographic Accelerator maintainers: - Steffen Trumtrar From patchwork Sun Sep 24 22:31:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 725900 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B75F1CE7A8D for ; Sun, 24 Sep 2023 22:31:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229594AbjIXWb1 (ORCPT ); Sun, 24 Sep 2023 18:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjIXWbZ (ORCPT ); Sun, 24 Sep 2023 18:31:25 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 703CBEE; Sun, 24 Sep 2023 15:31:19 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2773b10bd05so333557a91.0; Sun, 24 Sep 2023 15:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695594679; x=1696199479; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=X08/Fgz2Lymvqwv76PNkcekanOGwDL7/fXB8WXjIcSc=; b=A50WcCGrBEj4s52yKtRn3YoedPXKCwya++4s0JpBm4ZBd1jh7TWjMXo5mVlA/sKxyU 48AVDRuE3TX+cbM0xXn6UHY55+tnoePilg/N8acQQtaKyWDyGYKMX2VAM/N4gjNB8xoJ XrQucBvqt6G3eUUiWaOFIbYFaIXCYaB+sbOWfN6kmjlEBygqn+g++eXVypE3bvijGX59 pB43i6H85ir5FBKJYu0xALeTS689yYxlP8Cnc54jU0AkYQV/PzclvFlSMsCmB740g8dV Y0R7KfdR2MidU3gEXcSSjpbmMMk7WulDoVJ3xk7BYAFalW7086MxjxfxdWISbfqYsuIp orWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695594679; x=1696199479; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X08/Fgz2Lymvqwv76PNkcekanOGwDL7/fXB8WXjIcSc=; b=WuzN6DpRWclhpC2dIEer6nNQQz7bAmrjfOvyQO5aV0qzKmIXcPKxczER20JfJTL1TM aXvHvPGkdaPMGgk5Et1jKpQU+ceJeVlLMGcKh4kZ1Mb5wT2Zgm94AdFt9Y9sSLmPw1+D gmOz9bNCN0qMrgiKxHJH9Gf9x/mfyzRKMCp7/nIVm+et9C6fTbts72aI3FJ4/yjRo+pq /4cy0jKTQ2W3YEuVt/E2yKU+KJQNzZw+NWnvulGEF7GhhwlH35aHgp0rdPTmPjwelNLJ Ceg+oBpvuutl2Yh0hSoKpAApHclBJzcd6EdQTMMD90SH55BdiLdFm3+y7+NxwFGQUCvf k/dQ== X-Gm-Message-State: AOJu0YyBZYtvk02kW6easN24exeqru19EZHQRnq+l0RMaHKhv2IBokKy 78i7a78dqA2R2YgIKSzvmwY= X-Google-Smtp-Source: AGHT+IFoDZFKkRCqujOdwweFYdqk5NfCSOj3GYURQUN+/UZ+K3PO8HfR2Jcv/RIl4XJTb2nodsXC6A== X-Received: by 2002:a17:90a:51a2:b0:269:34a6:d4ca with SMTP id u31-20020a17090a51a200b0026934a6d4camr4870679pjh.0.1695594678830; Sun, 24 Sep 2023 15:31:18 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:ce8e:216e:1d92:cabc]) by smtp.gmail.com with ESMTPSA id 5-20020a17090a1a4500b00274e610dbdasm9315258pjl.8.2023.09.24.15.31.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 15:31:18 -0700 (PDT) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH 2/4] dt-bindings: crypto: fsl-imx-sahara: Remove leading space Date: Sun, 24 Sep 2023 19:31:02 -0300 Message-Id: <20230924223104.862169-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230924223104.862169-1-festevam@gmail.com> References: <20230924223104.862169-1-festevam@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Fabio Estevam Remove the leading space in the reg property as this is the standard. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml index c7da09c58eff..bad82491cd6a 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml @@ -32,6 +32,6 @@ examples: - | crypto@10025000 { compatible = "fsl,imx27-sahara"; - reg = < 0x10025000 0x800>; + reg = <0x10025000 0x800>; interrupts = <75>; }; From patchwork Sun Sep 24 22:31:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 726762 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57E2DCE7A8A for ; Sun, 24 Sep 2023 22:31:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229553AbjIXWb3 (ORCPT ); Sun, 24 Sep 2023 18:31:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjIXWb2 (ORCPT ); Sun, 24 Sep 2023 18:31:28 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B470A83; Sun, 24 Sep 2023 15:31:22 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1c5cc63ce27so7183835ad.0; Sun, 24 Sep 2023 15:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695594682; x=1696199482; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PgK9pPf+w9TBlTyL5dT/ncKHFfeZVhuT1tpxlfIaF4Q=; b=asRgZhjKPjem+G+OybUi8qsBOLqk3oy0fV7drorXiuPiwR+ZpNOmTD7Cs5mvvCt9Fw HfHYrBSik7QJ5/kkvLoS/tFWQe41huCB/10ZJicB/mRdfD72N5M+mnsbW3xHe1l+Ki+0 XEYUfy9Emz8FGj1gTZq2WPwYbhU+bnaJIvt2DfSisthcy0zqPj8HTYuMEY1r+45Lv+4r extgQ6Gkjr0g/rPM7YOpkcNHaVSMjfRi37JnrStjNLTAUXkc5TNffz+hwjB78m9O67XU 5lXGeP7SGYckUfIQyNHvLpKtHs7Kq/B8wWzDoHdCiZbeKtHwRc/WcXyDt7Pz2djSGOCy z3BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695594682; x=1696199482; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PgK9pPf+w9TBlTyL5dT/ncKHFfeZVhuT1tpxlfIaF4Q=; b=SgOQMlCFTcGV/4rq62ga1NwGafPY2K0/UllJjOkIkxoqqkSqh+XX1zcqNbZTV4YKHD mvjIVMT7gR4qcV34MGe25dGEjWpoMesym6skZKoBq7vbAnEHVLLKXV8t6jz2WBn+DQef 50aXq0Il387dIw0o79xJ2mricw37Pc3tOBZCgf9bOeDOh1W56BkHiwzPqL6CbCAWyeGo l2nWYi5//w9tMydHo2HIOxSWgPkZDi1cCic5iF0BxDJeE7dNeeEHgunhbzbqRO5AK/7w 4T4+KVmBy8FciDvJPUW93r6N2VnZeGc/lxQpbBA1huGnfei/pv0dk5o59gaQbxX/wpKy HIhg== X-Gm-Message-State: AOJu0YzoXXilAnQj+oona80wEZS9wEHeXSajN5lclwAgVLwMeuFfJQ5g S7nT1lFrzmUYgFNbmxaCKMV6ie5KrdE= X-Google-Smtp-Source: AGHT+IH6lPgoqQ2mT7pg5G7KQ2ol8crKjrlQWKhW1bILgcKzlaTpEKWipB/7A4n1vrQ0HsZSwtRqRw== X-Received: by 2002:a17:902:da91:b0:1c3:6d97:e897 with SMTP id j17-20020a170902da9100b001c36d97e897mr6387029plx.5.1695594682068; Sun, 24 Sep 2023 15:31:22 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:ce8e:216e:1d92:cabc]) by smtp.gmail.com with ESMTPSA id 5-20020a17090a1a4500b00274e610dbdasm9315258pjl.8.2023.09.24.15.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 15:31:21 -0700 (PDT) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH 3/4] dt-bindings: crypto: fsl-imx-sahara: Document the clocks Date: Sun, 24 Sep 2023 19:31:03 -0300 Message-Id: <20230924223104.862169-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230924223104.862169-1-festevam@gmail.com> References: <20230924223104.862169-1-festevam@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Fabio Estevam The Sahara block needs to clocks (ipg and ahb) to operate. Describe them. Signed-off-by: Fabio Estevam --- .../bindings/crypto/fsl-imx-sahara.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml index bad82491cd6a..9dbfc15510a8 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml @@ -21,17 +21,34 @@ properties: interrupts: maxItems: 1 + clocks: + items: + - description: Sahara IPG clock + - description: Sahara AHB clock + + clock-names: + items: + - const: ipg + - const: ahb + required: - compatible - reg - interrupts + - clocks + - clock-names additionalProperties: false examples: - | + #include + crypto@10025000 { compatible = "fsl,imx27-sahara"; reg = <0x10025000 0x800>; interrupts = <75>; + clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>, + <&clks IMX27_CLK_SAHARA_AHB_GATE>; + clock-names = "ipg", "ahb"; }; From patchwork Sun Sep 24 22:31:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 725899 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BA63CE7A8A for ; Sun, 24 Sep 2023 22:31:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbjIXWbd (ORCPT ); Sun, 24 Sep 2023 18:31:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbjIXWbc (ORCPT ); Sun, 24 Sep 2023 18:31:32 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD90DEE; Sun, 24 Sep 2023 15:31:25 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-273e3d8b57aso1205970a91.0; Sun, 24 Sep 2023 15:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695594685; x=1696199485; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BH2fpi3BgA4AHIjTpm3Zg5g6h30kc6erTrSmzdfpxUc=; b=eD0wrnATphDNrF9VpTj1iiOfzaVgTAJEdc6CB9exaQdEeE6mVL3Zp5j7UIhO5iJ/zB vxkQ9ALV7SFCRj7O7fAn3nnrrXwut6wgl8CPzB5UKlR1wd+APKXqJ/XXLu8mxknUaxHK D8xlq8QYOWkh1ec2L8g4tEXmFoM9MIfcipPuAHjhLALgnzaoQIfEh/FmOkoMAiWZc9Xe iEhO7ko2PtzKP2tLoJNY96FL8IcMIxby2Mv9Jl4nZmhpegSezxrCIacpYkIuCWLxXDPE CzotZKAqrS325cZ0ZyL28nW79txEf4FfoMJv/b7ikru4t88G4HwxJPSG6AHgIyANBS3A /odA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695594685; x=1696199485; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BH2fpi3BgA4AHIjTpm3Zg5g6h30kc6erTrSmzdfpxUc=; b=H1uNugP7M9L1LEJtAE7xD6UdZbZk3GZslrjfcU5RGsKjFQfYxJw6Mx5hjCjnjuEbEB AI9a0nlYlxi1DAG11Dzvc/P9LgRLZgc/J7T1p2Xbso5c6Kv5xSHkAdpBuNAZPLicefJB PNJfDvwNr41+tYCJekB0lo4iEYzXDcrKX64C/Vnwk8kUsxs53qAcB6Y/qctEmNa2KusM IrEYWK8uYGiLWy7Zr1Zs8iB/swgceUUgdUbtM1GAQ/oGkg7Ct/tBoMgULry5gPr/558Q evrPVOTm/3Rfh32amBabT2nO9JmbOGqgLsQ/NQlcVjx34khWVw04ieDGYTmD6MeZL67W KnOA== X-Gm-Message-State: AOJu0Yz51u1ethdzlSe5JL5gfLizRZtOOCJO6ngTYHTO/eIvjaso/g74 A7/zTgHGJsOxRVN4g5rPCFU= X-Google-Smtp-Source: AGHT+IGTnhwVkul1Mjqmsi7LHiFHi9OTLDffugTC+2hsPj1N3XewEXelpB0tr+lRvLiwR/PyNT6lxg== X-Received: by 2002:a17:90a:394a:b0:263:730b:f568 with SMTP id n10-20020a17090a394a00b00263730bf568mr4483507pjf.3.1695594685130; Sun, 24 Sep 2023 15:31:25 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:ce8e:216e:1d92:cabc]) by smtp.gmail.com with ESMTPSA id 5-20020a17090a1a4500b00274e610dbdasm9315258pjl.8.2023.09.24.15.31.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 15:31:24 -0700 (PDT) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH 4/4] dt-bindings: crypto: fsl-imx-sahara: Fix the number of irqs Date: Sun, 24 Sep 2023 19:31:04 -0300 Message-Id: <20230924223104.862169-4-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230924223104.862169-1-festevam@gmail.com> References: <20230924223104.862169-1-festevam@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Fabio Estevam i.MX27 has only one Sahara interrupt. i.MX53 has two. Describe this difference. Signed-off-by: Fabio Estevam Reviewed-by: Krzysztof Kozlowski --- .../bindings/crypto/fsl-imx-sahara.yaml | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml index 9dbfc15510a8..9d1d9c8f0955 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml @@ -19,7 +19,10 @@ properties: maxItems: 1 interrupts: - maxItems: 1 + items: + - description: SAHARA Interrupt for Host 0 + - description: SAHARA Interrupt for Host 1 + minItems: 1 clocks: items: @@ -40,6 +43,24 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx53-sahara + then: + properties: + interrupts: + minItems: 2 + maxItems: 2 + else: + properties: + interrupts: + minItems: 1 + maxItems: 1 + examples: - | #include