From: Geert Uytterhoeven <geert@linux-m68k.org>
To: linux-sh@vger.kernel.org
Subject: shdma: DM_FIX and SM_FIX?
Date: Wed, 04 Jun 2014 11:54:45 +0000 [thread overview]
Message-ID: <CAMuHMdVrP2FJiuS2qZsFFsGdB1pNBqobakLLdPR68wtznizOiA@mail.gmail.com> (raw)
It seems the current values for the Destination/Source Address Mode (SM/DM)
fields in the SHDMA DMA Channel Control Register:
#define DM_FIX 0x0000c000
#define SM_FIX 0x00003000
are not correct for all parts, according to the documentation.
While on sh7724, A1 (r8a7740), AG5 (sh73a0/r8a73a0), and APE6 (r8a73a4)
both the '00' and '11' bit combinations indicate a fixed destination or source
address, '11' is marked as "Setting Prohibited" on sh7750, sh7753, sh7760,
and R-Car Gen2.
I don't know about other parts.
RZ/A1H and R-Car Gen1 use different DMA controller blocks.
At least with QSPI on R-Car M2, '11' does seem to work, though.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
reply other threads:[~2014-06-04 11:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAMuHMdVrP2FJiuS2qZsFFsGdB1pNBqobakLLdPR68wtznizOiA@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=linux-sh@vger.kernel.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).