msm: pil-q6v5: Migrate to clock APIs
Rather than writing to clock controller registers directly, utilize
the clock driver and its recently-added support for LPASS and MSS
clocks needed by PIL.
Since clock hardware differences are hidden under the clock APIs,
clock control can be moved from pil-q6v5-lpass into the pil-q6v5
library and shared with other PIL drivers that will eventually use
it.
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Change-Id: I70d67d6abded93bcc5119e5bcec4c0211f157ac0
diff --git a/arch/arm/mach-msm/clock-copper.c b/arch/arm/mach-msm/clock-copper.c
index 03667d7..80403f8 100644
--- a/arch/arm/mach-msm/clock-copper.c
+++ b/arch/arm/mach-msm/clock-copper.c
@@ -4906,8 +4906,8 @@
CLK_LOOKUP("core_clk", mss_xo_q6_clk.c, ""),
CLK_LOOKUP("bus_clk", mss_bus_q6_clk.c, ""),
- CLK_LOOKUP("core_clk", q6ss_xo_clk.c, ""),
- CLK_LOOKUP("bus_clk", q6ss_ahb_lfabif_clk.c, ""),
+ CLK_LOOKUP("core_clk", q6ss_xo_clk.c, "pil-q6v5-lpass"),
+ CLK_LOOKUP("bus_clk", q6ss_ahb_lfabif_clk.c, "pil-q6v5-lpass"),
CLK_LOOKUP("mem_clk", gcc_boot_rom_ahb_clk.c, ""),
CLK_LOOKUP("bus_clk", gcc_mss_cfg_ahb_clk.c, ""),