blob: e3a4818c061b83212941e2d5166eae370253ab43 [file] [log] [blame]
Duy Truong790f06d2013-02-13 16:38:12 -08001/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002 *
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 Wagantall33d01f52012-02-23 23:27:44 -080015#include <mach/clk-provider.h>
Rohit Vaswani2f3bb872011-07-13 14:22:04 -070016#include "clock.h"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070017
18/*
19 * Clocks
20 */
21
Stephen Boydbb600ae2011-08-02 20:11:40 -070022static struct clk_lookup msm_clocks_fsm9xxx[] = {
Matt Wagantalle1a86062011-08-18 17:46:10 -070023 CLK_DUMMY("core_clk", ADM0_CLK, "msm_dmov", OFF),
Matt Wagantalle2522372011-08-17 14:52:21 -070024 CLK_DUMMY("core_clk", UART1_CLK, "msm_serial.0", OFF),
Rohit Vaswani0eafbe92012-06-21 15:21:24 -070025 CLK_DUMMY("core_clk", UART3_CLK, "msm_uim.2", OFF),
Matt Wagantallc4b3a4d2011-08-17 16:58:39 -070026 CLK_DUMMY("core_clk", CE_CLK, "qce.0", OFF),
Matt Wagantalld727efc2011-09-13 14:17:03 -070027 CLK_DUMMY("core_clk", CE_CLK, "qcota.0", OFF),
28 CLK_DUMMY("core_clk", CE_CLK, "qcrypto.0", OFF),
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070029};
30
Stephen Boydbb600ae2011-08-02 20:11:40 -070031struct clock_init_data fsm9xxx_clock_init_data __initdata = {
32 .table = msm_clocks_fsm9xxx,
33 .size = ARRAY_SIZE(msm_clocks_fsm9xxx),
34};