[PATCH 12/12] ARM: msm: Migrate to common clock framework
Stephen Boyd
sboyd at codeaurora.org
Wed Jun 12 12:54:57 EDT 2013
On 06/11/13 15:28, Mike Turquette wrote:
> Quoting Stephen Boyd (2013-06-04 12:25:38)
>> 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 at codeaurora.org>
>> Cc: Mike Turquette <mturquette at linaro.org>
>> Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
> I just went through this quickly and nothing popped out at me. Nice
> diffstat btw! Do you have any plans to move this to drivers/clk/msm ?
>
> Acked-by: Mike Turquette <mturquette at linaro.org>
Thanks Mike.
I plan to add mmio support under drivers/clk/msm. Moving this proc_comm
based code to drivers/clk/msm is possible but it would need to depend on
the 3 architectures that use it so that it isn't available or compiled
on our DT based platforms. We can do that later I suppose.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the linux-arm-kernel
mailing list