* [PATCH v2] dt-bindings: mmc: Convert TI OMAP2420 MMC to DT schema
@ 2026-06-24 16:31 Eduard Bostina
2026-06-25 7:31 ` Krzysztof Kozlowski
2026-07-06 15:47 ` Ulf Hansson
0 siblings, 2 replies; 3+ messages in thread
From: Eduard Bostina @ 2026-06-24 16:31 UTC (permalink / raw)
To: daniel.baluta, simona.toaca, goledhruva, m-chawdhry, egbostina,
Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-mmc, devicetree, linux-kernel
Convert the Texas Instruments MMC host controller bindings
to DT schema.
Note that the OMAP2420 driver will not work with OMAP2430 or later omaps.
Please see the OMAP HSMMC driver for current OMAPs.
Signed-off-by: Eduard Bostina <egbostina@gmail.com>
---
Changes in v2:
- Changed ti,hwmods type reference from string-array to string
- Updated ti,hwmods regex pattern to "^msdi([1-9]|[1-9][0-9]+)$"
---
.../bindings/mmc/ti,omap2420-mmc.yaml | 60 +++++++++++++++++++
.../devicetree/bindings/mmc/ti-omap.txt | 26 --------
2 files changed, 60 insertions(+), 26 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml
delete mode 100644 Documentation/devicetree/bindings/mmc/ti-omap.txt
diff --git a/Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml b/Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml
new file mode 100644
index 000000000000..794d5ec0b58e
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mmc/ti,omap2420-mmc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments MMC host controller for OMAP1 and 2420
+
+maintainers:
+ - Eduard Bostina <egbostina@gmail.com>
+
+description: |
+ The MMC Host Controller on TI OMAP1 and 2420 family provides
+ an interface for MMC, SD, and SDIO types of memory cards.
+
+allOf:
+ - $ref: /schemas/mmc/mmc-controller.yaml#
+
+properties:
+ compatible:
+ const: ti,omap2420-mmc
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ ti,hwmods:
+ description: |
+ Name of the hwmod associated to the MMC controller. Must be
+ "msdi<n>" where n is the controller instance starting from 1.
+ $ref: /schemas/types.yaml#/definitions/string
+ pattern: "^msdi([1-9]|[1-9][0-9]+)$"
+
+ dmas:
+ maxItems: 2
+
+ dma-names:
+ items:
+ - const: tx
+ - const: rx
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ mmc@4809c000 {
+ compatible = "ti,omap2420-mmc";
+ ti,hwmods = "msdi1";
+ reg = <0x4809c000 0x80>;
+ interrupts = <83>;
+ dmas = <&sdma 61 &sdma 62>;
+ dma-names = "tx", "rx";
+ };
diff --git a/Documentation/devicetree/bindings/mmc/ti-omap.txt b/Documentation/devicetree/bindings/mmc/ti-omap.txt
deleted file mode 100644
index 02fd31cf361d..000000000000
--- a/Documentation/devicetree/bindings/mmc/ti-omap.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-* TI MMC host controller for OMAP1 and 2420
-
-The MMC Host Controller on TI OMAP1 and 2420 family provides
-an interface for MMC, SD, and SDIO types of memory cards.
-
-This file documents differences between the core properties described
-by mmc.txt and the properties used by the omap mmc driver.
-
-Note that this driver will not work with omap2430 or later omaps,
-please see the omap hsmmc driver for the current omaps.
-
-Required properties:
-- compatible: Must be "ti,omap2420-mmc", for OMAP2420 controllers
-- ti,hwmods: For 2420, must be "msdi<n>", where n is controller
- instance starting 1
-
-Examples:
-
- msdi1: mmc@4809c000 {
- compatible = "ti,omap2420-mmc";
- ti,hwmods = "msdi1";
- reg = <0x4809c000 0x80>;
- interrupts = <83>;
- dmas = <&sdma 61 &sdma 62>;
- dma-names = "tx", "rx";
- };
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2] dt-bindings: mmc: Convert TI OMAP2420 MMC to DT schema
2026-06-24 16:31 [PATCH v2] dt-bindings: mmc: Convert TI OMAP2420 MMC to DT schema Eduard Bostina
@ 2026-06-25 7:31 ` Krzysztof Kozlowski
2026-07-06 15:47 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-25 7:31 UTC (permalink / raw)
To: Eduard Bostina
Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry, Ulf Hansson,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-mmc,
devicetree, linux-kernel
On Wed, Jun 24, 2026 at 04:31:11PM +0000, Eduard Bostina wrote:
> Convert the Texas Instruments MMC host controller bindings
> to DT schema.
>
> Note that the OMAP2420 driver will not work with OMAP2430 or later omaps.
> Please see the OMAP HSMMC driver for current OMAPs.
>
> Signed-off-by: Eduard Bostina <egbostina@gmail.com>
> ---
> Changes in v2:
> - Changed ti,hwmods type reference from string-array to string
> - Updated ti,hwmods regex pattern to "^msdi([1-9]|[1-9][0-9]+)$"
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] dt-bindings: mmc: Convert TI OMAP2420 MMC to DT schema
2026-06-24 16:31 [PATCH v2] dt-bindings: mmc: Convert TI OMAP2420 MMC to DT schema Eduard Bostina
2026-06-25 7:31 ` Krzysztof Kozlowski
@ 2026-07-06 15:47 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2026-07-06 15:47 UTC (permalink / raw)
To: Eduard Bostina
Cc: daniel.baluta, simona.toaca, goledhruva, m-chawdhry, Ulf Hansson,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-mmc,
devicetree, linux-kernel
On Wed, Jun 24, 2026 at 6:31 PM Eduard Bostina <egbostina@gmail.com> wrote:
>
> Convert the Texas Instruments MMC host controller bindings
> to DT schema.
>
> Note that the OMAP2420 driver will not work with OMAP2430 or later omaps.
> Please see the OMAP HSMMC driver for current OMAPs.
>
> Signed-off-by: Eduard Bostina <egbostina@gmail.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> Changes in v2:
> - Changed ti,hwmods type reference from string-array to string
> - Updated ti,hwmods regex pattern to "^msdi([1-9]|[1-9][0-9]+)$"
> ---
> .../bindings/mmc/ti,omap2420-mmc.yaml | 60 +++++++++++++++++++
> .../devicetree/bindings/mmc/ti-omap.txt | 26 --------
> 2 files changed, 60 insertions(+), 26 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml
> delete mode 100644 Documentation/devicetree/bindings/mmc/ti-omap.txt
>
> diff --git a/Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml b/Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml
> new file mode 100644
> index 000000000000..794d5ec0b58e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml
> @@ -0,0 +1,60 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mmc/ti,omap2420-mmc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Texas Instruments MMC host controller for OMAP1 and 2420
> +
> +maintainers:
> + - Eduard Bostina <egbostina@gmail.com>
> +
> +description: |
> + The MMC Host Controller on TI OMAP1 and 2420 family provides
> + an interface for MMC, SD, and SDIO types of memory cards.
> +
> +allOf:
> + - $ref: /schemas/mmc/mmc-controller.yaml#
> +
> +properties:
> + compatible:
> + const: ti,omap2420-mmc
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + ti,hwmods:
> + description: |
> + Name of the hwmod associated to the MMC controller. Must be
> + "msdi<n>" where n is the controller instance starting from 1.
> + $ref: /schemas/types.yaml#/definitions/string
> + pattern: "^msdi([1-9]|[1-9][0-9]+)$"
> +
> + dmas:
> + maxItems: 2
> +
> + dma-names:
> + items:
> + - const: tx
> + - const: rx
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + mmc@4809c000 {
> + compatible = "ti,omap2420-mmc";
> + ti,hwmods = "msdi1";
> + reg = <0x4809c000 0x80>;
> + interrupts = <83>;
> + dmas = <&sdma 61 &sdma 62>;
> + dma-names = "tx", "rx";
> + };
> diff --git a/Documentation/devicetree/bindings/mmc/ti-omap.txt b/Documentation/devicetree/bindings/mmc/ti-omap.txt
> deleted file mode 100644
> index 02fd31cf361d..000000000000
> --- a/Documentation/devicetree/bindings/mmc/ti-omap.txt
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -* TI MMC host controller for OMAP1 and 2420
> -
> -The MMC Host Controller on TI OMAP1 and 2420 family provides
> -an interface for MMC, SD, and SDIO types of memory cards.
> -
> -This file documents differences between the core properties described
> -by mmc.txt and the properties used by the omap mmc driver.
> -
> -Note that this driver will not work with omap2430 or later omaps,
> -please see the omap hsmmc driver for the current omaps.
> -
> -Required properties:
> -- compatible: Must be "ti,omap2420-mmc", for OMAP2420 controllers
> -- ti,hwmods: For 2420, must be "msdi<n>", where n is controller
> - instance starting 1
> -
> -Examples:
> -
> - msdi1: mmc@4809c000 {
> - compatible = "ti,omap2420-mmc";
> - ti,hwmods = "msdi1";
> - reg = <0x4809c000 0x80>;
> - interrupts = <83>;
> - dmas = <&sdma 61 &sdma 62>;
> - dma-names = "tx", "rx";
> - };
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-06 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24 16:31 [PATCH v2] dt-bindings: mmc: Convert TI OMAP2420 MMC to DT schema Eduard Bostina
2026-06-25 7:31 ` Krzysztof Kozlowski
2026-07-06 15:47 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox