]> Pileus Git - ~andy/linux/commit
C6X: DSCR - Device State Configuration Registers
authorMark Salter <msalter@redhat.com>
Tue, 4 Oct 2011 15:20:28 +0000 (11:20 -0400)
committerMark Salter <msalter@redhat.com>
Thu, 6 Oct 2011 23:48:36 +0000 (19:48 -0400)
commit9de98fb4ec4c91597feedc521120c16fca54a5b6
treebb956a3946cf547d82edf854bdfc960126f31c4b
parent6bbfd8975cf3b78aadd1513a25bf7b5c04866a6f
C6X: DSCR - Device State Configuration Registers

All SoCs provide an area of device configuration registers called the DSCR. The
location of specific registers as well as their use varies considerably from
implementation to implementation. Rather than having to rely on additional
SoC-specific DSCR code for each new supported SoC, this code generalize things
as much as possible using device tree properties. Initialization must take
place early on (setup_arch time) in case the event timer device needs to be
enable via the DSCR.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/c6x/include/asm/dscr.h [new file with mode: 0644]
arch/c6x/platforms/dscr.c [new file with mode: 0644]