Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7935616imu; Mon, 3 Dec 2018 23:25:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vby3FshCBr7TLD1jxNNg+uiFCBLzIrjjg93dxsZxGhED/zln0+NqRv1iZLQwTDcpbFkLyj X-Received: by 2002:a63:30c8:: with SMTP id w191mr16336002pgw.120.1543908350124; Mon, 03 Dec 2018 23:25:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543908350; cv=none; d=google.com; s=arc-20160816; b=Pn34M/1/aeHEXHodbDNuwRO2Hl1UBsK8DpTZ9McnxqsS9hKY9DVBRin1lpn24VnsZq t1bsZBMPVsX8KZvnWK5u0+FEpeq1FDJQCJVu9DCByOACnr2cM/5RpAkcV5H9PQkpCZ/w Dwv2hrPjKnnT24qsLI0XsYBPkearPCctOLkFTwok7KdEXpLwTx6DUIBeMihhsHmR+fB3 aAGNL3RVw8YVXPU/F9B9r0+QMqzIGa47GOi4WwsY+R1W4+h0fTgkmRJLTVoAGpFK53RL +dHPp/Ca2dPyLtUhcvoeGLjLr/2TsDaCo4bWcfDzE/llXSju7xKW3TPSOuP+RgPkwJUA m35g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=LQZrLz1FZpjiBQ4p0of1aJNeNKSIKiMbtxR/pc+1xGM=; b=kzkUOGtmAnAxf8SKD9M7GpUV7rEpT1suXebx5TGABIuWZ+NhEns6vsFX7yM6Mpee1v xjO5sK+sFJc9nRXAQMQTnKeJFUMcDNZTha2s+a9LmUOgJxsik5C1FKKJe7Qsi25hX123 Np6YVMYnidxAvL3RzzDRPWbWmxJ5xE2GiYhJD82xSyU/RTBcV1rpv/CicJiZik+Hkg5Q PXsSp9U3UThjQbguObSNosBEWXqx7RLjyWFrKg3zUcRmcUwTl2kbAMbO5o3s1PODc50G MfMtQ9dG/oDTIL+A6yiF7NJDIU404EueKb39CsK5jK8W8d89GUb5bm2ZqEKxx7vtIe09 qgGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Cfx/OrHJ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si14877269pgf.136.2018.12.03.23.25.35; Mon, 03 Dec 2018 23:25:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Cfx/OrHJ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726118AbeLDHYw (ORCPT + 99 others); Tue, 4 Dec 2018 02:24:52 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43904 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726107AbeLDHYu (ORCPT ); Tue, 4 Dec 2018 02:24:50 -0500 Received: by mail-pg1-f194.google.com with SMTP id v28so6958759pgk.10 for ; Mon, 03 Dec 2018 23:24:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LQZrLz1FZpjiBQ4p0of1aJNeNKSIKiMbtxR/pc+1xGM=; b=Cfx/OrHJmJY/gni8I11JPMZQkB4joknXX6ZKDemahHhk+GQfa+yOJfssUtQSde+fre MEktSRcutu8WMz1obz0hVtjcds2Oh3i8HSvzw7Nrhh2k7JGhU8kXTidLeKrweDdjvyHK Pc5oYzWOgTpm9SU8aKwHvma8LNWy8w1gxNvp8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LQZrLz1FZpjiBQ4p0of1aJNeNKSIKiMbtxR/pc+1xGM=; b=ERWnklzuJxrNulupWrDh+cYC6Tdjo8wNSOEHgz3KfgW2ntZRYjICbDOjTD3CwwC4oA 5IweuaUs5RZY7wXGEVQOdqV+tylvNvooI6ZLjr9dFG8o9dV6YU+61w/z0lexMgcZZoCy iy0xOpMk/0dDYJRsYofsT9zJZ3PgY+mil831SW0ZnlfqC7kvgwLhZq7X4nZxS/FRPkQq 9d5v3wpqSUtFBogIcwI+8xrwQoHyI3aa08/LlZOC8rMT1k2ojxUgpymNi60hM9Lmz/F5 gp9Q54AHGeW2ARDBQXQp/e/LZGhgsa0ZNJc3vSrx5SVIstdx+v5UjaEyxGn6EokSX63S o9bQ== X-Gm-Message-State: AA+aEWbBre5zx74sIKHiFGSr2WDqf2FzJyS5mOQlcSsyrsX0rAZ/SdXo Fdi3aCPbJfEHu/1LcPRTU3oq1A== X-Received: by 2002:a62:ca05:: with SMTP id n5mr19039448pfg.154.1543908290262; Mon, 03 Dec 2018 23:24:50 -0800 (PST) Received: from ubt.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id g136sm22705943pfb.154.2018.12.03.23.24.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Dec 2018 23:24:49 -0800 (PST) From: Chunyan Zhang To: Ulf Hansson , Adrian Hunter , Faiz Abbas Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Mark Brown , Kishon Vijay Abraham I , Sekhar Nori , Chunyan Zhang Subject: [PATCH V3 3/3] dt-bindings: sdhci-omap: Add example for using external dma Date: Tue, 4 Dec 2018 15:24:30 +0800 Message-Id: <1543908270-13953-4-git-send-email-zhang.chunyan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543908270-13953-1-git-send-email-zhang.chunyan@linaro.org> References: <1543908270-13953-1-git-send-email-zhang.chunyan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sdhci-omap can support both external dma controller via dmaengine framework as well as ADMA which standard SD host controller provides. Signed-off-by: Chunyan Zhang --- Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt index 393848c..c73fd47 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt @@ -12,6 +12,11 @@ Required properties: "ddr_1_8v-rev11", "ddr_1_8v" or "ddr_3_3v", "hs200_1_8v-rev11", "hs200_1_8v", - pinctrl- : Pinctrl states as described in bindings/pinctrl/pinctrl-bindings.txt +- 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 "rx" + and "tx" for RX and TX DMA requests, respectively. Example: mmc1: mmc@4809c000 { @@ -20,4 +25,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.7.4