From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Richard Genoud <richard.genoud@gmail.com>
Cc: Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Bo Shen <voice.shen@atmel.com>,
Lars-Peter Clausen <lars@metafoo.de>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
devicetree-discuss@lists.ozlabs.org
Subject: Re: [PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding
Date: Tue, 9 Jul 2013 15:20:38 +0200 [thread overview]
Message-ID: <51DC0E26.7080508@atmel.com> (raw)
In-Reply-To: <CACQ1gAg8WQTaz4XkXJCH+-bNU_U3s_1pgmQYoQR3v-KHOzzBTA@mail.gmail.com>
On 09/07/2013 15:19, Richard Genoud :
> 2013/7/9 Richard Genoud <richard.genoud@gmail.com>:
>> As atmel-ssc can be used with DMA, the documentation should be updated.
>> Also, a configuration DMA example is given.
>>
>> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
>> ---
>> .../devicetree/bindings/misc/atmel-ssc.txt | 24 ++++++++++++++++++--
>> 1 file changed, 22 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/misc/atmel-ssc.txt b/Documentation/devicetree/bindings/misc/atmel-ssc.txt
>> index 38e51ad..96958ca 100644
>> --- a/Documentation/devicetree/bindings/misc/atmel-ssc.txt
>> +++ b/Documentation/devicetree/bindings/misc/atmel-ssc.txt
>> @@ -6,10 +6,30 @@ Required properties:
>> - atmel,at91sam9g45-ssc: support dma transfer
>> - reg: Should contain SSC registers location and length
>> - interrupts: Should contain SSC interrupt
>> +For dma transfer:
>> +- dmas: DMA specifier, consisting of a phandle to DMA controller node,
>> + the memory interface and SSC DMA channel ID (for tx and rx).
>> + See Documentation/devicetree/bindings/dma/atmel-dma.txt for details.
>> +- dma-names: Must be "tx", "rx".
>>
>> -Example:
>> +
>> +Examples:
>> ssc0: ssc@fffbc000 {
>> compatible = "atmel,at91rm9200-ssc";
>> reg = <0xfffbc000 0x4000>;
>> - interrupts = <14 4 5>;
>> + interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
> maybe I should not use macro in the documentation (not sure if I should or not).
absolutely.
>> };
>> +
>> +
>> +ssc0: ssc@f0010000 {
>> + compatible = "atmel,at91sam9g45-ssc";
>> + reg = <0xf0010000 0x4000>;
>> + interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
>> + dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>,
>> + <&dma0 1 AT91_DMA_CFG_PER_ID(14)>;
> same here
>> + dma-names = "tx", "rx";
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
>> + status = "disabled";
>> +};
>> +
>> --
>> 1.7.10.4
>>
>
>
>
--
Nicolas Ferre
next prev parent reply other threads:[~2013-07-09 13:20 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-08 13:29 [PATCH v2 0/5] Sound support for at91sam9x5-wm8731 based boards Richard Genoud
2013-07-08 13:29 ` [PATCH v2 2/5] ARM: AT91: DTS: sam9x5: add SSC DMA parameters Richard Genoud
2013-07-08 15:07 ` Mark Brown
2013-07-09 8:27 ` Richard Genoud
2013-07-09 9:32 ` Mark Brown
2013-07-09 9:46 ` Richard Genoud
2013-07-08 13:29 ` [PATCH v2 3/5] ARM: AT91: DTS: sam9x5ek: add WM8731 codec Richard Genoud
[not found] ` <1373290193-25300-4-git-send-email-richard.genoud-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-07-08 14:36 ` [alsa-devel] " Mark Brown
[not found] ` <1373290193-25300-1-git-send-email-richard.genoud-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-07-08 13:29 ` [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards Richard Genoud
2013-07-08 14:39 ` [alsa-devel] " Lars-Peter Clausen
2013-07-09 7:37 ` Richard Genoud
2013-07-08 15:07 ` Mark Brown
2013-07-09 8:19 ` Richard Genoud
2013-07-09 8:37 ` Bo Shen
2013-07-09 9:29 ` Mark Brown
2013-07-09 10:27 ` Richard Genoud
2013-07-08 13:29 ` [PATCH v2 4/5] ARM: AT91: DTS: sam9x5ek: add sound configuration Richard Genoud
2013-07-08 13:29 ` [PATCH v2 5/5] ARM: AT91: DTS: sam9x5ek: enable SSC Richard Genoud
2013-07-08 13:53 ` [PATCH v2 0/5] Sound support for at91sam9x5-wm8731 based boards Nicolas Ferre
2013-07-09 12:28 ` [PATCH v3 0/7] " Richard Genoud
[not found] ` <1373372929-17800-1-git-send-email-richard.genoud-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-07-09 12:28 ` [PATCH v3 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards Richard Genoud
2013-07-09 12:28 ` [PATCH v3 2/7] Documentation: DT: add sam9x5ek-wm8731 machine driver Richard Genoud
2013-07-09 12:28 ` [PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding Richard Genoud
2013-07-09 13:19 ` Richard Genoud
2013-07-09 13:20 ` Nicolas Ferre [this message]
2013-07-09 13:31 ` Richard Genoud
2013-07-09 12:28 ` [PATCH v3 4/7] ARM: AT91: DTS: sam9x5: add SSC DMA parameters Richard Genoud
2013-07-09 12:28 ` [PATCH v3 5/7] ARM: AT91: DTS: sam9x5ek: add WM8731 codec Richard Genoud
2013-07-09 12:28 ` [PATCH v3 6/7] ARM: AT91: DTS: sam9x5ek: add sound configuration Richard Genoud
2013-07-09 12:28 ` [PATCH v3 7/7] ARM: AT91: DTS: sam9x5ek: enable SSC Richard Genoud
2013-07-09 14:25 ` [PATCH v4 0/7] Sound support for at91sam9x5-wm8731 based boards Richard Genoud
2013-07-09 14:25 ` [PATCH v4 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards Richard Genoud
2013-07-09 14:59 ` Mark Brown
2013-07-10 9:25 ` Richard Genoud
2013-07-10 10:00 ` Mark Brown
2013-07-10 6:11 ` Bo Shen
2013-07-10 9:30 ` Richard Genoud
2013-07-09 14:25 ` [PATCH v4 2/7] Documentation: DT: add sam9x5ek-wm8731 machine driver Richard Genoud
2013-07-09 15:01 ` Mark Brown
2013-07-10 9:32 ` Richard Genoud
[not found] ` <1373379933-32749-1-git-send-email-richard.genoud-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-07-09 14:25 ` [PATCH v4 3/7] Documentation: DT: update atmel SSC with DMA binding Richard Genoud
2013-07-09 15:05 ` Mark Brown
2013-07-10 9:48 ` Richard Genoud
2013-07-10 10:01 ` Mark Brown
2013-07-09 14:25 ` [PATCH v4 4/7] ARM: AT91: DTS: sam9x5: add SSC DMA parameters Richard Genoud
2013-07-09 14:25 ` [PATCH v4 5/7] ARM: AT91: DTS: sam9x5ek: add WM8731 codec Richard Genoud
2013-07-09 14:25 ` [PATCH v4 6/7] ARM: AT91: DTS: sam9x5ek: add sound configuration Richard Genoud
2013-07-09 14:25 ` [PATCH v4 7/7] ARM: AT91: DTS: sam9x5ek: enable SSC Richard Genoud
2013-07-09 14:42 ` [PATCH v4 0/7] Sound support for at91sam9x5-wm8731 based boards Mark Brown
2013-07-09 14:52 ` Richard Genoud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51DC0E26.7080508@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richard.genoud@gmail.com \
--cc=voice.shen@atmel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).