From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: shmobile: r8a7778: add HPB-DMAC support
Date: Fri, 19 Jul 2013 02:04:20 +0400 [thread overview]
Message-ID: <51E86664.1060509@cogentembedded.com> (raw)
In-Reply-To: <87d2r2j4uy.wl%kuninori.morimoto.gx@renesas.com>
Hello.
On 07/01/2013 08:12 AM, Kuninori Morimoto wrote:
>> From: Max Filippov <max.filippov@cogentembedded.com>
>> Add HPB-DMAC platform device on R8A7778 SoC along with its slave and channel
>> configurations.
>> Signed-off-by: Max Filippov <max.filippov@cogentembedded.com>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>> ---
> (snip)
>> +static const struct hpb_dmae_slave_config hpb_dmae_slaves[] = {
>> + {
>> + .id = HPBDMA_SLAVE_SDHI0_TX,
>> + .addr = 0xffe4c000 + 0x30,
>> + .dcr = DCR_SPDS_16BIT | DCR_DMDL | DCR_DPDS_16BIT,
>> + .rstr = ASYNCRSTR_ASRST21 | ASYNCRSTR_ASRST22 |
>> + ASYNCRSTR_ASRST23,
>> + .mdr = ASYNCMDR_ASMD21_SINGLE,
>> + .mdm = ASYNCMDR_ASMD21_MASK,
>> + .port = 0x0D0C,
>> + .flags = HPB_DMAE_SET_ASYNC_RESET | HPB_DMAE_SET_ASYNC_MODE,
>> + .dma_ch = 21,
>> + }, {
>> + .id = HPBDMA_SLAVE_SDHI0_RX,
>> + .addr = 0xffe4c000 + 0x30,
>> + .dcr = DCR_SMDL | DCR_SPDS_16BIT | DCR_DPDS_16BIT,
>> + .rstr = ASYNCRSTR_ASRST21 | ASYNCRSTR_ASRST22 |
>> + ASYNCRSTR_ASRST23,
>> + .mdr = ASYNCMDR_ASMD22_SINGLE,
>> + .mdm = ASYNCMDR_ASMD22_MASK,
>> + .port = 0x0D0C,
>> + .flags = HPB_DMAE_SET_ASYNC_RESET | HPB_DMAE_SET_ASYNC_MODE,
>> + .dma_ch = 22,
>> + }, {
>> + .id = HPBDMA_SLAVE_SSI0_TX_ST,
>> + .addr = 0xffd90000 + 0x1008,
>> + .dcr = DCR_CT | DCR_DIP | DCR_SPDS_32BIT | DCR_DMDL |
>> + DCR_DPDS_32BIT,
>> + .port = 0x0000,
>> + .dma_ch = 28,
>> + }, {
>> + .id = HPBDMA_SLAVE_SSI0_TX_MN,
>> + .addr = 0xffd90000 + 0x1008,
>> + .dcr = DCR_CT | DCR_DIP | DCR_SPDS_16BIT | DCR_DMDL |
>> + DCR_DPDS_16BIT,
>> + .port = 0x0000,
>> + .dma_ch = 28,
>> + }, {
>> + .id = HPBDMA_SLAVE_SSI1_RX_ST,
>> + .addr = 0xffd90000 + 0x104c,
>> + .dcr = DCR_CT | DCR_DIP | DCR_SMDL | DCR_SPDS_32BIT |
>> + DCR_DPDAM | DCR_DPDS_32BIT,
>> + .port = 0x0101,
>> + .dma_ch = 29,
>> + }, {
>> + .id = HPBDMA_SLAVE_SSI1_RX_MN,
>> + .addr = 0xffd90000 + 0x104c,
>> + .dcr = DCR_CT | DCR_DIP | DCR_SMDL | DCR_SPDS_16BIT |
>> + DCR_DPDAM | DCR_DPDS_16BIT,
>> + .port = 0x0101,
>> + .dma_ch = 29,
>> + },
>> +};
> How did you test SSI ?
> remove these
OK. The SSI stuff came from the original patch.
> Best regards
> ---
> Kuninori Morimoto
WBR, Sergei
next prev parent reply other threads:[~2013-07-18 22:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-29 22:43 [PATCH 0/3] R8A7778/BOCK-W: HPB-DMAC support for SDHI0 Sergei Shtylyov
2013-06-29 22:45 ` [PATCH 1/3] ARM: shmobile: use common platform header for HPB-DMAC Sergei Shtylyov
2013-07-01 4:11 ` Kuninori Morimoto
2013-07-01 12:11 ` Sergei Shtylyov
2013-07-18 21:56 ` Sergei Shtylyov
2013-07-02 4:59 ` Magnus Damm
2013-07-18 22:02 ` Sergei Shtylyov
2013-07-19 0:16 ` Kuninori Morimoto
2013-07-19 11:17 ` Sergei Shtylyov
2013-07-19 11:32 ` Sergei Shtylyov
2013-06-29 22:48 ` [PATCH 2/3] ARM: shmobile: r8a7778: add HPB-DMAC support Sergei Shtylyov
2013-07-01 4:12 ` Kuninori Morimoto
2013-07-18 22:04 ` Sergei Shtylyov [this message]
2013-06-29 22:50 ` [PATCH 3/3] ARM: shmobile: BOCK-W: enable DMA for SDHI0 Sergei Shtylyov
2013-07-01 1:30 ` [PATCH 0/3] R8A7778/BOCK-W: HPB-DMAC support " Simon Horman
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=51E86664.1060509@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).