]> git.baikalelectronics.ru Git - kernel.git/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)
commite7148425d7de16e782f0ad0180b91c0ada40cc69
treebb956a3946cf547d82edf854bdfc960126f31c4b
parent919d69297d53628137306b96588e9b3b6f153d05
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]