[PATCH v2 2/2] dt-bindings: mmc: st,sdhci: convert to DT schema
Krzysztof Kozlowski
krzk at kernel.org
Mon May 4 00:43:08 PDT 2026
On Sun, May 03, 2026 at 08:35:30AM +0000, Charan Pedumuru wrote:
> +$id: http://devicetree.org/schemas/mmc/st,sdhci.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: STMicroelectronics SDHCI-ST MMC/SD Controller
> +
> +description:
> + The STMicroelectronics SDHCI-ST MMC/SD host controller, which is
> + compliant with the SD Host Controller Interface (SDHCI) specification and
> + is used to interface with MMC, SD and SDIO cards. The ST SDHCI controller
> + extends the standard SDHCI capabilities with platform-specific
> + configurations such as additional register regions,clock inputs, and delay
> + control mechanisms required for signal timing adjustments which are
> + necessary to support high-speed modes and ensure reliable data transfer
> + across different ST SoCs.
> +
> +allOf:
> + - $ref: mmc-controller.yaml#
> +
> +maintainers:
> + - Peter Griffin <peter.griffin at linaro.org>
> +
> +properties:
> + compatible:
> + oneOf:
> + - const: st,sdhci
> + - items:
> + - const: st,sdhci-stih407
> + - const: st,sdhci
> +
> + reg:
> + minItems: 1
> + items:
> + - description: Base address and size of the MMC controller registers
s/Base address and size of the//
> + - description: Base address and size of the MMC delay/auxiliary registers
Here the same
> +
> + reg-names:
> + oneOf:
> + - items:
> + - const: mmc
Drop three lines above
> + - items:
So this is just items like you have in "reg" part. Same syntax.
> + - const: mmc
> + - const: top-mmc-delay
> +
> + clocks:
Here and:
> + items:
> + - description: Clock for the MMC controller
> + - description: Interconnect (ICN) clock
> +
> + clock-names:
here: Old binding icn is optional. You need to explain in the commit msg
all the changes done during conversion.
> + items:
> + - const: mmc
> + - const: icn
> +
> + interrupts:
> + maxItems: 1
> +
> + interrupt-names:
> + const: mmcirq
> +
> + resets:
> + maxItems: 1
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list