Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp334420pxj; Wed, 16 Jun 2021 03:36:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlEBxAtC1hbCiOsq0jj3wagshZeZHxVSfnQgK9UnYSXeVQJiGSIayy1JpoWlS81nfFWQmP X-Received: by 2002:a05:6402:40c3:: with SMTP id z3mr3243387edb.187.1623839764843; Wed, 16 Jun 2021 03:36:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623839764; cv=none; d=google.com; s=arc-20160816; b=h51GNVkl22RUd5tCplGi/mZmJ9ePBwa/ZOw+McCh7v8ENtEMeCs4KCS5FTSWfqTzSp pyBTSyvou8TgMfp+70+YfawokKQ4ttcnVjwy3PghPfwghLn0ifgnvhEauPDRW9FZkT4H fDfDIbSWMErmDxHGsDo+QFLlMUkLXgcb8+J5b7uvrlXqXIWB/e/Ezv0hvr9Q2LOFHrbn NXTn2HJ/RPuYF0NcDuB8N4z2+DkVXVn0lKN9+UgATezL8gSJx0nhLH9HCNrUPxNVisKY J6pmFgO+fZCi3Yhgi6hTJSROSwSOM9CbVU+Xs262pgGHm9RQzCyuFYk97ST4Dkc+2ifq iQ1g== 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:dkim-signature; bh=80kAhX6nw1c5PrR2XNMTM7eDK9rt/xH2cNX8c79PNM0=; b=mSqJW/01l1cDgLBpjDhJ4IQSAUVnXY1Ev+ZtRr50J+ezA0YNp6mO1S8H+PTg6nb1jR cJeRAqDiXaHAlDsL1fbbhZINIo9kFSvakkrVbogVl0ATTFXJl0WMsfPZEl54Agh7HndR d49aRdE6BPxDatRKZCwsTTg9FaRCNcjHsoxE+Bv6sPodiV2IU1eBxeIYIbfzwQ2JoOh3 /kbb5661CuOLnmVphji/LAxyEJIZQ2HMt3EZmXQqolYarvIFvm9TOZrePrZpc0ebjaXk 8BWh+o+sgH24ATo2qrpI5c462Yj3qv/OLBc2nqeM+WNOamafP2qWVM0AKtxqyorHE6GF SaSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A6wsFevR; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si1788836edt.90.2021.06.16.03.35.34; Wed, 16 Jun 2021 03:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A6wsFevR; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232473AbhFPKhZ (ORCPT + 99 others); Wed, 16 Jun 2021 06:37:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:50158 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232370AbhFPKhA (ORCPT ); Wed, 16 Jun 2021 06:37:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 998E661107; Wed, 16 Jun 2021 10:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623839691; bh=uJEv3OvJMqswalWvG2rx1DCmioR+VtUOrO7CZGR2Ajw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A6wsFevRhS9CeafwlT529v2rV3Gm9GGwn4GGkmYDghQBgvSltNdLhA2d1VwUgm9YV V+BZ/Z7dkVuRC9jA+aF8uUIN4oppwPSoc0YE3UC/NPxsGiCugwhXT7XZEbbeh2pmB/ M4rdDOJ4s0X9LmiRn4axjJlxF+T4B+Wd1HYLAz0MgEG64RvZ+ZZaXxAxnqcCDwPJej pW3zx7fe6lsVprl/vQScwg/OlH7/cEN61iAlussljsV2mRmi/pOkb0n3FbRiUdCHAK H6X3SZGPBKP1nePHfXCLHq/6yaW3vQZyt5NRvZBipljaN3xhgyRVkvGP83STRQZ1Xh jhhQBOeaewbeQ== Date: Wed, 16 Jun 2021 16:04:47 +0530 From: Vinod Koul To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, dri-devel@lists.freedesktop.org, dmaengine@vger.kernel.org, linux-i2c@vger.kernel.org, linux-iio@vger.kernel.org, alsa-devel@alsa-project.org, iommu@lists.linux-foundation.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, netdev@vger.kernel.org, linux-can@vger.kernel.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org, Jens Axboe , Stephen Boyd , Herbert Xu , "David S. Miller" , David Airlie , Daniel Vetter , Bartosz Golaszewski , Kamal Dasu , Jonathan Cameron , Lars-Peter Clausen , Thomas Gleixner , Marc Zyngier , Joerg Roedel , Jassi Brar , Mauro Carvalho Chehab , Krzysztof Kozlowski , Ulf Hansson , Jakub Kicinski , Wolfgang Grandegger , Marc Kleine-Budde , Andrew Lunn , Vivien Didelot , Vladimir Oltean , Bjorn Helgaas , Kishon Vijay Abraham I , Linus Walleij , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Lee Jones , Ohad Ben-Cohen , Mathieu Poirier , Philipp Zabel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Mark Brown , Zhang Rui , Daniel Lezcano , Wim Van Sebroeck , Guenter Roeck Subject: Re: [PATCH] dt-bindings: Drop redundant minItems/maxItems Message-ID: References: <20210615191543.1043414-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615191543.1043414-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 15-06-21, 13:15, Rob Herring wrote: > 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. > > This condition is partially checked with the meta-schema already, but > only if both 'minItems' and 'maxItems' are equal to the 'items' length. > An improved meta-schema is pending. > .../devicetree/bindings/dma/renesas,rcar-dmac.yaml | 1 - > Documentation/devicetree/bindings/phy/brcm,sata-phy.yaml | 1 - > Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 2 -- > .../devicetree/bindings/phy/phy-cadence-sierra.yaml | 2 -- > .../devicetree/bindings/phy/phy-cadence-torrent.yaml | 4 ---- > .../devicetree/bindings/phy/qcom,ipq806x-usb-phy-hs.yaml | 1 - > .../devicetree/bindings/phy/qcom,ipq806x-usb-phy-ss.yaml | 1 - > Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 - > Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 2 -- > Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml | 2 -- > Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml | 1 - Acked-By: Vinod Koul -- ~Vinod