diff options
author | Sekhar Nori <nsekhar@ti.com> | 2011-07-06 06:01:21 +0000 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2011-07-08 10:51:40 +0530 |
commit | a51ca38b6330e463cc1a7adf64502ff735452915 (patch) | |
tree | 26c708d7e6cdeea454af2d730e4dd57e46e6c774 /arch/arm/mach-davinci/include/mach/psc.h | |
parent | 8d54297b90831b6e87e62ad910f833b8666094c8 (diff) | |
download | linux-stable-a51ca38b6330e463cc1a7adf64502ff735452915.tar.gz linux-stable-a51ca38b6330e463cc1a7adf64502ff735452915.tar.bz2 linux-stable-a51ca38b6330e463cc1a7adf64502ff735452915.zip |
davinci: pass clock flags to davinci_psc_config()
Enabling or disabling a PSC can take certain
modifiers like "disable with reset", "force
enable/disable" and "enable/disable with local
reset" apart from the regular clock gating
functionality.
Pass a flags argument to davinci_psc_config()
so these variations can be supported there.
At this time only "disable with reset" is
supported, but other functionality will be
added in subsequent patches.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/include/mach/psc.h b/arch/arm/mach-davinci/include/mach/psc.h index a47e6f29206e..215fcca6bbdc 100644 --- a/arch/arm/mach-davinci/include/mach/psc.h +++ b/arch/arm/mach-davinci/include/mach/psc.h @@ -249,7 +249,7 @@ extern int davinci_psc_is_clk_active(unsigned int ctlr, unsigned int id); extern void davinci_psc_config(unsigned int domain, unsigned int ctlr, - unsigned int id, u32 next_state); + unsigned int id, bool enable, u32 flags); #endif |