From patchwork Tue Dec 11 09:12:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunyan Zhang X-Patchwork-Id: 153409 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp390919ljp; Tue, 11 Dec 2018 01:13:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/V0HlAHRiDAM4Psi3ITd2oB4f1bjYzb033Iyb5i91NnVH/Jbl8nHz8sX1/8sW3uVOayBSWp X-Received: by 2002:a63:ba19:: with SMTP id k25mr13834761pgf.194.1544519602610; Tue, 11 Dec 2018 01:13:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544519602; cv=none; d=google.com; s=arc-20160816; b=EFX5KtGlut3YG24cdoPAarh49kceqDzzyFMWav3Hj5hCnRgXrgtvtTkheXQ+h017uC zztDjteUCnQJZToT5By39p54mcDWhqpBfBtEAIdJEQws8PDsNejYJ70WiCzVQWXrAXEs xTmXyAnJtan9KhMqz/jdMO5zCwtQ6xAyp3bjEwJ5crnGaMy1S+rSnM/q650yBmVCn44Z hQ0YKDWSQuGFBWpigExMk5TDRX+XYaEXWK97Ceg4AcbF+tI2nBB9yHZYZJW5KjgeBydX QkHZAFh/7cknb6C90iJrPb6Ibs+q3VweY/8BBiXoXGUUHsBT9H/kj4Tr1Tr3WGli938L fqdg== 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=ttt+b71jvAywBcjCOBXQFYnR3pOvolaXG8C9nZEMEKwTZpnmrcBOyJKGeaoUjSQzJQ ODXiyQIsDjot39nn/HbtFfiR1lCwi59h+W2+YpCAXIv6YrNG05gR+r3u33dDTNvkczhV yLpJ7szqKkzXHFrht7ngOL4/hljttqvB4BfmwzFwmvjCMJkECQPRu3uXTQJviu0dq21y mKt+saQSiYV5URWLG7jRsUDOIPUgIwK/SXhLqK/rphk3mo/hcWSATDgZRYeyyDK2yH7L XR8+vxTK8EOPiDq5uXlz9k4MK0ZpFJBCGeL36ooyICqwthFSfE0cAvia5y3YGr8wygl/ okbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fiycD/LE"; 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 o1si1988954plk.257.2018.12.11.01.13.22; Tue, 11 Dec 2018 01:13:22 -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="fiycD/LE"; 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 S1726294AbeLKJNV (ORCPT + 31 others); Tue, 11 Dec 2018 04:13:21 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:34304 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbeLKJNU (ORCPT ); Tue, 11 Dec 2018 04:13:20 -0500 Received: by mail-pg1-f194.google.com with SMTP id 17so6362875pgg.1 for ; Tue, 11 Dec 2018 01:13:20 -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=fiycD/LEo3SAOWUM2YGHQuxHMRV161UNsWkibPIwdp9QfQ+FQ72ihqYCn6v6WVakQH BvFtTYnv0iIplLmbG1v6J5p8wTbpFFXg/g1Q58FU1SoD8Zlv1xuOLty4CMq5B0eTeFqq szoVuHFb7us00ExwjhwwmhXxmva017sDc8DwI= 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=cOIMW7lA15rYW0Uos55vxy8w88an3b+vKun2npb+j6qSB6bCQDbLXqi7v4Gc5NvGAw v8d9nV3JThoQAw4aeK113hd8jdxn6DcvPqwdB1/qWDGJSvaaIvI3GfCkvJqEBTdZeF0n IUANonTdhIDrEuGKtc5lvTK9xy6a87S0Rpeco4V8kuYdi8BkJ/FovQ/5iHjeiiUkcZRG V7DwVg+inzhSDjHVuwB1JEPkWigEE+iAy8zSMi019rg8IFwZ7L+qo6Z5aBtghAiLtGnX 0VzxDbToBziUa1hGjL+8iXRdIENsKxkjy5RuoZFU8zCtgfliuu2p6ET/LK0xNrTbzG3y R7uw== X-Gm-Message-State: AA+aEWY6WFdho0r9wPlM2sq20BlbWc/VUhAIUnAs345qu+9iZRn9EnxJ i1QTngsj3uBpxMPSEXvJACLj7w== X-Received: by 2002:a65:6392:: with SMTP id h18mr14117649pgv.107.1544519599779; Tue, 11 Dec 2018 01:13:19 -0800 (PST) Received: from ubt.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id a90sm27202214pfj.109.2018.12.11.01.13.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Dec 2018 01:13:19 -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 V4 3/3] dt-bindings: sdhci-omap: Add example for using external dma Date: Tue, 11 Dec 2018 17:12:52 +0800 Message-Id: <1544519572-21921-4-git-send-email-zhang.chunyan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544519572-21921-1-git-send-email-zhang.chunyan@linaro.org> References: <1544519572-21921-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"; };