davinci: enable forced transitions on PSC
commitaad70de20fc69970a3080e7e8f02b54a4a3fe3e6
authorSekhar Nori <nsekhar@ti.com>
Wed, 6 Jul 2011 06:01:22 +0000 (6 06:01 +0000)
committerSekhar Nori <nsekhar@ti.com>
Fri, 8 Jul 2011 05:40:09 +0000 (8 11:10 +0530)
tree2b6564f263d1741d2824e7b8af2d22be6e4a23c8
parenta51ca38b6330e463cc1a7adf64502ff735452915
davinci: enable forced transitions on PSC

Some DaVinci modules like the SATA on DA850
need forced module state transitions.

Define a "force" flag which can be passed to
the PSC config function to enable it to make
forced transitions.

Forced transitions shouldn't normally be attempted,
unless the TRM explicitly specifies its usage.

ChangeLog:
v2:
Modified to take care of the fact that
davinci_psc_config() now takes the flags
directly.

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