ARM: 6703/1: SPEAr: update clk API support
authorviresh kumar <viresh.kumar@st.com>
Wed, 16 Feb 2011 06:40:39 +0000 (07:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Mar 2011 09:49:45 +0000 (09:49 +0000)
commitaf89fd812b00a52c54a3b9b2290fae4d31c7be9a
tree3892de4165b23e98424f672c23b7a6d456ad235d
parentcf285434ac0880f94bf4afdd90b06a4655f56570
ARM: 6703/1: SPEAr: update clk API support

- Add support for divisor per parent clock
- Add ENABLED_ON_INIT feature in clk
- Add clk_set_rate(), round_rate_index & clk_round_rate()
- Simplify clk_recalc functions
- Add/update clock definitions

Reviewed-by: Stanley Miao <stanley.miao@windriver.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: shiraz hashim <shiraz.hashim@st.com>
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-spear3xx/clock.c
arch/arm/mach-spear3xx/include/mach/misc_regs.h
arch/arm/mach-spear6xx/clock.c
arch/arm/mach-spear6xx/include/mach/misc_regs.h
arch/arm/plat-spear/clock.c
arch/arm/plat-spear/include/plat/clock.h