diff options
author | Sekhar Nori <nsekhar@ti.com> | 2011-07-06 06:01:22 (GMT) |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2011-07-08 05:40:09 (GMT) |
commit | aad70de20fc69970a3080e7e8f02b54a4a3fe3e6 (patch) | |
tree | 2b6564f263d1741d2824e7b8af2d22be6e4a23c8 /arch/arm/mach-davinci/include/mach/psc.h | |
parent | a51ca38b6330e463cc1a7adf64502ff735452915 (diff) | |
download | linux-aad70de20fc69970a3080e7e8f02b54a4a3fe3e6.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/psc.h')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/psc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/psc.h b/arch/arm/mach-davinci/include/mach/psc.h index 215fcca..6213f0d 100644 --- a/arch/arm/mach-davinci/include/mach/psc.h +++ b/arch/arm/mach-davinci/include/mach/psc.h @@ -244,6 +244,7 @@ #define PSC_STATE_ENABLE 3 #define MDSTAT_STATE_MASK 0x1f +#define MDCTL_FORCE BIT(31) #ifndef __ASSEMBLER__ |