[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <076d8a7d-8369-4e88-9997-d54b91b7920d@sirena.org.uk>
Date: Mon, 31 Jul 2023 15:46:49 +0100
From: Mark Brown <broonie@...nel.org>
To: Jerome Brunet <jbrunet@...libre.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Shengjiu Wang <shengjiu.wang@....com>,
Rohit kumar <quic_rohkumar@...cinc.com>,
Cheng-Yi Chiang <cychiang@...omium.org>,
Rao Mandadapu <srivasam@...eaurora.org>,
Judy Hsiao <judyhsiao@...omium.org>,
Trevor Wu <trevor.wu@...iatek.com>,
Jonathan Bakker <xc-racer2@...e.ca>,
alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH 01/12] ASoC: dt-bindings: amlogic,gx-sound-card: correct
maxItems constraints
On Mon, Jul 31, 2023 at 11:52:53AM +0200, Jerome Brunet wrote:
> The upper limit of 8 might work now but is very likely to be wrong for
> the next device to come.
> Is there way to correctly describe this "pair" contraint with DT schema ?
> If not, then I guess the most adequate solution is to drop minItems and
> give no bound, like simple-card is doing for the same type of properties.
> Same goes for the audio-widgets property
Right, dropping minItems seems better than pulling a maxItems out of
thin air.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists