davinci: pass clock flags to davinci_psc_config()
authorSekhar Nori <nsekhar@ti.com>
Wed, 6 Jul 2011 06:01:21 +0000 (06:01 +0000)
committerSekhar Nori <nsekhar@ti.com>
Fri, 8 Jul 2011 05:21:40 +0000 (10:51 +0530)
commita51ca38b6330e463cc1a7adf64502ff735452915
tree26c708d7e6cdeea454af2d730e4dd57e46e6c774
parent8d54297b90831b6e87e62ad910f833b8666094c8
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>
arch/arm/mach-davinci/clock.c
arch/arm/mach-davinci/include/mach/psc.h
arch/arm/mach-davinci/psc.c