Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp673387rwb; Thu, 6 Oct 2022 02:57:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7gzRl0oZCgZ/euPKsM1TNcU+cwFNqkGfWurrVPk60x0vYLukpxkLJMLI2teBaKAnoe5+J6 X-Received: by 2002:a17:906:2681:b0:783:6a92:4c38 with SMTP id t1-20020a170906268100b007836a924c38mr3220129ejc.75.1665050259147; Thu, 06 Oct 2022 02:57:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665050259; cv=none; d=google.com; s=arc-20160816; b=AhiBXGreMRgP2N81k2D74bXGOHiBoiD4LxAHKoiSA5504g21S3nG+G4pJHOVhH4QSG Z9VsylefdwKGy9Uyf6fCDA9y5IWXR6APtFjUnK0tlwSqy5FUPrrG5R07wM12HKIlJVX8 zHDHZ+XHOUbG2pDs2Rbx2LbZNoIjAaCCpENzTFcqjznMKTuB0pK/T1y+c61SwAnPv376 FkCWbya2omSDXu0I/wmJQ/RhwA1WsCormEtR3hGAdB/34pDXJv4uKozxztRJgu1tGTfj ccFQfM5yVDK0yzkcVEE9uOkXTZVjfIAYmsm8teNkeD/shelvbptH9DLJtM7/RoGaTxvc xCgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :cc:to:subject:from:date:dkim-signature; bh=ODcrbPcnMCSSoamca2F6ZuB3LHikG1Oo3r1FOts8V4c=; b=gNc/XHx6t72ZHMC2QgsrUMZk3u1ZiSo7S5KO2NyVjvNeKm1kO8VxCUEVU+E6l9Mhlt A6bM9IdeIN5XUQLHY6NiwMeVdobQ9t1TBXs+au0eQ3jsRw7B40ij3pmG4HNxUnXKZBhl wzvl6QHEU+gsiXI9ZzLVOTrCB+B6oJPFBBeJ99BZRgMnyMMjC8n6mdsPsqavHi1cF+iI uq2nfKqFF5m65y7v9jTn3mP8Wy1LA+sov8Q5/EIvOXIXqDY7W7VyA3OFmONiD2g1pJG2 K+I6KM5gHaPKT6lc0bxPvGsJlSwR6lm7+GaU0iQf3L+YeK8QX3pzvYhoK2teW0tH+ziQ B9WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=O6ITMpBk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw23-20020a1709066a1700b007708617c995si16615394ejc.339.2022.10.06.02.57.14; Thu, 06 Oct 2022 02:57:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20210112 header.b=O6ITMpBk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231359AbiJFJKA (ORCPT + 99 others); Thu, 6 Oct 2022 05:10:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231346AbiJFJJy (ORCPT ); Thu, 6 Oct 2022 05:09:54 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 856D0DFF4; Thu, 6 Oct 2022 02:09:48 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a26so3146503ejc.4; Thu, 06 Oct 2022 02:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:message-id:cc:to:subject:from :date:from:to:cc:subject:date; bh=ODcrbPcnMCSSoamca2F6ZuB3LHikG1Oo3r1FOts8V4c=; b=O6ITMpBkGQ1urboVjRkxd8KYLN9uP+y0IIo/cf4zzrLKl7P1Bqn7CdvLWwKcC3M/5Y Id4wtwCKPPPKMG3GZQfgIJpdg5gHWhctohHKrrkb64+gtFljcykZgas12/8BhRW0ZjRV Ilnp/IphwEy/7gy88QQqHBQrzh7Qq1QqIgTcq8MF8iPj6qZREa7OzwXcbPvd68l+9o6E kKsZq0xHtVN7DZ+2QXyIWW9lbbNrSLAoe/IOViDIyRB0JBJC0ckj4un3Vwvx5ih9yAtR 6upfwI5IEC7Yu4q/mbMbcN7mgoFGSJlEwQwDWwAP+5PHt0HPneY5eQcKl1uWKePOmwOi LyDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:in-reply-to:message-id:cc:to:subject:from :date:x-gm-message-state:from:to:cc:subject:date; bh=ODcrbPcnMCSSoamca2F6ZuB3LHikG1Oo3r1FOts8V4c=; b=j/8CbWq9+lZ3RDMZSvxcTCPOmPDgLY5WwiBE+UGaXljn5bOuHMpXlHX0GJLGCqnJAQ HJs73gUY0wBIauoFJA59vrkjgVC6su4KNGVnAu30XVncG1K9VbvNn3JpPGga9A5KHGdw SY7oW6JvuNDoK4x0WZof6MCAENc0Cft1BZuezXI9Pd5S6iXzaPbxItKCDgj4car66O4U Ktv5Z9LLfBSQvusuKdxbxrmlTg65x4m/esUT6GYUvJZDrNVeuF1/ErH8CDw08psBn8ow VLsbTp0vzzXpO8RvjXRwU6lTVTeNpZ+g/1mLqmIiQ7EMfBY5IhrUvWNR9mmY1HkVZ4df gekA== X-Gm-Message-State: ACrzQf2BnWfMttkCPuGCBM1e1fxShAHqpiCdTU8JMY+2HSWKh6oRAWfu i3gAkuwrH2t2xlwVO42yjKs= X-Received: by 2002:a17:906:7007:b0:6ff:8028:42e with SMTP id n7-20020a170906700700b006ff8028042emr3160836ejj.278.1665047386560; Thu, 06 Oct 2022 02:09:46 -0700 (PDT) Received: from [10.34.19.122] ([95.183.227.98]) by smtp.gmail.com with ESMTPSA id la15-20020a170907780f00b007812ba2a360sm10184397ejc.149.2022.10.06.02.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 02:09:45 -0700 (PDT) Date: Thu, 06 Oct 2022 12:09:35 +0300 From: Yassine Oudjana Subject: Re: [PATCH v2 05/10] dt-bindings: pinctrl: mediatek,pinctrl-mt6795: Fix interrupt count To: AngeloGioacchino Del Regno Cc: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Andy Teng , Yassine Oudjana , linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Message-Id: <0SQBJR.LFLSOU16ZA311@gmail.com> In-Reply-To: <17e4cfb0-e423-9cf8-8af1-588aed4481a5@collabora.com> References: <20221005174343.24240-1-y.oudjana@protonmail.com> <20221005174343.24240-6-y.oudjana@protonmail.com> <17e4cfb0-e423-9cf8-8af1-588aed4481a5@collabora.com> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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-kernel@vger.kernel.org On Thu, Oct 6 2022 at 11:01:29 AM +0200, AngeloGioacchino Del Regno wrote: > Il 05/10/22 19:43, Yassine Oudjana ha scritto: >> From: Yassine Oudjana >> >> The document currently states a maximum of 1 interrupt, but the DT >> has 2 specified causing a dtbs_check error. Change the limit to 2 >> to pass the check and add a minimum limit. >> >> Signed-off-by: Yassine Oudjana >> --- >> .../devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml | 3 >> ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git >> a/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml >> b/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml >> index 73ae6e11410b..483fcdc60487 100644 >> --- >> a/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml >> +++ >> b/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml >> @@ -47,7 +47,8 @@ properties: >>  interrupts: >> description: The interrupt outputs to sysirq. >> - maxItems: 1 >> + minItems: 2 >> + maxItems: 2 >>  # PIN CONFIGURATION NODES >> patternProperties: > > Nice catch. > The right thing to do is... > > interrupts: > description: The interrupt outputs to sysirq. > minItems: 1 > - description: EINT interrupt > - description: EINT event_b interrupt I didn't know what the interrupts where exactly and if either one is optional so just to be safe I set the limit to 2. I'll do that nex time. Thanks, Yassine >