Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2300768pxb; Sun, 30 Jan 2022 11:15:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1mq4vgWN6tFqvW8PxsWniQIwot9MyIsy9UvMMmcuFOqvTr0VaJiphKzjNVYVn2dmlnSWi X-Received: by 2002:a17:907:6e0b:: with SMTP id sd11mr14282873ejc.278.1643570133375; Sun, 30 Jan 2022 11:15:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643570133; cv=none; d=google.com; s=arc-20160816; b=MMwhMNuHRm/5vo6mS6MOsGCGRWdPaeVcgLBBuY2jvPrH3HEdN77zckc3MwUu5gxcUf XlDmps/xLXpoh5/B7rTO7w5xW+Nx3cE/E9Uy2J+ulgr7KA/lGdbwtLriDMiN/eHGgyb6 22wIHCRWNEgbXMt8rlfympWk1NVK8qgHxHE1cbV5LI5we/pcOfSI3lpItQ3oLatACQ9s VZXub5m7OtOKoev+4G9k6OGujeKiEq0VvFBRusho7oQLlTkEnMKJOgzN5e3ILyj2+fex YCFdikF5M3sBcabLlvEBwHWuaOZ6NWgKb8iy4d6H8soW97SPeO+ZbTg1Y5MlBjaESBY0 lxjw== 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; bh=0tjQzpn0MBhXeN/+HmTf0SU+GAI4KzUpIIG4bXZmvtM=; b=GJ+46C7ViF1qqUB8mkp7yjwIhACAygxxrcMXqOfY/ysiar5+t2glxILi+Kyj32WsG0 pnNf3rlkoRjPQAPcmic6hsrQgyFIKFcj10NZ0c1G5B2GvMmzxcLqFqW6WBMxH8R/D9Cq kLmT7fkCu7oX2Zhm9l8URcVAV/754AtSmmiBcKqXLhDuMJfSO9OKg86l3b37uzf15IXc +zQWsvsD/8hagrroAZatAOj0Sx+YxOrNoiOmZGsAPs8a4rSsUujXHsdr5fxQSMc1rYkr uBGaDiO6HrZn2k3mWVpzy5O3WaYfbN/MBiES8JeNSKevAHePodW9W+wpxCX4RHh/VZv7 CbTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb7si5059877ejc.437.2022.01.30.11.15.09; Sun, 30 Jan 2022 11:15:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238005AbiA1JJk (ORCPT + 99 others); Fri, 28 Jan 2022 04:09:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347483AbiA1JHm (ORCPT ); Fri, 28 Jan 2022 04:07:42 -0500 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C4BCC06173B for ; Fri, 28 Jan 2022 01:07:42 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:3999:e79d:cb59:f2ec]) by albert.telenet-ops.be with bizsmtp id o97e2600p04fKGS0697fYU; Fri, 28 Jan 2022 10:07:40 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nDNEI-00BjuV-NZ; Fri, 28 Jan 2022 10:07:38 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1nDNEH-005psG-W2; Fri, 28 Jan 2022 10:07:37 +0100 From: Geert Uytterhoeven To: Daniel Lezcano , Thomas Gleixner , Palmer Dabbelt , Paul Walmsley , Anup Patel Cc: Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Geert Uytterhoeven , Rob Herring Subject: [PATCH v4 1/2] dt-bindings: timer: sifive,clint: Fix number of interrupts Date: Fri, 28 Jan 2022 10:07:35 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The number of interrupts lacks an upper bound, thus assuming one, causing properly grouped "interrupts-extended" properties to be flagged as an error by "make dtbs_check". Fix this by adding the missing "maxItems", using the architectural maximum of 4095 interrupts. Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v4: - Use architectural maximum instead of practical maximum of 10, v3: - Add Acked-by, v2: - Split in two patches, - Improve patch description and document limit rationale. --- Documentation/devicetree/bindings/timer/sifive,clint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml index 8d5f4687add9e81e..fe4b73c3f269fc0f 100644 --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml @@ -44,6 +44,7 @@ properties: interrupts-extended: minItems: 1 + maxItems: 4095 additionalProperties: false -- 2.25.1