Re: [PATCH 01/12] ASoC: dt-bindings: amlogic,gx-sound-card: correct maxItems constraints
From: Mark Brown
Date: Mon Jul 31 2023 - 10:47:02 EST
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.
Attachment:
signature.asc
Description: PGP signature