Rohit Vaswani | 0eafbe9 | 2012-06-21 15:21:24 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2011-2012, Code Aurora Forum. 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> |
| 15 | |
| 16 | #include <mach/clk.h> |
| 17 | |
Rohit Vaswani | 2f3bb87 | 2011-07-13 14:22:04 -0700 | [diff] [blame] | 18 | #include "clock.h" |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 19 | |
| 20 | /* |
| 21 | * Clocks |
| 22 | */ |
| 23 | |
Stephen Boyd | bb600ae | 2011-08-02 20:11:40 -0700 | [diff] [blame] | 24 | static struct clk_lookup msm_clocks_fsm9xxx[] = { |
Matt Wagantall | e1a8606 | 2011-08-18 17:46:10 -0700 | [diff] [blame] | 25 | CLK_DUMMY("core_clk", ADM0_CLK, "msm_dmov", OFF), |
Matt Wagantall | e252237 | 2011-08-17 14:52:21 -0700 | [diff] [blame] | 26 | CLK_DUMMY("core_clk", UART1_CLK, "msm_serial.0", OFF), |
Rohit Vaswani | 0eafbe9 | 2012-06-21 15:21:24 -0700 | [diff] [blame] | 27 | CLK_DUMMY("core_clk", UART3_CLK, "msm_uim.2", OFF), |
Matt Wagantall | c4b3a4d | 2011-08-17 16:58:39 -0700 | [diff] [blame] | 28 | CLK_DUMMY("core_clk", CE_CLK, "qce.0", OFF), |
Matt Wagantall | d727efc | 2011-09-13 14:17:03 -0700 | [diff] [blame] | 29 | CLK_DUMMY("core_clk", CE_CLK, "qcota.0", OFF), |
| 30 | CLK_DUMMY("core_clk", CE_CLK, "qcrypto.0", OFF), |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 31 | }; |
| 32 | |
Stephen Boyd | bb600ae | 2011-08-02 20:11:40 -0700 | [diff] [blame] | 33 | struct clock_init_data fsm9xxx_clock_init_data __initdata = { |
| 34 | .table = msm_clocks_fsm9xxx, |
| 35 | .size = ARRAY_SIZE(msm_clocks_fsm9xxx), |
| 36 | }; |