From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755066Ab3AKRzI (ORCPT ); Fri, 11 Jan 2013 12:55:08 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:46155 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751775Ab3AKRzE (ORCPT ); Fri, 11 Jan 2013 12:55:04 -0500 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 50.131.214.131 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18jQkHcs/o/FBzQUXpNRqK+ Date: Fri, 11 Jan 2013 09:54:55 -0800 From: Tony Lindgren To: Matt Porter Cc: Sekhar Nori , Grant Likely , Mark Brown , Benoit Cousson , Russell King , Vinod Koul , Rob Landley , Chris Ball , Devicetree Discuss , Linux OMAP List , Linux ARM Kernel List , Linux DaVinci Kernel List , Linux Kernel Mailing List , Linux Documentation List , Linux MMC List , Linux SPI Devel List , Arnd Bergmann , Dan Williams , Rob Herring Subject: Re: [PATCH v4 10/14] mmc: omap_hsmmc: add generic DMA request support to the DT binding Message-ID: <20130111175454.GI14149@atomide.com> References: <1357883330-5364-1-git-send-email-mporter@ti.com> <1357883330-5364-11-git-send-email-mporter@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1357883330-5364-11-git-send-email-mporter@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Matt Porter [130110 21:47]: > The binding definition is based on the generic DMA request binding. Acked-by: Tony Lindgren > Signed-off-by: Matt Porter > --- > .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 25 +++++++++++++++++++- > 1 file changed, 24 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt > index ed271fc..826cc51 100644 > --- a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt > +++ b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt > @@ -20,8 +20,28 @@ ti,dual-volt: boolean, supports dual voltage cards > ti,non-removable: non-removable slot (like eMMC) > ti,needs-special-reset: Requires a special softreset sequence > ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed > +dmas: DMA controller phandle and DMA request value ordered pair > +One tx and one rx pair is required. > +dma-names: DMA request names. These strings correspond 1:1 with > +the ordered pairs in dmas. The RX request must be "rx" and the > +TX request must be "tx". > + > +Examples: > + > +[hwmod populated DMA resources] > + > + mmc1: mmc@0x4809c000 { > + compatible = "ti,omap4-hsmmc"; > + reg = <0x4809c000 0x400>; > + ti,hwmods = "mmc1"; > + ti,dual-volt; > + bus-width = <4>; > + vmmc-supply = <&vmmc>; /* phandle to regulator node */ > + ti,non-removable; > + }; > + > +[generic DMA request binding] > > -Example: > mmc1: mmc@0x4809c000 { > compatible = "ti,omap4-hsmmc"; > reg = <0x4809c000 0x400>; > @@ -30,4 +50,7 @@ Example: > bus-width = <4>; > vmmc-supply = <&vmmc>; /* phandle to regulator node */ > ti,non-removable; > + dmas = <&edma 24 > + &edma 25>; > + dma-names = "tx", "rx"; > }; > -- > 1.7.9.5 >