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: 10711181 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 0029C1057 for ; Tue, 4 Dec 2018 07:24:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCB2B2B072 for ; Tue, 4 Dec 2018 07:24:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CCDE52B135; Tue, 4 Dec 2018 07:24:57 +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 7ADF42B072 for ; Tue, 4 Dec 2018 07:24:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726108AbeLDHYv (ORCPT ); Tue, 4 Dec 2018 02:24:51 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:34806 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbeLDHYu (ORCPT ); Tue, 4 Dec 2018 02:24:50 -0500 Received: by mail-pf1-f193.google.com with SMTP id h3so7779956pfg.1 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=ODjgL7+fU/gdwN/wdXMUbpqlYh/hJJUWCpDNEa8dJKT2pPytDkymI3+PyrxgO6KTOB F2ijnJyMoCwTiXBrugfj3AdJv2TT9o+u4Hznj/tVOlQ7+h7RwJ3bAOHJV8Yrrm4lsjSv hiRUIPduagf6JkQRW8oAIOZSjaeiX00jBsF3PCxGP6ITPp1hkwANUuWoW9E9UDbUxr76 4Aocpv36HTf8j5OnVbJY60vsijgKYHZB8UWVGCv54wo0Xjym9WvbVQT3efzV1MkAkvVr HAUnWvvrjBAibLS5icBCon9ZVLcpKfz5aUUczADaIQK9uQaqV1r2PdUbZ4spOFojP/yA qttg== X-Gm-Message-State: AA+aEWYcNExmWNoxmfevYhPNFs2HU4Fo2zwcUA/bUHuNpKfmXJSoIBtx YTvzGDrhxFQ4SIcVVKdx7u55Bw== X-Google-Smtp-Source: AFSGD/UzvyBLHSOZg2yhAsD39/R5xgUP9v0cCSVEnAxu7wgXkuSSf1TpE25U+rwshDDfSlgVdr/XQw== 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-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 --- 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"; };