Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3767769imu; Sun, 11 Nov 2018 23:28:15 -0800 (PST) X-Google-Smtp-Source: AJdET5evy2sCNDMC/83UasjWXbwrH41eOi3a/aGTAgqI470Qjx4hFcQzgbke2ku3lyzwo16tCMpk X-Received: by 2002:a62:200b:: with SMTP id g11-v6mr329500pfg.38.1542007695364; Sun, 11 Nov 2018 23:28:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542007695; cv=none; d=google.com; s=arc-20160816; b=ojlufYakubYlbT2PF9x9NPW2obAOx/NYNGcAVYfbgvgDlgfXnfMumktOX8NTyY8aTI paEKtM4a5atv6cW5fOqlysyHZ3RalYUsW4zoabYhBqTPlQwMJvB2bfNEUJZpXQggtuSh cI1npilwVd8I84ABv5ozxYtOdn8kW1PAUkMHyW7qxh2bbWeRX4EG0daKGfewV22XB60W QzAPdLgVwZtBVK3bAECtWwUgPZuLlxbvRQf6CsOMtPiZB5C/ow7FOftZBg8Snyby2XRp lpYKFfYcV3bEL3U7G9zrf23WpsovIpwWn+1ych2PFtoaHj8WC2RMSGLQHsvJHBEaQuGV PL1A== 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=IbwS2a8jRbGwYRckMyGmiK9ND2jBmbyMXeVZwCao8Gn3niFb529YHNS9Uc6tkV+yCK KznPzUjsuliuhYaiJjOIoYHY4mPkg3QeYmLlM6IZAbqpgeKv4zF61iBwXTlHNXKte3Bz y46vzLQcEc95QZwx0/b8OYvZl/x8+o7sJrnp2CyRbmRdRfA3KgFyAPXRhVXcvg1g2IyS Qlkwc3nr9eoQwn/rUkc6eNU+rdF3+GK+jGuD5h54WndXBVNgeUs32yfQ8VZUERR1tdV8 PqE87FKvTicJ7Huju3BTsIRNzYsZOSm6/Gg6Usk0SF7EDhtB99J+zZxGhjxQpcRSBkTq UlcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XPHqYQNA; 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 a10-v6si16380357pfi.222.2018.11.11.23.28.00; Sun, 11 Nov 2018 23:28:15 -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=XPHqYQNA; 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 S1727182AbeKLRTD (ORCPT + 99 others); Mon, 12 Nov 2018 12:19:03 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:37765 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbeKLRTD (ORCPT ); Mon, 12 Nov 2018 12:19:03 -0500 Received: by mail-pl1-f194.google.com with SMTP id p6-v6so3904192pll.4 for ; Sun, 11 Nov 2018 23:27:05 -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=XPHqYQNA/2L4+Frh7XTpYi8XulKm9Sp3A4D8PAG7zBZ2t6JGhaVEv/Ihog2kllHFeq 94XQKruPk+8sOmwB1zpZsy8srBNgN2wT3shfvsXlwYh+/vvilT/0GppYVFDixnwOHBmO NuL9L/wNpXJoS82UWeyJijM2p+KbMvJtpshuU= 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=UkYcKNfHjyP6qbMl0K1fEulaPQbBnP85u5fb3oYwZxwdUFDtEFPW5KKmldDk31XxnZ T1v5KwNa/7ITQpCiVvDnbd24rUejudMApCD3QWMtrJh2nj53vAfjWMKd5WA4PsMMWua0 vwTBYHz7LhqjCWPIp06JQgGnZOTEXi5Rk9pjdnn/JFBuznfw2CchZSwQhBvubaXWuSeB 0JwMs/7awl9XWM6OXtEmYGU300x048ppOMYG4XBGYm//MALcepZ0O337/OYlyVYNG7bu 4R/qs3JTsa+HPzmkawD8ap6Q+7Im/vURADEpJvud/l3zMla6EwjPWBeaj7b7PIaSDHWM PW6A== X-Gm-Message-State: AGRZ1gIPGRMmgUCShmUBcdBnOJYvZxppZDNHCB7IPHSuqmQ+byIC3NAF /apcgd5MPWgW5WHgR33TI2aJyg== X-Received: by 2002:a17:902:d206:: with SMTP id t6mr3582020ply.193.1542007625118; Sun, 11 Nov 2018 23:27:05 -0800 (PST) Received: from ubt.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id w2-v6sm18668331pfn.89.2018.11.11.23.27.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Nov 2018 23:27:04 -0800 (PST) From: Chunyan Zhang To: Ulf Hansson , Adrian Hunter 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 v2 3/3] dt-bindings: sdhci-omap: Add example for using external dma Date: Mon, 12 Nov 2018 15:26:06 +0800 Message-Id: <1542007566-9449-4-git-send-email-zhang.chunyan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542007566-9449-1-git-send-email-zhang.chunyan@linaro.org> References: <1542007566-9449-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(+) 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"; }; -- 2.7.4