From patchwork Fri Jan 11 11:08:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Faiz Abbas X-Patchwork-Id: 155325 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp440424jaa; Fri, 11 Jan 2019 03:07:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN7yROOfmjnKGFnCqTI1omxdn/OjPse1lV15HFR7KXCtn0hfEoDOdQWScgWjBWvuweRDNjgK X-Received: by 2002:a63:e051:: with SMTP id n17mr2849985pgj.258.1547204845170; Fri, 11 Jan 2019 03:07:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547204845; cv=none; d=google.com; s=arc-20160816; b=XXzi9Ob6cOXto1j+Sdm2It8qGBkGPEFUWW4Ppe+VZ48Xut3ZD5CzVhQ5yIsyTCloYP 5cyqHpu2qvv/JAT5odhHS5jUvGIe6C+4Bzyn0VG9QC2BzUS9a9YP90cT2DL36ufdhfKa IW6QwstZt1NNNnfw/v6GrVcLHoOyD9MZ0tjC1cvZe5KLprsal6o/SMTKuyqtoJtRYAvh iwy1ZwDnZZCq0ybDggx5ONALKNhC2xzK7vUYKYhRPFNVH2XZYaIGpzNpPTQn1JVB9li4 uN9bO3J4mjGjsbi7bLf3QmzDBnFh+MCcZa90Z1e/+1j9fLFEt5M1SbARQVnta5JapIjC h0VA== 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=YTo3voibGy5HyChSFJUNOuU9YPF7bAJb1qnXlL8qsKw=; b=AjTY/jd0wcQou+SXu2A7bwiTXsgAj1xkQ+iATd7O6vULww4aFgTZjwWDHHK31yf5hG DWxRimuNEwhxAkP17LDDjTwFmFiAhhKZB+UJj8Ep9MbDxae6FkVwkGgiMCR1iUHRX7ab w+PiMA9XcxJzboOLQeWFEuCJZ1C8cJEbfxmjUTuPwOm/yq2nj0BCvkoBaPBPrjUqiPqk yHg4qMacpSnQ7Wpvvcz21e8QqdKDjc7TMddczTtFwde6NehNIvucUE797OHqL7dVNqXX UhYfGEp7IBdjNq/vC/v89ZsnqqOn6jjalz9SDD4/VcU3iy/XSguf/s044NLaPGkn/gQs z6vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JL6eU4dq; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 m1si77319837pfi.286.2019.01.11.03.07.24; Fri, 11 Jan 2019 03:07:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=JL6eU4dq; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1729159AbfAKLHU (ORCPT + 7 others); Fri, 11 Jan 2019 06:07:20 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:35816 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731484AbfAKLGV (ORCPT ); Fri, 11 Jan 2019 06:06:21 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0BB6Csh084798; Fri, 11 Jan 2019 05:06:12 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547204772; bh=YTo3voibGy5HyChSFJUNOuU9YPF7bAJb1qnXlL8qsKw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JL6eU4dqznoHgTPL4UEVWrxk4iLj5uVSYz27H9pBhEjFdGlvWeJwQuWlmzHUqoMjQ 89Ir4pC09G7V311XZnnqFMFsZz/lNyPySmFXhaVz5UbO+YVzqbnBzqL56DZ9SFNWGw vRLTh2US1tKqjrHHqf2+UNXVd53GwzLGZXB+IoFo= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0BB6C2b086432 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Jan 2019 05:06:12 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 11 Jan 2019 05:06:12 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 11 Jan 2019 05:06:12 -0600 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0BB5xEt024503; Fri, 11 Jan 2019 05:06:09 -0600 From: Faiz Abbas To: , , CC: , , , , , , Subject: [PATCH 3/7] dt-bindings: sdhci-omap: Add example for using external dma Date: Fri, 11 Jan 2019 16:38:47 +0530 Message-ID: <20190111110851.6805-4-faiz_abbas@ti.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190111110851.6805-1-faiz_abbas@ti.com> References: <20190111110851.6805-1-faiz_abbas@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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. Signed-off-by: Chunyan Zhang Signed-off-by: Faiz Abbas --- Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.19.2 diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt index 72c4dec7e1db..f8914a2a2aec 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 "rx" + and "tx" for RX and TX 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"; };