davinci: make it possible to include clock.h and psc.h in assembly code
authorSekhar Nori <nsekhar@ti.com>
Mon, 16 Nov 2009 11:51:36 +0000 (17:21 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 4 Feb 2010 21:29:37 +0000 (13:29 -0800)
commite2da3aaa4254d9e79d9524190fc7e5f0cbdc3c33
tree42d3637d038179ef69056713482bf4186d12c8a1
parentc94fa15ba2d736af786ac1e56686d41987b1aba0
davinci: make it possible to include clock.h and psc.h in assembly code

psc.h contains register defines for PSC module which
need to be accessed in assembly code which helps the
DA850/OMAP-L138 SoC go to sleep. Shutting down DDR clock
using PSC is a part of the sleep procedure.

Also, the PLL related hardware definitions in clock.h are
needed in assembly code to bypass the DDR2 PLL.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/clock.h
arch/arm/mach-davinci/include/mach/psc.h