From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB205C433EF for ; Tue, 28 Sep 2021 23:16:21 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id AE31461350 for ; Tue, 28 Sep 2021 23:16:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AE31461350 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=3XQNxt8t62OG4KEjHADm9akJwEn5mzPkYRYSqoejx8c=; b=jbpc0u90cHKsvX d+j/Vu8he1Q5UvIdbjE2jIjKeag+MMqs5Ml8iDv7Az0J36+u5htXdcKb+dLYd6noRzWj9VSkpPxb2 LXzaM4CcsQ64/5ny186Q7+ih2wmPbgSprRae26BaSZtuj50Lw7jLIIbsmGPVSiWFEzbJNTAKLy7qs Ecawk/r9SAvyzfSAxReklzx7+hn+wieQN+RggFxVnGEcldWKOR0926/vsqUEV6wZA3VQHkgyZk+hE N2mgSP9vyelZBfXg8R6m5nHl6+MQkfOon/uyv5DfjPJEzis1hYfzR8P2pgnNFKyEebJ4yXaWbR+ib NFhS7tckyFrdrS5k7JAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVMIH-009EHF-G8; Tue, 28 Sep 2021 23:13:50 +0000 Received: from mail-ot1-f50.google.com ([209.85.210.50]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVLbH-00950s-RM for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 22:29:25 +0000 Received: by mail-ot1-f50.google.com with SMTP id j11-20020a9d190b000000b00546fac94456so419420ota.6 for ; Tue, 28 Sep 2021 15:29:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vwcHQF6/8HUIm1fObpnSG0aiSaXON6QZUe3Gw0ku0bk=; b=xkRL2H6vKYsFLcZSQiLIZvkdFaz41NcYFWnJs3b36J08qpf7w/alYyb3/Wn3bTgZk0 GAdR/GCsVgoJ81X9Tj4UvbeA0ZYYZdvVsvNwz4U9WUhquWV0ajtCQhql+OMEXNGAjMib S9HBDstv1+ZoicTyLkhG0gavj6ZUpqXL35JO1jRPMDLAluapfNK3EgXq8cCcMt23gd74 viZ1a+UeUoEFX3YezjUIf336qq2b/0xFb7YTvxFxVJJTRWypF+OmgbsVVPIZ3Wo9dEMD Na/pCERzY9Ln+uBWqjLl0fGHLUXUIOQtpNUsMNkR2Xg6YYid14FD+PWUR1patZ1Eiyz5 +2Kw== X-Gm-Message-State: AOAM531W4RNSx1eaLugB1TGyi4QoiFHxNh5UIWsiOdZvQedJv2u8utpM mYRHHZt0JLZuPASf9Sj7gQ== X-Google-Smtp-Source: ABdhPJwIo8LpG9CqlCCSYyWBM2R+bXzVEo57GgT/4sLojNBA5cKROdiFakWw9bMvfnaBeZBHr5CWRA== X-Received: by 2002:a05:6830:25d1:: with SMTP id d17mr7302750otu.253.1632868162403; Tue, 28 Sep 2021 15:29:22 -0700 (PDT) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id g4sm65460ooa.44.2021.09.28.15.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 15:29:21 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: "David S. Miller" , Jakub Kicinski , Evgeniy Polyakov , Marek Vasut , Joakim Zhang , Daniel Mack , dri-devel@lists.freedesktop.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] dt-bindings: Drop more redundant 'maxItems' Date: Tue, 28 Sep 2021 17:29:20 -0500 Message-Id: <20210928222920.2204761-1-robh@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_152923_934859_599A3E26 X-CRM114-Status: GOOD ( 12.87 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Another round of removing redundant minItems/maxItems from new schema in the recent merge window. If a property has an 'items' list, then a 'minItems' or 'maxItems' with the same size as the list is redundant and can be dropped. Note that is DT schema specific behavior and not standard json-schema behavior. The tooling will fixup the final schema adding any unspecified minItems/maxItems. Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Evgeniy Polyakov Cc: Marek Vasut Cc: Joakim Zhang Cc: Daniel Mack Cc: dri-devel@lists.freedesktop.org Cc: netdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml | 2 -- Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 1 - Documentation/devicetree/bindings/w1/w1-gpio.yaml | 1 - 3 files changed, 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml index 07b20383cbca..b446d0f0f1b4 100644 --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml @@ -50,7 +50,6 @@ properties: data-lanes: description: array of physical DSI data lane indexes. minItems: 1 - maxItems: 4 items: - const: 1 - const: 2 @@ -71,7 +70,6 @@ properties: data-lanes: description: array of physical DSI data lane indexes. minItems: 1 - maxItems: 4 items: - const: 1 - const: 2 diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml index 5629b2e4ccf8..ee4afe361fac 100644 --- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml @@ -34,7 +34,6 @@ properties: clocks: minItems: 3 - maxItems: 5 items: - description: MAC host clock - description: MAC apb clock diff --git a/Documentation/devicetree/bindings/w1/w1-gpio.yaml b/Documentation/devicetree/bindings/w1/w1-gpio.yaml index 7ba1c2fd4722..8eef2380161b 100644 --- a/Documentation/devicetree/bindings/w1/w1-gpio.yaml +++ b/Documentation/devicetree/bindings/w1/w1-gpio.yaml @@ -15,7 +15,6 @@ properties: gpios: minItems: 1 - maxItems: 2 items: - description: Data I/O pin - description: Enable pin for an external pull-up resistor -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel