Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754771Ab3CFUbZ (ORCPT ); Wed, 6 Mar 2013 15:31:25 -0500 Received: from mail-ia0-f180.google.com ([209.85.210.180]:35765 "EHLO mail-ia0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752809Ab3CFUbX (ORCPT ); Wed, 6 Mar 2013 15:31:23 -0500 Date: Wed, 6 Mar 2013 15:31:52 -0500 From: Matt Porter To: Peter Korsgaard Cc: Tony Lindgren , "Nori, Sekhar" , Grant Likely , Rob Herring , Vinod Koul , Mark Brown , "Cousson, Benoit" , Russell King , Rob Landley , Andrew Morton , Linux DaVinci Kernel List , Arnd Bergmann , Linux Documentation List , Devicetree Discuss , Linux MMC List , Linux Kernel Mailing List , Linux SPI Devel List , Linux OMAP List , Linux ARM Kernel List Subject: Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding Message-ID: <20130306203152.GO6209@beef> References: <1362586540-10393-1-git-send-email-mporter@ti.com> <1362586540-10393-6-git-send-email-mporter@ti.com> <90c29a73df9e495f907517c49dd45b88@DFLE72.ent.ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <90c29a73df9e495f907517c49dd45b88@DFLE72.ent.ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2200 Lines: 55 On Wed, Mar 06, 2013 at 08:24:06PM +0000, Peter Korsgaard wrote: > >>>>> "Matt" == Matt Porter writes: > > Matt> The binding definition is based on the generic DMA controller > Matt> binding. > > Matt> Signed-off-by: Matt Porter > Matt> --- > Matt> Documentation/devicetree/bindings/dma/ti-edma.txt | 49 +++++++++++++++++++++ > Matt> 1 file changed, 49 insertions(+) > Matt> create mode 100644 Documentation/devicetree/bindings/dma/ti-edma.txt > > Matt> diff --git a/Documentation/devicetree/bindings/dma/ti-edma.txt b/Documentation/devicetree/bindings/dma/ti-edma.txt > Matt> new file mode 100644 > Matt> index 0000000..075a60e3 > Matt> --- /dev/null > Matt> +++ b/Documentation/devicetree/bindings/dma/ti-edma.txt > Matt> @@ -0,0 +1,49 @@ > Matt> +TI EDMA > Matt> + > Matt> +Required properties: > Matt> +- compatible : "ti,edma3" > Matt> +- ti,hwmods: Name of the hwmods associated to the EDMA > Matt> +- ti,edma-regions: Number of regions > Matt> +- ti,edma-slots: Number of slots > Matt> +- ti,edma-queue-tc-map: List of transfer control to queue mappings > Matt> +- ti,edma-queue-priority-map: List of queue priority mappings > Matt> +- ti,edma-default-queue: Default queue value > Matt> + > Matt> +Optional properties: > Matt> +- ti,edma-reserved-channels: List of reserved channel regions > Matt> +- ti,edma-reserved-slots: List of reserved slot regions > Matt> +- ti,edma-xbar-event-map: Crossbar event to channel map > Matt> + > Matt> +Example: > Matt> + > Matt> +edma: edma@49000000 { > Matt> + reg = <0x49000000 0x10000>; > Matt> + interrupt-parent = <&intc>; > Matt> + interrupts = <12 13 14>; > > Probably interrupt-parent should be removed from the example as well to > match am33xx.dtsi I'm not sure what the DT maintainers want here. Full context within the example or the actual real usage where it's typically inherited. Grant or Rob, any thoughts? -Matt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/