blob: 9545c196c6e87832400bbb5fab059cbda93ba5ba [file] [log] [blame]
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -07001/* linux/arch/arm/mach-msm/devices.h
2 *
3 * Copyright (C) 2008 Google, Inc.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 */
15
16#ifndef __ARCH_ARM_MACH_MSM_DEVICES_H
17#define __ARCH_ARM_MACH_MSM_DEVICES_H
18
Stephen Boydbd323442011-02-23 09:37:42 -080019#include <linux/clkdev.h>
20
Daniel Walker5e96da52010-05-12 13:43:28 -070021#include "clock.h"
22
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070023extern struct platform_device msm_device_uart1;
24extern struct platform_device msm_device_uart2;
25extern struct platform_device msm_device_uart3;
26
Stepan Moskovchenkod056fca2011-01-27 12:12:07 -080027extern struct platform_device msm8960_device_uart_gsbi2;
28extern struct platform_device msm8960_device_uart_gsbi5;
29
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070030extern struct platform_device msm_device_sdc1;
31extern struct platform_device msm_device_sdc2;
32extern struct platform_device msm_device_sdc3;
33extern struct platform_device msm_device_sdc4;
34
35extern struct platform_device msm_device_hsusb;
Pavankumar Kondeti7032d512010-12-08 13:37:07 +053036extern struct platform_device msm_device_otg;
37extern struct platform_device msm_device_hsusb_host;
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070038
39extern struct platform_device msm_device_i2c;
40
41extern struct platform_device msm_device_smd;
42
43extern struct platform_device msm_device_nand;
44
Daniel Walker50bc0ef2010-12-13 14:35:11 -080045extern struct platform_device msm_device_mddi0;
46extern struct platform_device msm_device_mddi1;
47extern struct platform_device msm_device_mdp;
48
Stephen Boydbd323442011-02-23 09:37:42 -080049extern struct clk_lookup msm_clocks_7x01a[];
Daniel Walker5e96da52010-05-12 13:43:28 -070050extern unsigned msm_num_clocks_7x01a;
51
Stephen Boydbd323442011-02-23 09:37:42 -080052extern struct clk_lookup msm_clocks_7x30[];
Daniel Walker1ed8d582010-05-05 07:49:05 -070053extern unsigned msm_num_clocks_7x30;
54
Stephen Boydbd323442011-02-23 09:37:42 -080055extern struct clk_lookup msm_clocks_8x50[];
Daniel Walkeracb241c2010-05-05 07:48:32 -070056extern unsigned msm_num_clocks_8x50;
57
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070058#endif