ARM: msm: Migrate to common clock framework
commit8cc7f5338e729b79194e6c22e3c794faaef974b8
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 17 Jun 2013 17:43:19 +0000 (17 10:43 -0700)
committerDavid Brown <davidb@codeaurora.org>
Mon, 24 Jun 2013 20:08:05 +0000 (24 13:08 -0700)
treed9fad83dcb3e260ad862907a80431ad70d51883e
parent421faca0b538d1ed5f2065cbbc6bbec38f49a54f
ARM: msm: Migrate to common clock framework

Move the existing clock code in mach-msm to the common clock
framework. We lose our capability to set the rate of and enable a
clock through debugfs. This is ok though because the debugfs
features are mainly used for testing and development of new clock
code.

To maintain compatibility with the original MSM clock code we
make a wrapper for clk_reset() that calls the struct msm_clk
specific reset function. This is necessary for the usb and sdcc
devices on MSM until a better suited API is made available.

Cc: Saravana Kannan <skannan@codeaurora.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/Kconfig
arch/arm/mach-msm/Makefile
arch/arm/mach-msm/clock-debug.c [deleted file]
arch/arm/mach-msm/clock-pcom.c
arch/arm/mach-msm/clock-pcom.h
arch/arm/mach-msm/clock.c
arch/arm/mach-msm/clock.h
arch/arm/mach-msm/devices-msm7x00.c
arch/arm/mach-msm/devices-msm7x30.c
arch/arm/mach-msm/devices-qsd8x50.c