[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YnLtvA9hWMSIfSP7@robh.at.kernel.org>
Date: Wed, 4 May 2022 16:18:52 -0500
From: Rob Herring <robh@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: Zhang Rui <rui.zhang@...el.com>,
Wolfgang Grandegger <wg@...ndegger.com>,
Jonathan Cameron <jic23@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
devicetree@...r.kernel.org, Marc Kleine-Budde <mkl@...gutronix.de>,
Vinod Koul <vkoul@...nel.org>,
Kieran Bingham <kieran.bingham+renesas@...asonboard.com>,
Vignesh Raghavendra <vigneshr@...com>,
Thierry Reding <thierry.reding@...il.com>,
linux-clk@...r.kernel.org, Ulf Hansson <ulf.hansson@...aro.org>,
netdev@...r.kernel.org, Dario Binacchi <dariobin@...ero.it>,
Han Xu <han.xu@....com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Anson Huang <Anson.Huang@....com>,
Richard Weinberger <richard@....at>,
Chen-Yu Tsai <wens@...e.org>, linux-mtd@...ts.infradead.org,
linux-can@...r.kernel.org, linux-iio@...r.kernel.org,
Alessandro Zummo <a.zummo@...ertech.it>,
Jakub Kicinski <kuba@...nel.org>,
Florian Fainelli <f.fainelli@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Mark Brown <broonie@...nel.org>,
Peter Ujfalusi <peter.ujfalusi@...com>,
alsa-devel@...a-project.org,
Daniel Lezcano <daniel.lezcano@...aro.org>,
linux-serial@...r.kernel.org,
"Rafael J. Wysocki" <rafael@...nel.org>,
linux-phy@...ts.infradead.org,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Stephen Boyd <sboyd@...nel.org>,
Fabrice Gasnier <fabrice.gasnier@...s.st.com>,
Abel Vesa <abel.vesa@....com>,
Lars-Peter Clausen <lars@...afoo.de>,
Kishon Vijay Abraham I <kishon@...com>,
linux-rtc@...r.kernel.org, Jonathan Hunter <jonathanh@...dia.com>,
Paolo Abeni <pabeni@...hat.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Maxime Ripard <mripard@...nel.org>,
dri-devel@...ts.freedesktop.org, linux-mmc@...r.kernel.org,
Niklas Söderlund <niklas.soderlund@...natech.se>,
linux-pm@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: Drop redundant 'maxItems/minItems' in
if/then schemas
On Tue, 03 May 2022 11:27:38 -0500, Rob Herring wrote:
> Another round 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.
>
> Cc: Abel Vesa <abel.vesa@....com>
> Cc: Stephen Boyd <sboyd@...nel.org>
> Cc: Krzysztof Kozlowski <krzk+dt@...nel.org>
> Cc: Laurent Pinchart <laurent.pinchart@...asonboard.com>
> Cc: Kieran Bingham <kieran.bingham+renesas@...asonboard.com>
> Cc: Jonathan Cameron <jic23@...nel.org>
> Cc: Lars-Peter Clausen <lars@...afoo.de>
> Cc: Ulf Hansson <ulf.hansson@...aro.org>
> Cc: Thierry Reding <thierry.reding@...il.com>
> Cc: Jonathan Hunter <jonathanh@...dia.com>
> Cc: Miquel Raynal <miquel.raynal@...tlin.com>
> Cc: Richard Weinberger <richard@....at>
> Cc: Vignesh Raghavendra <vigneshr@...com>
> Cc: Wolfgang Grandegger <wg@...ndegger.com>
> Cc: Marc Kleine-Budde <mkl@...gutronix.de>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Jakub Kicinski <kuba@...nel.org>
> Cc: Paolo Abeni <pabeni@...hat.com>
> Cc: Kishon Vijay Abraham I <kishon@...com>
> Cc: Vinod Koul <vkoul@...nel.org>
> Cc: Alessandro Zummo <a.zummo@...ertech.it>
> Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>
> Cc: Chen-Yu Tsai <wens@...e.org>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: Mark Brown <broonie@...nel.org>
> Cc: "Rafael J. Wysocki" <rafael@...nel.org>
> Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
> Cc: Zhang Rui <rui.zhang@...el.com>
> Cc: "Niklas Söderlund" <niklas.soderlund@...natech.se>
> Cc: Anson Huang <Anson.Huang@....com>
> Cc: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
> Cc: Han Xu <han.xu@....com>
> Cc: Dario Binacchi <dariobin@...ero.it>
> Cc: Florian Fainelli <f.fainelli@...il.com>
> Cc: Maxime Ripard <mripard@...nel.org>
> Cc: Peter Ujfalusi <peter.ujfalusi@...com>
> Cc: linux-clk@...r.kernel.org
> Cc: dri-devel@...ts.freedesktop.org
> Cc: linux-iio@...r.kernel.org
> Cc: linux-mmc@...r.kernel.org
> Cc: linux-mtd@...ts.infradead.org
> Cc: linux-can@...r.kernel.org
> Cc: netdev@...r.kernel.org
> Cc: linux-phy@...ts.infradead.org
> Cc: linux-rtc@...r.kernel.org
> Cc: linux-serial@...r.kernel.org
> Cc: alsa-devel@...a-project.org
> Cc: linux-pm@...r.kernel.org
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> .../bindings/clock/imx8m-clock.yaml | 4 ----
> .../bindings/display/bridge/renesas,lvds.yaml | 4 ----
> .../bindings/display/renesas,du.yaml | 23 -------------------
> .../bindings/iio/adc/st,stm32-adc.yaml | 2 --
> .../bindings/mmc/nvidia,tegra20-sdhci.yaml | 7 +-----
> .../devicetree/bindings/mtd/gpmi-nand.yaml | 2 --
> .../bindings/net/can/bosch,c_can.yaml | 3 ---
> .../bindings/phy/brcm,sata-phy.yaml | 10 ++++----
> .../bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 10 --------
> .../bindings/serial/samsung_uart.yaml | 4 ----
> .../sound/allwinner,sun4i-a10-i2s.yaml | 1 -
> .../bindings/sound/ti,j721e-cpb-audio.yaml | 2 --
> .../bindings/thermal/rcar-gen3-thermal.yaml | 1 -
> 13 files changed, 5 insertions(+), 68 deletions(-)
>
Applied, thanks!
Powered by blists - more mailing lists