From patchwork Tue Dec 4 07:24:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunyan Zhang X-Patchwork-Id: 152798 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7762733ljp; Mon, 3 Dec 2018 23:24:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ua7usWWPK1UUqKtyE4PCZhEuazvzadO1GpJ/rF/PHa0BQ5Gt5Pb3aBDvduHz9e/Z3rhAxQ X-Received: by 2002:a17:902:42e4:: with SMTP id h91mr19385151pld.18.1543908294452; Mon, 03 Dec 2018 23:24:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543908294; cv=none; d=google.com; s=arc-20160816; b=VlauTSSNpth+0RGNkz/xjmGE2dJC9WI3YiciX6W1YW5HCtBUC4SDV4SCW4oyYLGMR1 fsx9Kyy58IF9Tf5+Qij2h9hMpCShUnx5ZEx8HY7wIA88suc3TLcN9/89yUK0OIAtuC0S 1xl5YSpWw7wxHYO/ZCjvyI6qvqslq79hGM0qJ2z9XRxfTWI4Ev9n6snRCPGG9m3fn21v wmiVtJ1RyEKR+aF9fGPajZQp6tkfzPJEe8QkDjBCgajB/vzaBgIa/RBcErcce1+PWmZ7 qLcjgR1ftjV1ER9xnq2pZOs+kJ5Ntm0BlUmm7tRohw6aSdWEmjgkRD5GYOFdd2IN4K6v U4Ug== 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 4si2207693pgl.192.2018.12.03.23.24.54; Mon, 03 Dec 2018 23:24:54 -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 S1726124AbeLDHYx (ORCPT + 31 others); Tue, 4 Dec 2018 02:24:53 -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(+) -- 2.7.4 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"; };