From patchwork Tue Jan 22 08:47:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunyan Zhang X-Patchwork-Id: 156289 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp7316667jaa; Tue, 22 Jan 2019 00:47:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN6H18pXhmwEB2I0oYluNQqcqrjlm1YGSq/qyy5mfsi4mkBR2n+qUOHDbQHpnAifXSEmMhZB X-Received: by 2002:a17:902:6113:: with SMTP id t19mr32373415plj.248.1548146860246; Tue, 22 Jan 2019 00:47:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548146860; cv=none; d=google.com; s=arc-20160816; b=SI5QItI8MToj976e5KVO6rOn+fM5Rmv+bGoEiWm/wgxq6Wu2sjFJqWcJGptQEvobFg bPeJUvuN+ifAIjmwhJed/SMeuZ9jEUIlzyzJlmmgcUXFS9BZwXJNQcgYy3OPKC4fDoix 89e1Al3Q2qX++D1M2D2us7cI4j+toDukjK0sRTLJukwTN/VRsy+2F41s2QcI7Hrjhcac 7DaKWCqsZ+Lx7C22pQMn015zgvVkeOySZbozsN9MameRcEWk9DzqLwD6X6Qhk2ftM/Ig pEonJz+AxWFmHkAzmbYUO3zsZ4XA2hEiNXrIULsnAoAYPiVyQyN1S2JVLoGrXg+xAM4j UVvQ== 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=iqSfxFIJf8+REimT2g05eRx+fSmVQJywEXO+ftuEp3Y=; b=RRgSuSA8xZ7EHJgWqh7+Yutfp4Ozr22MsE1QUiLFT0UFaMNqVlSNkDHGDVJwssznKt sDLtfBu1YChqil2UGvPv+Dv206Hp1yrPt3IaJLS/IC6Rzn4hMi4VNm/7l8Wruf6onV3u bK2d2yb+/6iBL6xttXMrs+jrxj3iJjR+CLxszo2ozmL5Do6MPxuZavfDTdP6M+nstbO1 3AdwLFcLxj7c2NDVuUs5XyT48RHalgMIKMZaYViC1HoAh0THKzRFHjOkfWcIvn2WZM9s FONF7FAnPSPrNAgkjOIDmtK4SQiowqj+gpFkb5CvRWUTLhkvEiq2/FmNGbnK8Apr0wVe Tmgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=flU6YnWo; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-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 g20si14865065pgh.241.2019.01.22.00.47.39; Tue, 22 Jan 2019 00:47:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-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=flU6YnWo; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-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 S1727299AbfAVIrj (ORCPT + 5 others); Tue, 22 Jan 2019 03:47:39 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40686 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727171AbfAVIrj (ORCPT ); Tue, 22 Jan 2019 03:47:39 -0500 Received: by mail-pg1-f195.google.com with SMTP id z10so10740812pgp.7 for ; Tue, 22 Jan 2019 00:47:38 -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=iqSfxFIJf8+REimT2g05eRx+fSmVQJywEXO+ftuEp3Y=; b=flU6YnWoqIRu4K0LO6pUn8kWAe5SavCsrJR7VU4sH0ZGAH+tO6j55c4LxPPOtv9qqy /yfnH+Rs8D7bnY4Ynqgg/KQ7rsAp96TL5/rxwPn9CkIiwQO/6C7wMZ+nnrkTosw1+7jy 3dq9b/jdDFec7dbESwB/IrFylv9hjxjhunCAU= 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=iqSfxFIJf8+REimT2g05eRx+fSmVQJywEXO+ftuEp3Y=; b=EOa8Z52LDauiDMIND5+LOBV90Zy0hAw5LIFkqXEBFI2oL+jq99CGfG46+457UoGl8K Oq/3jPIA/Y43gR9nYNQUE7DUI4/mNcBVkzsIkaXDYMc+k8Dybo33LE6DCw5BBhj37eSE Fs0IbQ49RhTvq/fWbv1MfinjiLQEPian94RcrX2FEMxjYH1GphIhZqpM8ugSs5S5igZN OdTJo34sDOc/qHN7Si4luB8HR//PP6OvxRC6yZZiy26XkqIelBou7ru8aD675plSLSq0 MHVBgRdpt/cjIOnHmDCdz4unrHvC5ORqAwv4zf6eWFmDyAc1rQ/W9r2NPfKCyb8XhIOE MySQ== X-Gm-Message-State: AJcUukc6uBNu6YLe4PHJ/V/sp/eiPDIV7HDgKBF/iprd2y3oEmlLPvl7 BX2bADTKoQMueEonqDUgznduuw== X-Received: by 2002:a62:1c0a:: with SMTP id c10mr32632105pfc.213.1548146858017; Tue, 22 Jan 2019 00:47:38 -0800 (PST) Received: from ubt.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id d18sm21045683pfj.47.2019.01.22.00.47.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jan 2019 00:47:37 -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] dt-bindings: sdhci-omap: Add properties for using external dma Date: Tue, 22 Jan 2019 16:47:06 +0800 Message-Id: <20190122084706.11522-1-zhang.chunyan@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190121232057.GA30919@bogus> References: <20190121232057.GA30919@bogus> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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 Signed-off-by: Faiz Abbas --- Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt index 72c4dec7e1db..4485dbceb373 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt @@ -14,6 +14,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 "tx" + and "rx" for TX and RX DMA requests, respectively. Example: mmc1: mmc@4809c000 { @@ -22,4 +27,6 @@ Example: ti,hwmods = "mmc1"; bus-width = <4>; vmmc-supply = <&vmmc>; /* phandle to regulator node */ + dmas = <&sdma 61 &sdma 62>; + dma-names = "tx", "rx"; };