Re: [PATCH v5 2/2] dt-bindings: mmc: st,sdhci: Convert to DT schema

From: Rob Herring (Arm)

Date: Tue Jun 30 2026 - 15:00:31 EST



On Mon, 29 Jun 2026 16:26:40 +0000, Charan Pedumuru wrote:
> Convert STMicroelectronics sdhci-st MMC/SD controller binding from
> text format to YAML DT schema.
> Changes during conversion:
> - Preserve optional 'icn' clock and 'top-mmc-delay' register region
> via minItems: 1 on their respective properties.
> - Conditionally require reg-names when two reg entries are present
> via an allOf if/then block, preventing silent runtime failure in
> devm_platform_ioremap_resource_byname().
> - Constrain max-frequency to enum [200000000, 100000000, 50000000]
> with a default of 50000000, matching the driver's behaviour in
> sdhci-st.c.
>
> Signed-off-by: Charan Pedumuru <charan.pedumuru@xxxxxxxxx>
> ---
> Documentation/devicetree/bindings/mmc/sdhci-st.txt | 110 ---------------------
> .../devicetree/bindings/mmc/st,sdhci.yaml | 105 ++++++++++++++++++++
> 2 files changed, 105 insertions(+), 110 deletions(-)
>

Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>