History log of /arch/blackfin/kernel/debug-mmrs.c
Revision Date Author Comments
45126da22452ac3d4685401a1e921a39ac0ff2f6 28-Jan-2014 Sonic Zhang <sonic.zhang@analog.com> i2c: bfin-twi: move bits macros and structs in header from arch include to generic include

The ADI TWI peripheral is not binding to the Blackfin processor only.
The bits macros and structs should be put in the generic include header.
And update head file path in drivers accordingly.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
b5affb0147cee0ea05d909396f8e389092729236 16-May-2012 Bob Liu <lliubbo@gmail.com> blackfin: add bf60x to current framework

This patch added bf60x to current blackfin kernel framework.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
0a7e5413ca17b59d09badc49b3be92e44c47247d 26-Jun-2011 Mike Frysinger <vapier@gentoo.org> Blackfin: debug-mmrs: generalize pint logic

Don't bind the code to specific CPU defines.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
b69c920cb11dde488239e6a4ea7f668983d628ac 26-Jun-2011 Mike Frysinger <vapier@gentoo.org> Blackfin: bf54x: tweak MMR pint names

The hardware block uses the name "request" rather than "irq", so update
the struct accordingly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
af459864b363ff1b1567741d52f5334ceb10d829 15-Jun-2011 Mike Frysinger <vapier@gentoo.org> Blackfin: debug-mmrs: use new gptimer_group layout to simplify code

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
94674b15df4fdb111aeb2b07e67a818db5faa3c3 17-Jun-2011 Mike Frysinger <vapier@gentoo.org> Blackfin: debug-mmrs: prevent macro arg from expanding

Passing a non-simple expression in as the addr arg could incorrectly
apply the pointer cast resulting in misbehavior. Add proper paren.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
e14062563cd5702c656fc9bee14165564341be2b 08-Jun-2011 Mike Frysinger <vapier@gentoo.org> Blackfin: debug-mmrs: disable PERIPHERAL_MAP for IMDMA channels

The documentation for the IMDMA channels appears to be incorrect.
These DMA blocks don't actually have PERIPHERAL_MAP MMRs for us
to access. Attempts to do so lead to system mmr hardware errors.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ef0531b2e41fd2a0d0ba3ff3cb775947784cc278 08-Jun-2011 Mike Frysinger <vapier@gentoo.org> Blackfin: debug-mmrs: fix typo in single dmac setup

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
c320afe965bf3f857249d223801d8f2fc95615c2 27-May-2011 Mike Frysinger <vapier@gentoo.org> Blackfin: debug-mmrs: include RSI_PID[4567] MMRs

The documentation is a little iffy as to whether these are actual MMRs,
but reading them on the hardware works, and the previous version of this
logic (the SDH) had PID[4567]. So add it for RSI too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
d09fb602030e3247c21452ee2b3229baf115f71f 26-May-2011 Mike Frysinger <vapier@gentoo.org> Blackfin: debug-mmrs: fix typos with gptimers/mdma/ppi

This code was mostly developed against a BF54x, so some BF537-specific
issues were missed.

The PPI block starts at PPI_CONTROL, not PPI_STATUS (which is the reverse
of the EPPI block).

The MDMA block starts at MDMA_NEXT_DESC_PTR, not MDMA_CONFIG. Seems the
sim does not catch misreads here so that'll need to get fixed.

The gptimer block is mostly 32bit regs, not 16bit. Use the gptimer struct
to figure that out rather than hardcoding it locally.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
73ecfcf9088672220f7ca98811b2d05339c4f14c 25-Sep-2007 Mike Frysinger <vapier@gentoo.org> Blackfin: first pass at debug mmr support

Signed-off-by: Mike Frysinger <vapier@gentoo.org>