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: 10775083 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7430213B5 for ; Tue, 22 Jan 2019 08:47:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 596742A65F for ; Tue, 22 Jan 2019 08:47:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A8512A674; Tue, 22 Jan 2019 08:47:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBA402A65F for ; Tue, 22 Jan 2019 08:47:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727299AbfAVIrj (ORCPT ); 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-Google-Smtp-Source: ALg8bN7l5+531/BgcdJTR2yJsNro+gsXA+30SQF5G0/ZJqDs7GAnLlrTHhuHm5XJnKtzzYn2edqlTw== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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"; };