| Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame^] | 1 | /* Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 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 | |
| 18 | #include "clock-local.h" |
| 19 | |
| 20 | int soc_update_sys_vdd(enum sys_vdd_level level) |
| 21 | { |
| 22 | return -EINVAL; |
| 23 | } |
| 24 | |
| 25 | int soc_set_pwr_rail(struct clk *clk, int enable) |
| 26 | { |
| 27 | return 0; |
| 28 | } |
| 29 | |
| 30 | void __init msm_clk_soc_init(void) |
| 31 | { |
| 32 | } |
| 33 | |
| 34 | /* |
| 35 | * Clocks |
| 36 | */ |
| 37 | |
| 38 | struct clk_lookup msm_clocks_fsm9xxx[] = { |
| 39 | CLK_DUMMY("adm_clk", ADM0_CLK, NULL, OFF), |
| 40 | CLK_DUMMY("uart_clk", UART1_CLK, "msm_serial.0", OFF), |
| 41 | CLK_DUMMY("ce_clk", CE_CLK, NULL, OFF), |
| 42 | }; |
| 43 | |
| 44 | unsigned msm_num_clocks_fsm9xxx = ARRAY_SIZE(msm_clocks_fsm9xxx); |
| 45 | |