[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191210095151.15441-2-faiz_abbas@ti.com>
Date: Tue, 10 Dec 2019 15:21:45 +0530
From: Faiz Abbas <faiz_abbas@...com>
To: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-mmc@...r.kernel.org>
CC: <kishon@...com>, <adrian.hunter@...el.com>, <mark.rutland@....com>,
<robh+dt@...nel.org>, <ulf.hansson@...aro.org>,
<zhang.chunyan@...aro.org>, <tony@...mide.com>
Subject: [PATCH v3 1/7] dt-bindings: sdhci-omap: Add properties for using external dma
From: Chunyan Zhang <zhang.chunyan@...aro.org>
sdhci-omap can support both external dma controller via dmaengine
framework as well as ADMA which standard SD host controller
provides. Add binding documentation for these external dma properties.
Signed-off-by: Chunyan Zhang <zhang.chunyan@...aro.org>
Signed-off-by: Faiz Abbas <faiz_abbas@...com>
---
Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt
index 72c4dec7e1db..97efb01617dd 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt
+++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt
@@ -15,6 +15,13 @@ Required properties:
"hs200_1_8v",
- pinctrl-<n> : Pinctrl states as described in bindings/pinctrl/pinctrl-bindings.txt
+Optional properties:
+- dmas: List of DMA specifiers with the controller specific format as described
+ in the generic DMA client binding. A tx and rx specifier is required.
+- dma-names: List of DMA request names. These strings correspond 1:1 with the
+ DMA specifiers listed in dmas. The string naming is to be "tx"
+ and "rx" for TX and RX DMA requests, respectively.
+
Example:
mmc1: mmc@...9c000 {
compatible = "ti,dra7-sdhci";
@@ -22,4 +29,6 @@ Example:
ti,hwmods = "mmc1";
bus-width = <4>;
vmmc-supply = <&vmmc>; /* phandle to regulator node */
+ dmas = <&sdma 61 &sdma 62>;
+ dma-names = "tx", "rx";
};
--
2.19.2
Powered by blists - more mailing lists