From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C754230D416 for ; Wed, 24 Jun 2026 16:31:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318692; cv=none; b=XntgyB9OwJYlepO/KzlpBwUNAiM0x8DUZov1rTXveI680A5lNP3o8zA3pJ4ja6Nt44Xtv5WczvTBrvFVX+Wxe3RRJaf23Kyf26QlLgxBn9/Q9nBWiUHPLPzf4bzZUfSKcDeLLBcTgz4Hw4kkFYdfQXNYGuSv6NZmvXZA/zJlPyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318692; c=relaxed/simple; bh=NGaOrLTsFDY23HN6mLsw7AAbdGveOKYGWEzmFMEvhZI=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=mYhIAoqBK9I+SDtVYKLV8C/iBo15yBxiVCFeAQEATzQMkh1pYywN92wSksphRherVYOeL9l3+pBlQVeyxoqRd3ToS59iuxXQ3+BKljrmBNapTV78BvJm3cFOua4+G5mE7VWc8Fte9DWapASzNAd8XgJJ0dI0SNMMnaELYPMcSEI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gVY/EPk3; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gVY/EPk3" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4924593f45dso14306755e9.1 for ; Wed, 24 Jun 2026 09:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782318689; x=1782923489; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=1CfY+fA8aRPdoLbeY5/hh263ftDsGPqED+585kkEVz4=; b=gVY/EPk3V5yDkVgeDPBfpGS5dLVm2NSSQliEi5m8YKcKQfnDi5FFdxBYweJBLHACiR yTR1b41jyghhr97nF0W2tZAkNDjHLTPODgNma/FwqPqv4JKX/RKCwbNUPnSixVuOtk4M iX+iQPY7QliuUY/KuFv9AhY1bgRExcl/qUwpkGYgPyzcRdGIpROiGvzluE3vEhpz+KSB 0Tt47aQ8RLaHx0fyJKm8QdqrGKxrho3CHvBvWMWzmq9IzMBbMJ94A8YdPSLWBDYxKL1a ycyRbmbs2S2xwAhUYbEZAelAhmUHQTBt79dgjtAcU8nxYwues8YwVOv51+CQmV3VzeFU /J/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782318689; x=1782923489; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1CfY+fA8aRPdoLbeY5/hh263ftDsGPqED+585kkEVz4=; b=McupS7DD1XwauU+QxtbipT8zBkZt2tSjpgYOx5QLRawJ1nynZMe/vDPEDpodTcg9sL 1gKGQ9wxQ1M0w4ZQKFi0waUhxtF0vM+7/QAZitc2thnVc8QU0rPjSR8K/WEXO0uX/HbG KDrNgVMvz6Bkvl143w2vI6X/UKGs0QsWgun2VNV85rGiHrjfEOenuUId2pokMtrxl4sQ PksFKaV7p+5Q3Lr5vP8QaRNQfW0SAr2sxAboIqMb+ZlZKKQRvMOhECDBD6zfNZXP5xQX j9LitdMGW91agTktx831jdS8Oeb9WafkH+CGRmiS6Gvmy1nqpo20XLwvz6fezUqafbAJ LQgg== X-Forwarded-Encrypted: i=1; AFNElJ/YGFyeMjADsZCAZc/bVLIDctMtRXAwcYRb65nWUoxzLttEQ977PYYiMjW4L6obMu9Tpf+F96SxZXVGq/0=@vger.kernel.org X-Gm-Message-State: AOJu0YxeDlo8QSMewcByI9xzLa0FVrNE5uttZqp5sfSYYzg4BT8aj4K+ bxV5F2rQVLKX7ss0ZACNU8YTCZOoi/oksiNJCzV9ehWb2lybmM3YBHCN X-Gm-Gg: AfdE7ckldDvpEtP9EyxwaUZVKgteuApGsnEN5NNF/YEpBQhMHLuMYCnYkRKKsIjrHES Zav+oA4eadK8yKvmqidqpBKji42Me3fc3RE0ETXJXT52cIwvhpEhh1tj2JEA/NWHsDS3yPKGQBL HbDjKler25SOgOaDFDSIWq4qoTx8a0n58GD37o1ZxdNPyvyOgN3zfJyBeyQ0VRsc5gIE38XX0eK QRFsaQnT/to9vUVzDYscnMYg/ub2WcTWoCXRkhCkNPo78jYxAGSh0gwvr62RV5MGwDtumA2YZOg gWyPKG4r27/nY0lgzwTwD9esAo0okJ2vL7IVf4IGjw7kD1pC6ypbr3Ib69Su2oxpsT16poUWBXm gHi5eZMtDKQUCoNOszYudaBesY1U5Zdfyl2mgZhDDE/fKD+Kr7VpfBRuKqKJ6GX4iIBCyK0/4bf aa6n+DYdZ9ha7IcrMM/vK4V+00RFZzIpj87FnCmmobqbjIUi4y3JAxiQ== X-Received: by 2002:a05:600c:4f56:b0:490:d354:bcf4 with SMTP id 5b1f17b1804b1-49260875aa9mr58753125e9.27.1782318688828; Wed, 24 Jun 2026 09:31:28 -0700 (PDT) Received: from localhost.localdomain ([82.77.79.113]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4926401a21asm3739235e9.1.2026.06.24.09.31.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2026 09:31:28 -0700 (PDT) From: Eduard Bostina To: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com, egbostina@gmail.com, Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: mmc: Convert TI OMAP2420 MMC to DT schema Date: Wed, 24 Jun 2026 16:31:11 +0000 Message-ID: <20260624163112.535237-1-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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 + +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" 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", 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