From patchwork Fri Oct 7 12:58:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yassine Oudjana X-Patchwork-Id: 13001089 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C018C433FE for ; Fri, 7 Oct 2022 13:02:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nff3pirnR+vBIvc0L3l5T+SESrxX41jtVsFnWyQmU0Y=; b=G/mjr0vBt82Lo8 Pq4+Oa9YRR+9wRKVqpL16kgHwLrSqu3hqC6As9WJ3dLt4v7JXij6y3pI3HX7pmVodBSuMM5//S4LO IM3FPLvJFQvdDySgF7Kqz8mRLdQ6qkntR33tdtOHbXcclm4HEnC/ntFKhfer7+tCLNHjH7ith/kLP qVLeWyC6ANg00q90pr4fuwzNuSjppwSH9EXktmO/O1C07d7mu7v/797zAV8z5ae2S9w0FpcfSuo+U SfhplZkXdIMzKvSldMj0sXovItV1WEr5iEQGT9akfcB7T1zk/pN5ThfpAvtKpqGt34UWelszJsuFa M7Ju/Luo4HsU54UfhY+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogmyA-0090fx-RK; Fri, 07 Oct 2022 13:00:51 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogmx9-00908m-R7; Fri, 07 Oct 2022 12:59:49 +0000 Received: by mail-wm1-x334.google.com with SMTP id p26-20020a7bcc9a000000b003c384e59047so585299wma.4; Fri, 07 Oct 2022 05:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=2oRYhQiIHd6UjeWm2BNaRmlMckXEAf/HgaAJfjR9b3k=; b=ScFIWgaj3yLcgJnEYfYsCRiVNeuvze2Ok1tg8ZiywyeDYWxTXoeqcfEHkCeGiKG6Vj WQTBcpav8TT32RcrSiqWIemM3pZ5hW/JIFC5zcYa0sb7C+EJe6SleZS+JDw4X0xAIoW+ fmGCG6PWHHXdHoIys1lwRPqK8EGSzjy+jH3w9xM2BllV4JmnXFBtMRrLNmHwj5XvM2pu IlznhUZ1uu73KCpsLqxV5pZZx8F8SlQhmk084eXhiYjVxu9pv8zn6XTE59o+rG+vfPv4 Zy8kFkvk8ZMXSkJaQZPkh1UH+iy5O6J70SxCn6f4Z4xTbh5ROBKCfl+G8C+QLUEMUjNb Vq/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=2oRYhQiIHd6UjeWm2BNaRmlMckXEAf/HgaAJfjR9b3k=; b=4tIdXT9rRbCh51KHCJvh7Rjac2p3tBsEI/lsfxwmiHmK1GoYOxLPYTWaUbRPpKBiCE lT6gfYZmT0mKoC42jfI5U04WiDB9v9a/tLHFibmp+txeL3sVwJhHWYUcJirDKowCj2g+ poVNjsC+GRmF2o6/OWXNAohYkgiQ8sx+W1bqS61+TK/P76VXWUUwpxEV7GyetSvIls+q O7LcFNW5OenvlRkd0/E+tqaSV2QCBjjcxNyUiJmCG/Cipx7zkGgWJmfXvJ+gBKPWC8dF tm5F75QpIRuFR/qTlFf4hTK7g1eB5Iquc2qAVyKXmJu6YyuGVuHWONlZp4hVPcu7qnIa DeVw== X-Gm-Message-State: ACrzQf2jo5hU2P3PVABbBDddXuetiona0nRiP3wCKiqsaSsfsX/fQJPD QCJON80+UHO8ETjZ0gmRNug= X-Google-Smtp-Source: AMsMyM5NNXj9ULU6LrQtK0blsjNwRouxeAolg46uvewAEbt8vKaKi6qKFO3P17L12gnOOMIPhSzcew== X-Received: by 2002:a05:600c:3b9e:b0:3b4:4cf1:9531 with SMTP id n30-20020a05600c3b9e00b003b44cf19531mr10126717wms.64.1665147583483; Fri, 07 Oct 2022 05:59:43 -0700 (PDT) Received: from localhost.localdomain ([95.183.227.98]) by smtp.gmail.com with ESMTPSA id i15-20020adffdcf000000b00223b8168b15sm2008243wrs.66.2022.10.07.05.59.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 05:59:43 -0700 (PDT) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Andy Teng , AngeloGioacchino Del Regno Cc: Yassine Oudjana , 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 Subject: [PATCH v3 05/10] dt-bindings: pinctrl: mediatek,pinctrl-mt6795: Fix interrupt count Date: Fri, 7 Oct 2022 15:58:59 +0300 Message-Id: <20221007125904.55371-6-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221007125904.55371-1-y.oudjana@protonmail.com> References: <20221007125904.55371-1-y.oudjana@protonmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221007_055947_932940_AE39C14E X-CRM114-Status: GOOD ( 12.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Yassine Oudjana The document currently states a maximum of 1 interrupt, but the DT has 2 specified causing a dtbs_check error. Replace the maximum limit with a minimum and add per-interrupt descriptions to pass the check. Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Yassine Oudjana Reviewed-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml | 5 ++++- 1 file changed, 4 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..a3a3f7fb9605 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,pinctrl-mt6795.yaml @@ -47,7 +47,10 @@ properties: interrupts: description: The interrupt outputs to sysirq. - maxItems: 1 + minItems: 1 + items: + - description: EINT interrupt + - description: EINT event_b interrupt # PIN CONFIGURATION NODES patternProperties: