Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp861356rdh; Sun, 24 Sep 2023 15:40:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRxleLZ/p2i4gvUHqqQxprTWr3Rfka3+uaoVBtfDJc80K8c5pTw7sXuIhH+z4YCubn2dIP X-Received: by 2002:a05:6808:3c1:b0:3a8:3d5b:aad6 with SMTP id o1-20020a05680803c100b003a83d5baad6mr5117317oie.55.1695595249861; Sun, 24 Sep 2023 15:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695595249; cv=none; d=google.com; s=arc-20160816; b=WPimVldOBwpAAPPvdjUMBon/fTUFi6X4qBTk+7QUcV1+QRVaeYkNKaoKEW3pnmAA8h dUtW7FyrlsLG7viiHwGZLAoKB9wsD/2H9U6tpMuL4GQBQdYbtLzVdgv+WUtixVHz7sll PzChAiHl/ms8yuwVBkeBBQqUz+2w4AfjbAn9YCz4nu+lAItrOzrmX0Gz7Fm/d9Zd4CdT iUkDHbag6U+UGqZ+mlWbjsonExFDY/xKIxN0y/cym9g8EJa0gSyQmq548PDGt0g0vcfY uQ6HLB75B3gUKd6lyaY8lvwfJYG8yZGgRFT7q5HwJNdQRxnt/w4XG5PIs3oF/KDCu9kd 1IGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BH2fpi3BgA4AHIjTpm3Zg5g6h30kc6erTrSmzdfpxUc=; fh=rJgFeh1a7SA8d4CaoV3dRdtGj3YsCRUBmzvPZxU7rbA=; b=ItDy87dPhEpxi7LnKyfCxFuWO8rw3UcHFh/lGzbdZMTCLbdTbY6wUUMsd1GTg9Aj1j 5oZ6LOqjcrY519lpZVxKMFTCk8GIXx/bY5ao3KrZC9LMTcyHBX/NxTrfj4LFizBU95lQ SAKJnQNn49xy66ae6Qn463++CUar2Fnpf/WH7ZDEPSrzAFfB6t8ot5L8Ecentvu2l5ek uzN8G8DPw3eX+Vtyh4HqP0VIT8Ftju68k/5Gy+Jyipm6GcVmwL7rSGON3D1KeL7pZQfa Yxrq2KeF0oOEri5CdVJKYCzGsHUwigCN9JSY0dsz5wT5Ml0JEVTENjgickghVkQt1Ucc oFxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eD0wrnAT; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id x7-20020a634847000000b005775e17f560si8534158pgk.82.2023.09.24.15.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 15:40:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eD0wrnAT; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id CF52280239C7; Sun, 24 Sep 2023 15:31:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbjIXWbd (ORCPT + 99 others); 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-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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 24 Sep 2023 15:31:31 -0700 (PDT) From: Fabio Estevam i.MX27 has only one Sahara interrupt. i.MX53 has two. Describe this difference. Signed-off-by: Fabio Estevam --- .../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 -- 2.34.1