Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2191187iof; Tue, 7 Jun 2022 22:42:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4mIDJttsnvXkEiO/qVk4PAiY9h78MocP1WTYI3yaszOX7Ea8jHsku1ViDKgdCzOri/Awf X-Received: by 2002:a05:6a00:b41:b0:50d:35fa:476d with SMTP id p1-20020a056a000b4100b0050d35fa476dmr33244401pfo.33.1654666946022; Tue, 07 Jun 2022 22:42:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654666946; cv=none; d=google.com; s=arc-20160816; b=lIpRdSeKxAe1aqQNJjJ37X6g1WDpMqQeYHXXtdm+v1CUcGuyGFE5BIQ6Q6HWP96845 0FwEwcmAw0hJlxwRgzKRf0xhDKdScYliRBfkx1naT8wXqQS0f+Xs+aWt015pJC5rZ43g 45MC4/A3xoU2ehBA67vrKydeSKcuNz/1U3MUrSeAw5S5YjTi4XD9QYPM5EPeEwmlsY2U mOIUin4/pP7Z05cjOyioeMU2DABtjcnpwc5kQ2PyPF8gf1OzNjWGVSr8e5dfkxHgBcYp 3Ng73Dhub58DN+mXxDYwHp9aWWSyEjwwyw8l1g0LskjW5SPPUZCcngdpsUnfLUiuexE1 oIgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=IcVu4WajHv6XPQv1yYvHjVGQzqBrXJ6uvkB7WM1ORUk=; b=tTbC3jrxIx0PEh1yvjEbniXRTSPS85Cl85yZkUg/pPmSm9ZgBq6hHt6FGo6htj2OaA TSRH+/I1SrC+LulpZz7+1DRIgk6oRhPaewlcLZVWUPkZR5CZBilprmLddi4ssYLy6txS 6yAJgiW/JXdsySI94US2nJdaVVdI5WgZqDOmaySj0lonlwxP7L2Q9878xZopQykR1nul /4MBgX9DtMHdyRR1OAcFZB4EHc1AlukAjsla1IMGfgF/lhn8TP9iVzLEr9t+ytiLDgAQ g5SW/KnJuG5XKl3FBD68M/t9Yo+3V1Ker1KqLG6InAogbA40XTuuDr9QKvI0v2BGjJDW IEtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z9-20020a170902ccc900b0016754f4f654si17495165ple.529.2022.06.07.22.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:42:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7A2BF2506C4; Tue, 7 Jun 2022 22:08:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344769AbiFGQIM (ORCPT + 99 others); Tue, 7 Jun 2022 12:08:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344712AbiFGQIK (ORCPT ); Tue, 7 Jun 2022 12:08:10 -0400 Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ED5E443C9; Tue, 7 Jun 2022 09:08:10 -0700 (PDT) Received: by mail-il1-f177.google.com with SMTP id a15so14520200ilq.12; Tue, 07 Jun 2022 09:08:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=IcVu4WajHv6XPQv1yYvHjVGQzqBrXJ6uvkB7WM1ORUk=; b=06jDuZtUm01MYz6g1LpOV9IopS+hS3nFlha4QBir6X2SLNHdkZQqJujlorDcv/idcz h/yGfmS1/QP3LWTzOMuHrTrw4b2WntBUrsvg99jQfC6hKhisHR54XMqoaymxmZ/tJVF2 CP+Pi6w6N0tGzBL2fCmh6n/ilPp7BPwil4DwHFmjnXV4q4Unnw3GBp1h9Lhg5mozixxE MIEghyTbZsApr9Bb4dbkY9wcgqFpNNY7lRwkRruwxxXqegXZjgoid/v8v0TBwaGd0iqU NLC8TUh+geIlb8bn6RIcLxHPoBLcchyaXOlLb5ZpQIzVYagYDAXNWN1gj3zNoXKsC09N G0+g== X-Gm-Message-State: AOAM530bkhrNmgOAqICCVACUft0skGGROzAc8nY71p0IHyL5pAmUWkTj 4hMXSXKB+eHOuoba3viBrQ== X-Received: by 2002:a05:6e02:1949:b0:2d3:c0fb:322 with SMTP id x9-20020a056e02194900b002d3c0fb0322mr17090293ilu.242.1654618089339; Tue, 07 Jun 2022 09:08:09 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id i11-20020a02b68b000000b0033167715cf9sm5989686jam.27.2022.06.07.09.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 09:08:08 -0700 (PDT) Received: (nullmailer pid 3350333 invoked by uid 1000); Tue, 07 Jun 2022 16:08:07 -0000 Date: Tue, 7 Jun 2022 10:08:07 -0600 From: Rob Herring To: Rob Herring Cc: linux-sunxi@lists.linux.dev, linux-watchdog@vger.kernel.org, Maxime Ripard , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , Ulf Hansson , Hu Ziji , linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai , Guenter Roeck , Thierry Reding , linux-tegra@vger.kernel.org, Wim Van Sebroeck , linux-mmc@vger.kernel.org, Jonathan Hunter , Jernej Skrabec , Samuel Holland Subject: Re: [PATCH] dt-bindings: Drop more redundant 'maxItems/minItems' in if/then schemas Message-ID: <20220607160807.GA3350189-robh@kernel.org> References: <20220606225137.1536010-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220606225137.1536010-1-robh@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, 06 Jun 2022 17:51:36 -0500, Rob Herring wrote: > Another round from new cases in 5.19-rc of removing redundant > minItems/maxItems when 'items' list is specified. This time it is in > if/then schemas as the meta-schema was failing to check this case. > > 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. > > Signed-off-by: Rob Herring > --- > .../bindings/memory-controllers/nvidia,tegra186-mc.yaml | 3 --- > Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml | 1 - > .../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 1 - > 3 files changed, 5 deletions(-) > Applied, thanks!