Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5184673ybl; Tue, 10 Dec 2019 01:51:36 -0800 (PST) X-Google-Smtp-Source: APXvYqzc9Fg30J0QS3Rvth6d8hMMPmuMNjwwMpPfxIYNq8KP29UHqGO7KUXnhPBZJxd0UnR7SElU X-Received: by 2002:aca:de03:: with SMTP id v3mr3319369oig.162.1575971496183; Tue, 10 Dec 2019 01:51:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575971496; cv=none; d=google.com; s=arc-20160816; b=s8EpzO8VRGqEtiUGq/7hHoVCnxTVBVk5096U1Zyvg6Mp8//HhnKS8xjESe0w6QpvAA imZpoeJMvBJtVYs8Iu30Es3kSbKuCl/WWcLsWYXI0bkBjjzWfR5ZeNrpJ+Az7nlELHT5 nIvfGDT5XP6N29021u7pEIvLERX+p6N/3DHYW3MWIXda4607IzfMyri6SyCjKtYtz1gh st6GXDlOvOvXwKSnaaqi+tSzxUpv23zE51XcCMNPYn9kc7KoKtR80an9Wt1ktxUrnXSW c6dAbdZpIZWbjuuSmAdW/7tthnOvGHnV2QrM3owBLETMikxG/Rg+Tzg4LrSiAKVIMWJy aZkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WGcG0Yg+sL2imOHoZX7VObLUIlc0zzVm+p1wxb1YIN0=; b=DXimnAvQ3fG151WmecrVGb9wFt9NAYxhsXhPH/9dimC3+c/pS+zILq3wlPhFji+H19 gKXgmWvIG65uW2jkmOM+EZ9BBC2Il5qGnOtXh447ZEaqsR0J4tDRpaLqDOgTZt/4pd8I GwD71OECPz6CP3KZmjw5UHBZHiS62rjikejCkU5eMcCNvgDtoxHiOPRxW6FqUgsXV7SN 7Ns4WcMHBeQpPtXpLd2mhyrpTLCNWiNrVRHYOPF7zZXIDHCVrVhs6j4d7cARH8CaDbBx jiZn72Fq7XTjt2a5f5OHUIX8s3WTsgP3h/KQ3hV4SJbyu7cAl73kJdQG5pvnCP5GzMdI ee3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TdsjAbQe; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si1676530oic.153.2019.12.10.01.51.23; Tue, 10 Dec 2019 01:51:36 -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=@ti.com header.s=ti-com-17Q1 header.b=TdsjAbQe; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727298AbfLJJux (ORCPT + 99 others); Tue, 10 Dec 2019 04:50:53 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:33566 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726574AbfLJJuw (ORCPT ); Tue, 10 Dec 2019 04:50:52 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBA9og2B034864; Tue, 10 Dec 2019 03:50:42 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1575971442; bh=WGcG0Yg+sL2imOHoZX7VObLUIlc0zzVm+p1wxb1YIN0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TdsjAbQeX3orhQbDgowN8vmZdyOzsPJ623YSeCy4Myk6TDorWkNKJqzguUcRLfoOI aO1ppSJGgmsCKxNysJcohc6SaDGWAwpRIacQTRqkGPXIDJUr2zoaIvukDRDOmhmLOV SCs0vgxLR7eT13lQO2+mYvMcD6HPBLkNClMtCgW8= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBA9og3d018208 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 Dec 2019 03:50:42 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 10 Dec 2019 03:50:42 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Tue, 10 Dec 2019 03:50:42 -0600 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBA9oZVk048503; Tue, 10 Dec 2019 03:50:39 -0600 From: Faiz Abbas To: , , CC: , , , , , , Subject: [PATCH v3 1/7] dt-bindings: sdhci-omap: Add properties for using external dma Date: Tue, 10 Dec 2019 15:21:45 +0530 Message-ID: <20191210095151.15441-2-faiz_abbas@ti.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20191210095151.15441-1-faiz_abbas@ti.com> References: <20191210095151.15441-1-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chunyan Zhang sdhci-omap can support both external dma controller via dmaengine framework as well as ADMA which standard SD host controller provides. Add binding documentation for these external dma properties. Signed-off-by: Chunyan Zhang Signed-off-by: Faiz Abbas --- Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt index 72c4dec7e1db..97efb01617dd 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt @@ -15,6 +15,13 @@ Required properties: "hs200_1_8v", - pinctrl- : Pinctrl states as described in bindings/pinctrl/pinctrl-bindings.txt +Optional properties: +- 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 { compatible = "ti,dra7-sdhci"; @@ -22,4 +29,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.19.2