Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp353444pxj; Wed, 16 Jun 2021 04:05:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNZFChwkKaRnxFuVo0SfgxFXyOCalRZdeRbskz1HFxDnuo+XSLXWAA5nXj2mDomgPqXp3q X-Received: by 2002:aa7:ccc1:: with SMTP id y1mr3398002edt.333.1623841530763; Wed, 16 Jun 2021 04:05:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623841530; cv=none; d=google.com; s=arc-20160816; b=H2jnz5WkIFsak44o+ToqLImVSBBf3tZzx8nC73EzNYcxY1WLi20GTVb0pkTTrPECwY KL3Z6/WDiiXfA8s/VqTN3BvmZYmHhYwelQxCu9//5i4uIxxjLP4wSx682tL1Hjz91yge L9lXiqiOACah7v/ioknYhsYXqlL18FrSGbt5mVSMKrXkYU9UbTjO6qPmZM7pHzDazg48 zPYHy4H2sfTq66P/bPpUnHr82/6LGeFQto9aDNe/xdzcT5qqaKmANPLZG8gCiecqLQpZ s5mXQ+EaLC+JwBpAcCufidBMUuEjpcVBPaO8EuTZLjTzhoJ7ynQcPS5Bh39HHBigLZyh /OYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=7e6ap9DjdC4FZSf8rFvp7haNfLUat/oO0V/bxKWyM3w=; b=wGw+e/lVJpQzIJKr6SgQrZ+PDFoSJZNRdFbf2toq0S/yFMv7syZiASLJUdicrRM8UE ht2nhwMb3mK/cULumCqmf9IXagm04STuXqp74H9lIGFsOnvIokPTK9Pn8NstmPKGRN7o BZfl7UP6+IXcpbOCjwIf188Cui2MoAUOsKVGFU6AXE7shO47xN/H1jRxESNpqdlsJlpx MnIjw6LAukNUt3Joi5Ytte8MvFn5lG5uufNP/EMqOoO8VD51fvs4kbw5YRfz4nR7MJDV Eh3TDyVSqQFBtwRuSnnR4Ink/4dKRLbRmzt1cbgEUz1rTaY8gNA/+qJIdIOudlMt3Kby iaHQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id og24si1192944ejc.490.2021.06.16.04.05.06; Wed, 16 Jun 2021 04:05:30 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbhFPLHB convert rfc822-to-8bit (ORCPT + 99 others); Wed, 16 Jun 2021 07:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230269AbhFPLG6 (ORCPT ); Wed, 16 Jun 2021 07:06:58 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA2CCC061767 for ; Wed, 16 Jun 2021 04:04:52 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltTLZ-0008JI-NL; Wed, 16 Jun 2021 13:04:37 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1ltTLV-0004Gb-1x; Wed, 16 Jun 2021 13:04:33 +0200 Message-ID: <7847f2e656fa7ad4c72856c1ea0068d849842113.camel@pengutronix.de> Subject: Re: [PATCH] dt-bindings: Drop redundant minItems/maxItems From: Philipp Zabel To: Rob Herring , devicetree@vger.kernel.org Cc: 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 , Vinod Koul , 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 , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Mark Brown , Zhang Rui , Daniel Lezcano , Wim Van Sebroeck , Guenter Roeck Date: Wed, 16 Jun 2021 13:04:32 +0200 In-Reply-To: <20210615191543.1043414-1-robh@kernel.org> References: <20210615191543.1043414-1-robh@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-crypto@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, 2021-06-15 at 13:15 -0600, 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. [...] > Documentation/devicetree/bindings/reset/fsl,imx-src.yaml | 1 - [...] > diff --git a/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml b/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml > index 27c5e34a3ac6..b11ac533f914 100644 > --- a/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml > +++ b/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml > @@ -59,7 +59,6 @@ properties: > - description: SRC interrupt > - description: CPU WDOG interrupts out of SRC > minItems: 1 > - maxItems: 2 > > '#reset-cells': > const: 1 Acked-by: Philipp Zabel regards Philipp