From: Philipp Zabel <p.zabel@pengutronix.de>
To: Rob Herring <robh@kernel.org>, devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Agathe Porte <agathe.porte@nokia.com>,
Guenter Roeck <linux@roeck-us.net>,
Jean Delvare <jdelvare@suse.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Olivier Moysan <olivier.moysan@foss.st.com>,
Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>,
Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Mark Brown <broonie@kernel.org>,
Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
Yunfei Dong <yunfei.dong@mediatek.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
linux-hwmon@vger.kernel.org, alsa-devel@alsa-project.org,
linux-iio@vger.kernel.org, linux-media@vger.kernel.org,
linux-remoteproc@vger.kernel.org, linux-spi@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: Fix array constraints on scalar properties
Date: Wed, 13 Apr 2022 16:19:30 +0200 [thread overview]
Message-ID: <03af79f89d80d985ebf9adacb77af7c128248d27.camel@pengutronix.de> (raw)
In-Reply-To: <20220413140121.3132837-1-robh@kernel.org>
On Mi, 2022-04-13 at 09:01 -0500, Rob Herring wrote:
> Scalar properties shouldn't have array constraints (minItems, maxItems,
> items). These constraints can simply be dropped with any constraints under
> 'items' moved up a level.
>
> Cc: Agathe Porte <agathe.porte@nokia.com>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: Jean Delvare <jdelvare@suse.com>
> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
> Cc: Olivier Moysan <olivier.moysan@foss.st.com>
> Cc: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
> Cc: Yunfei Dong <yunfei.dong@mediatek.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: linux-hwmon@vger.kernel.org
> Cc: alsa-devel@alsa-project.org
> Cc: linux-iio@vger.kernel.org
> Cc: linux-media@vger.kernel.org
> Cc: linux-remoteproc@vger.kernel.org
> Cc: linux-spi@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/hwmon/ti,tmp464.yaml | 5 ++---
> .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 4 +---
> Documentation/devicetree/bindings/media/coda.yaml | 1 -
> .../devicetree/bindings/media/mediatek,vcodec-decoder.yaml | 2 --
> .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml | 2 --
> .../bindings/media/mediatek,vcodec-subdev-decoder.yaml | 1 -
> .../devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml | 4 +---
> Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml | 2 --
> 8 files changed, 4 insertions(+), 17 deletions(-)
>
[...]
> diff --git a/Documentation/devicetree/bindings/media/coda.yaml b/Documentation/devicetree/bindings/media/coda.yaml
> index 36781ee4617f..c9d5adbc8c4a 100644
> --- a/Documentation/devicetree/bindings/media/coda.yaml
> +++ b/Documentation/devicetree/bindings/media/coda.yaml
> @@ -65,7 +65,6 @@ properties:
> iram:
> $ref: /schemas/types.yaml#/definitions/phandle
> description: phandle pointing to the SRAM device node
> - maxItems: 1
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
regards
Philipp
next prev parent reply other threads:[~2022-04-13 14:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-13 14:01 [PATCH] dt-bindings: Fix array constraints on scalar properties Rob Herring
2022-04-13 14:03 ` Geert Uytterhoeven
2022-04-13 14:08 ` Guenter Roeck
2022-04-13 14:19 ` Philipp Zabel [this message]
2022-04-13 15:04 ` Mark Brown
2022-04-13 16:53 ` Jonathan Cameron
2022-04-14 18:02 ` 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=03af79f89d80d985ebf9adacb77af7c128248d27.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=agathe.porte@nokia.com \
--cc=alsa-devel@alsa-project.org \
--cc=arnaud.pouliquen@foss.st.com \
--cc=bjorn.andersson@linaro.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fabrice.gasnier@foss.st.com \
--cc=geert+renesas@glider.be \
--cc=jdelvare@suse.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mathieu.poirier@linaro.org \
--cc=mchehab@kernel.org \
--cc=olivier.moysan@foss.st.com \
--cc=robh@kernel.org \
--cc=yunfei.dong@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).