* shdma: DM_FIX and SM_FIX?
@ 2014-06-04 11:54 Geert Uytterhoeven
0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2014-06-04 11:54 UTC (permalink / raw)
To: linux-sh
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-04 11:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 11:54 shdma: DM_FIX and SM_FIX? Geert Uytterhoeven
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).