[PATCH 01/12] ASoC: dt-bindings: amlogic,gx-sound-card: correct maxItems constraints
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed Aug 9 23:29:14 PDT 2023
On 31/07/2023 16:46, Mark Brown 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.
OK, I will drop the min/maxItems and send v2.
Best regards,
Krzysztof
More information about the Linux-mediatek
mailing list