Re: [PATCH] dt-bindings: mmc: st,sdhci: convert to DT schema
From: Krzysztof Kozlowski
Date: Thu Apr 23 2026 - 13:23:49 EST
On 23/04/2026 17:26, Charan Pedumuru wrote:
>
>
> On 16-04-2026 14:48, Krzysztof Kozlowski wrote:
>> On Thu, Apr 09, 2026 at 07:43:16AM +0000, Charan Pedumuru wrote:
>>> +properties:
>>> + compatible:
>>> + oneOf:
>>> + - const: st,sdhci
>>> + - items:
>>> + - const: st,sdhci-stih407
>>> + - const: st,sdhci
>>> +
>>> + reg:
>>> + minItems: 1
>>> + maxItems: 2
>>
>> replace maxItems with a list with description
>
> maxItems is required, dt_check fails without it and I can add the description.
No, constraints are required and list with items provides such.
Best regards,
Krzysztof