Re: [PATCH v2 1/1] dt-bindings: mmc: Convert fsl-esdhc.txt to yaml

From: Krzysztof Kozlowski
Date: Tue Jun 04 2024 - 12:01:03 EST


On 04/06/2024 16:53, Frank Li wrote:
> Convert layerscape fsl-esdhc binding doc from txt to yaml format.
>
> Addtional change during convert:
> - Deprecate "sdhci,wp-inverted", "sdhci,1-bit-only".
> - Add "reg" and "interrupts" property.
> - Change example "sdhci@2e000" to "mmc@2e000".
> - Compatible string require fsl,<chip>-esdhc followed by fsl,esdhc to match
> most existed dts file.
> - Set clock-frequency t

...

> +
> + sdhci,auto-cmd12:
> + $ref: /schemas/types.yaml#/definitions/flag
> + description:
> + specifies that a controller can only handle auto CMD12.
> +
> + voltage-ranges:
> + $ref: /schemas/types.yaml#/definitions/uint32-matrix
> + items:
> + items:
> + - description: specifies minimum slot voltage (mV).
> + - description: specifies maximum slot voltage (mV).

I missed it last time:

This needs min/maxItems, because you constrained only one dimension. I
assume this can be quite flexible, so could be min=1 and maxItems=8, or
whatever slots number is there.

Best regards,
Krzysztof