Duy Truong | 790f06d | 2013-02-13 16:38:12 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | * |
| 12 | */ |
| 13 | #include <linux/kernel.h> |
| 14 | #include <linux/clk.h> |
Matt Wagantall | 33d01f5 | 2012-02-23 23:27:44 -0800 | [diff] [blame] | 15 | #include <mach/clk-provider.h> |
Rohit Vaswani | 2f3bb87 | 2011-07-13 14:22:04 -0700 | [diff] [blame] | 16 | #include "clock.h" |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 17 | |
| 18 | /* |
| 19 | * Clocks |
| 20 | */ |
| 21 | |
Stephen Boyd | bb600ae | 2011-08-02 20:11:40 -0700 | [diff] [blame] | 22 | static struct clk_lookup msm_clocks_fsm9xxx[] = { |
Matt Wagantall | e1a8606 | 2011-08-18 17:46:10 -0700 | [diff] [blame] | 23 | CLK_DUMMY("core_clk", ADM0_CLK, "msm_dmov", OFF), |
Matt Wagantall | e252237 | 2011-08-17 14:52:21 -0700 | [diff] [blame] | 24 | CLK_DUMMY("core_clk", UART1_CLK, "msm_serial.0", OFF), |
Rohit Vaswani | 0eafbe9 | 2012-06-21 15:21:24 -0700 | [diff] [blame] | 25 | CLK_DUMMY("core_clk", UART3_CLK, "msm_uim.2", OFF), |
Matt Wagantall | c4b3a4d | 2011-08-17 16:58:39 -0700 | [diff] [blame] | 26 | CLK_DUMMY("core_clk", CE_CLK, "qce.0", OFF), |
Matt Wagantall | d727efc | 2011-09-13 14:17:03 -0700 | [diff] [blame] | 27 | CLK_DUMMY("core_clk", CE_CLK, "qcota.0", OFF), |
| 28 | CLK_DUMMY("core_clk", CE_CLK, "qcrypto.0", OFF), |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 29 | }; |
| 30 | |
Stephen Boyd | bb600ae | 2011-08-02 20:11:40 -0700 | [diff] [blame] | 31 | struct clock_init_data fsm9xxx_clock_init_data __initdata = { |
| 32 | .table = msm_clocks_fsm9xxx, |
| 33 | .size = ARRAY_SIZE(msm_clocks_fsm9xxx), |
| 34 | }; |