blob: e2643b340b2aa35db43cffe8f45933d1c56092e1 [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
Daniel Walker5e96da52010-05-12 13:43:28 -070019#include "clock.h"
20
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070021extern struct platform_device msm_device_uart1;
22extern struct platform_device msm_device_uart2;
23extern struct platform_device msm_device_uart3;
24
Stepan Moskovchenkod056fca2011-01-27 12:12:07 -080025extern struct platform_device msm8960_device_uart_gsbi2;
26extern struct platform_device msm8960_device_uart_gsbi5;
27
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070028extern struct platform_device msm_device_sdc1;
29extern struct platform_device msm_device_sdc2;
30extern struct platform_device msm_device_sdc3;
31extern struct platform_device msm_device_sdc4;
32
33extern struct platform_device msm_device_hsusb;
Pavankumar Kondeti7032d512010-12-08 13:37:07 +053034extern struct platform_device msm_device_otg;
35extern struct platform_device msm_device_hsusb_host;
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070036
37extern struct platform_device msm_device_i2c;
38
39extern struct platform_device msm_device_smd;
40
41extern struct platform_device msm_device_nand;
42
Daniel Walker50bc0ef2010-12-13 14:35:11 -080043extern struct platform_device msm_device_mddi0;
44extern struct platform_device msm_device_mddi1;
45extern struct platform_device msm_device_mdp;
46
Daniel Walker5e96da52010-05-12 13:43:28 -070047extern struct clk msm_clocks_7x01a[];
48extern unsigned msm_num_clocks_7x01a;
49
Daniel Walker1ed8d582010-05-05 07:49:05 -070050extern struct clk msm_clocks_7x30[];
51extern unsigned msm_num_clocks_7x30;
52
Daniel Walkeracb241c2010-05-05 07:48:32 -070053extern struct clk msm_clocks_8x50[];
54extern unsigned msm_num_clocks_8x50;
55
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070056#endif