[PATCH v5 0/2] dt-bindings: mmc: st,sdhci: convert STMicroelectronics SDHCI-ST MMC/SD Controller controller binding to YAML
Charan Pedumuru <[email protected]>
| Newsgroups | org.kernel.vger.linux-mmc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This patch series converts the legacy text-based Device Tree binding for STMicroelectronics SDHCI-ST MMC/SD controller to DT schema (YAML) format. Note: The patch "dt-bindings: mmc: st,sdhci: convert to DT schema" depends on the patch "arm: dts: st: align node patterns with established convention". If the DT schema patch is applied before the DTS cleanup patch, `dtbs_check` will fail due to the presence of the removed properties in the existing DTS. Signed-off-by: Charan Pedumuru <[email protected]> --- Changes in v5: - Rename the sdhci@9060000 and sdhci@9080000 device tree nodes to mmc@9060000 and mmc@9080000, respectively. - Introduce the max-frequency property and add conditional logic to include reg-names when the reg property contains two entries. - Modify the commit message to explain the changes done for both YAML and DTS files. - Link to v4: https://patch.msgid.link/[email protected] Changes in v4: - st,sdhci: Add minItems: 1 to clock-names and reg-names to allow single-entry configurations, fixing dtbs_check failures on nodes that omit the optional 'icn' clock or 'top-mmc-delay' register region. - st,sdhci: Modify the commit message to explain the changes. - Link to v3: https://patch.msgid.link/[email protected] Changes in v3: - st,sdhci: Edit description of reg property. Modify reg-names. Add "minItems" for clocks and clock-names properties. - Modify the commit message to match with the updated changes. - Link to v2: https://patch.msgid.link/[email protected] Changes in v2: - Fix node name in DTS for the MMC to match with the estableshed convention. - st,sdhci: drop unnecessary properties, modify "reg", "reg-names" and "clock-names" properties, include an allOf with $ref to mmc-controller. - Link to v1: https://patch.msgid.link/[email protected] --- Charan Pedumuru (2): arm: dts: st: align MMC node names with established convention dt-bindings: mmc: st,sdhci: Convert to DT schema Documentation/devicetree/bindings/mmc/sdhci-st.txt | 110 --------------------- .../devicetree/bindings/mmc/st,sdhci.yaml | 105 ++++++++++++++++++++ arch/arm/boot/dts/st/stih407-family.dtsi | 4 +- arch/arm/boot/dts/st/stih410-b2260.dts | 4 +- arch/arm/boot/dts/st/stih418-b2199.dts | 4 +- arch/arm/boot/dts/st/stih418.dtsi | 2 +- 6 files changed, 112 insertions(+), 117 deletions(-) --- base-commit: cf2cd8efd046c561191b8541d32a8bfe845bf06b change-id: 20260327-st-mmc-c906ad95ff83 Best regards, -- Charan Pedumuru <[email protected]>