public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel•org>
To: Rob Herring <robh@kernel•org>
Cc: devicetree@vger•kernel.org,
	"Krzysztof Kozlowski" <krzk+dt@kernel•org>,
	"Abel Vesa" <abel.vesa@nxp•com>,
	"Stephen Boyd" <sboyd@kernel•org>,
	"Laurent Pinchart" <laurent.pinchart@ideasonboard•com>,
	"Kieran Bingham" <kieran.bingham+renesas@ideasonboard•com>,
	"Jonathan Cameron" <jic23@kernel•org>,
	"Lars-Peter Clausen" <lars@metafoo•de>,
	"Ulf Hansson" <ulf.hansson@linaro•org>,
	"Thierry Reding" <thierry.reding@gmail•com>,
	"Jonathan Hunter" <jonathanh@nvidia•com>,
	"Miquel Raynal" <miquel.raynal@bootlin•com>,
	"Richard Weinberger" <richard@nod•at>,
	"Vignesh Raghavendra" <vigneshr@ti•com>,
	"Wolfgang Grandegger" <wg@grandegger•com>,
	"Marc Kleine-Budde" <mkl@pengutronix•de>,
	"David S. Miller" <davem@davemloft•net>,
	"Jakub Kicinski" <kuba@kernel•org>,
	"Paolo Abeni" <pabeni@redhat•com>,
	"Kishon Vijay Abraham I" <kishon@ti•com>,
	"Alessandro Zummo" <a.zummo@towertech•it>,
	"Alexandre Belloni" <alexandre.belloni@bootlin•com>,
	"Chen-Yu Tsai" <wens@csie•org>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation•org>,
	"Mark Brown" <broonie@kernel•org>,
	"Rafael J. Wysocki" <rafael@kernel•org>,
	"Daniel Lezcano" <daniel.lezcano@linaro•org>,
	"Zhang Rui" <rui.zhang@intel•com>,
	"Niklas Söderlund" <niklas.soderlund@ragnatech•se>,
	"Anson Huang" <Anson.Huang@nxp•com>,
	"Fabrice Gasnier" <fabrice.gasnier@foss•st.com>,
	"Han Xu" <han.xu@nxp•com>, "Dario Binacchi" <dariobin@libero•it>,
	"Florian Fainelli" <f.fainelli@gmail•com>,
	"Maxime Ripard" <mripard@kernel•org>,
	"Peter Ujfalusi" <peter.ujfalusi@ti•com>,
	linux-clk@vger•kernel.org, dri-devel@lists•freedesktop.org,
	linux-iio@vger•kernel.org, linux-mmc@vger•kernel.org,
	linux-mtd@lists•infradead.org, linux-can@vger•kernel.org,
	netdev@vger•kernel.org, linux-phy@lists•infradead.org,
	linux-rtc@vger•kernel.org, linux-serial@vger•kernel.org,
	alsa-devel@alsa-project•org, linux-pm@vger•kernel.org
Subject: Re: [PATCH] dt-bindings: Drop redundant 'maxItems/minItems' in if/then schemas
Date: Wed, 4 May 2022 12:10:55 +0530	[thread overview]
Message-ID: <YnIf95FnuC01qxIp@matsya> (raw)
In-Reply-To: <20220503162738.3827041-1-robh@kernel.org>

On 03-05-22, 11:27, 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.

For phy:

Acked-By: Vinod Koul <vkoul@kernel•org>

-- 
~Vinod

  parent reply	other threads:[~2022-05-04  6:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 16:27 [PATCH] dt-bindings: Drop redundant 'maxItems/minItems' in if/then schemas Rob Herring
2022-05-03 16:42 ` Mark Brown
2022-05-03 18:17 ` Marc Kleine-Budde
2022-05-04  6:40 ` Vinod Koul [this message]
2022-05-04 10:15 ` Ulf Hansson
2022-05-04 21:09 ` Jonathan Cameron
2022-05-04 21:18 ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YnIf95FnuC01qxIp@matsya \
    --to=vkoul@kernel$(echo .)org \
    --cc=Anson.Huang@nxp$(echo .)com \
    --cc=a.zummo@towertech$(echo .)it \
    --cc=abel.vesa@nxp$(echo .)com \
    --cc=alexandre.belloni@bootlin$(echo .)com \
    --cc=alsa-devel@alsa-project$(echo .)org \
    --cc=broonie@kernel$(echo .)org \
    --cc=daniel.lezcano@linaro$(echo .)org \
    --cc=dariobin@libero$(echo .)it \
    --cc=davem@davemloft$(echo .)net \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=fabrice.gasnier@foss$(echo .)st.com \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=han.xu@nxp$(echo .)com \
    --cc=jic23@kernel$(echo .)org \
    --cc=jonathanh@nvidia$(echo .)com \
    --cc=kieran.bingham+renesas@ideasonboard$(echo .)com \
    --cc=kishon@ti$(echo .)com \
    --cc=krzk+dt@kernel$(echo .)org \
    --cc=kuba@kernel$(echo .)org \
    --cc=lars@metafoo$(echo .)de \
    --cc=laurent.pinchart@ideasonboard$(echo .)com \
    --cc=linux-can@vger$(echo .)kernel.org \
    --cc=linux-clk@vger$(echo .)kernel.org \
    --cc=linux-iio@vger$(echo .)kernel.org \
    --cc=linux-mmc@vger$(echo .)kernel.org \
    --cc=linux-mtd@lists$(echo .)infradead.org \
    --cc=linux-phy@lists$(echo .)infradead.org \
    --cc=linux-pm@vger$(echo .)kernel.org \
    --cc=linux-rtc@vger$(echo .)kernel.org \
    --cc=linux-serial@vger$(echo .)kernel.org \
    --cc=miquel.raynal@bootlin$(echo .)com \
    --cc=mkl@pengutronix$(echo .)de \
    --cc=mripard@kernel$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=niklas.soderlund@ragnatech$(echo .)se \
    --cc=pabeni@redhat$(echo .)com \
    --cc=peter.ujfalusi@ti$(echo .)com \
    --cc=rafael@kernel$(echo .)org \
    --cc=richard@nod$(echo .)at \
    --cc=robh@kernel$(echo .)org \
    --cc=rui.zhang@intel$(echo .)com \
    --cc=sboyd@kernel$(echo .)org \
    --cc=thierry.reding@gmail$(echo .)com \
    --cc=ulf.hansson@linaro$(echo .)org \
    --cc=vigneshr@ti$(echo .)com \
    --cc=wens@csie$(echo .)org \
    --cc=wg@grandegger$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox