[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130312160945.GX6209@beef>
Date: Tue, 12 Mar 2013 12:09:45 -0400
From: Matt Porter <mporter@...com>
To: Peter Korsgaard <jacmet@...site.dk>
Cc: Tony Lindgren <tony@...mide.com>, "Nori, Sekhar" <nsekhar@...com>,
Grant Likely <grant.likely@...retlab.ca>,
Rob Herring <rob.herring@...xeda.com>,
Vinod Koul <vinod.koul@...el.com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
"Cousson, Benoit" <b-cousson@...com>,
Russell King <linux@....linux.org.uk>,
Rob Landley <rob@...dley.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux DaVinci Kernel List
<davinci-linux-open-source@...ux.davincidsp.com>,
Arnd Bergmann <arnd@...db.de>,
Linux Documentation List <linux-doc@...r.kernel.org>,
Devicetree Discuss <devicetree-discuss@...ts.ozlabs.org>,
Linux MMC List <linux-mmc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux SPI Devel List
<spi-devel-general@...ts.sourceforge.net>,
Linux OMAP List <linux-omap@...r.kernel.org>,
Linux ARM Kernel List <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding
On Wed, Mar 06, 2013 at 08:24:06PM +0000, Peter Korsgaard wrote:
> >>>>> "Matt" == Matt Porter <mporter@...com> writes:
>
> Matt> The binding definition is based on the generic DMA controller
> Matt> binding.
>
> Matt> Signed-off-by: Matt Porter <mporter@...com>
> 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@...00000 {
> 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
On second thought, I'm not sure we're going to get any direction on this
one so let's just do what feels right and make it reflect common usage
like you suggested.
Thanks,
Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists