Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1227242pxj; Fri, 18 Jun 2021 02:25:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbKfMZg6a5qnYMfP5SEoZwuZv8UG/lAPhOBDBeSZIWIE//5r0ycz/qYG+Iaef9sI9NFUKX X-Received: by 2002:a50:934d:: with SMTP id n13mr3684446eda.17.1624008332970; Fri, 18 Jun 2021 02:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624008332; cv=none; d=google.com; s=arc-20160816; b=ugiSVIDAiU9YCwnWv+/jZ8nNrWSKsLNEyAEeC5it25zi38KEy2WhVE1zglz5QLo0B3 VjOG+Piw0dhplOI8K7+1ICUArtaRq+1YDFnC/Kut+kcwuidb1035JEt/YHpmgRY7viaj WD+/aBI9UlRhPHANDBa47q3Xm33A0pxheAhP+7qRDe1iDvPsjiql8sJcfsUIO4lQ2Mi8 wesbcPkKTLQCIJMSyqPSOClB438Zwv/HiILyfasRQ22vF90Tx4GsvRELk8Zqg04AKpls PKIvCsZsohNSu7sKZ/uO0fb3r2xp+m88ChDAhUvvaF4L/Petha35N7eaGqAiZhd1j/F0 to4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=tobkvdP0XEB3rizTcrRI77boeUhPqCNPjzbxlCZFFxA=; b=Wb+WrlIkOSeUY/805MnAwqimhUCu2ukFB1uv9IYQhZ/aiTzZ8CoFczA73U0rF0+g/j PVtiGF2JmX1xMUddTKSOBW9X08s+LoJs88SMf85jutC0UaJZ24Pj8gzQMZlEQTisgPoK qwYnXR+UpgAScjpYKB5VxJkslpmYaj7ULLZzkLIsf5m+4H7QbrLvoPd2nHspgUu3C08C Lj6svFbVbEpUEvTCYAV96PU5J7GxB3UFLo3VY2GXNZITgE33zJ2O5Nfl9pepnGLHNpcQ DU0f+f1zMRc408chY4SX6Zn9gXAJZwenoPT6hP8uIOKjM+utwejmekFB+uY7dJy+tTVe 6ijA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="X5X8I/Qk"; 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=foss.st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z19si1890343ejl.50.2021.06.18.02.25.07; Fri, 18 Jun 2021 02:25:32 -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=@foss.st.com header.s=selector1 header.b="X5X8I/Qk"; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233804AbhFRIex (ORCPT + 99 others); Fri, 18 Jun 2021 04:34:53 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:10130 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233809AbhFRIew (ORCPT ); Fri, 18 Jun 2021 04:34:52 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15I8Cjxt029418; Fri, 18 Jun 2021 10:32:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=tobkvdP0XEB3rizTcrRI77boeUhPqCNPjzbxlCZFFxA=; b=X5X8I/QkX33NRBreeXhB2ivJwbQuY5nuHgNW56Uf80eHr1kpxFzJX/wxy30SZc3yHrRO gxoRyWbYCAvnGgSb8aL8RUYEo+Lnc2jiUKv9J3aqrgQvmbAepjonsNVPl4jb5fZwrxQS WRaNuhHVAs8RVOMDVNmyvf3h5FnSW9OUwOn94pr5kQC/EUAJ0ZiFwOfJLOLLnrCAYFUs BZIaGP163AH9zXouCLD1bZlXEQSjs+vGTyV3+iVAhFNuSFJte2f9xJJLgimn2EW1nPti xLNiTJugAuzBGR39U+LRrbT90wL6HdH/11sqQflFkResdNC8fu2/znIYJiJtvorF2b9Q Kw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3984bm6b7h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 10:32:39 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 668DE10002A; Fri, 18 Jun 2021 10:32:38 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id F05B921B501; Fri, 18 Jun 2021 10:32:37 +0200 (CEST) Received: from lmecxl0889.lme.st.com (10.75.127.50) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 18 Jun 2021 10:32:35 +0200 Subject: Re: [PATCH] dt-bindings: Drop redundant minItems/maxItems To: Rob Herring , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , 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 , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , 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 References: <20210615191543.1043414-1-robh@kernel.org> From: Arnaud POULIQUEN Message-ID: Date: Fri, 18 Jun 2021 10:32:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210615191543.1043414-1-robh@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-17_17:2021-06-15,2021-06-17 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hello ROb, On 6/15/21 9:15 PM, 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/iio/adc/st,stm32-dfsdm-adc.yaml | 2 -- [...] > .../devicetree/bindings/mailbox/st,stm32-ipcc.yaml | 2 -- [...] > .../devicetree/bindings/remoteproc/st,stm32-rproc.yaml | 2 -- [...] > Documentation/devicetree/bindings/sound/st,stm32-sai.yaml | 3 --- Reviewed-by: Arnaud Pouliquen Thanks, Arnaud