blob: da902cf5116152eac8b130343aa96ec23f3944bf [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
Stephen Boyd7bce6962013-03-04 15:08:27 -080023extern struct platform_device msm_device_gpio_7201;
24extern struct platform_device msm_device_gpio_7x30;
25extern struct platform_device msm_device_gpio_8x50;
26
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070027extern struct platform_device msm_device_uart1;
28extern struct platform_device msm_device_uart2;
29extern struct platform_device msm_device_uart3;
30
Stepan Moskovchenkod056fca2011-01-27 12:12:07 -080031extern struct platform_device msm8960_device_uart_gsbi2;
32extern struct platform_device msm8960_device_uart_gsbi5;
33
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070034extern struct platform_device msm_device_sdc1;
35extern struct platform_device msm_device_sdc2;
36extern struct platform_device msm_device_sdc3;
37extern struct platform_device msm_device_sdc4;
38
39extern struct platform_device msm_device_hsusb;
Pavankumar Kondeti7032d512010-12-08 13:37:07 +053040extern struct platform_device msm_device_otg;
41extern struct platform_device msm_device_hsusb_host;
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070042
43extern struct platform_device msm_device_i2c;
44
45extern struct platform_device msm_device_smd;
46
47extern struct platform_device msm_device_nand;
48
Daniel Walker50bc0ef2010-12-13 14:35:11 -080049extern struct platform_device msm_device_mddi0;
50extern struct platform_device msm_device_mddi1;
51extern struct platform_device msm_device_mdp;
52
Stephen Boydbd323442011-02-23 09:37:42 -080053extern struct clk_lookup msm_clocks_7x01a[];
Daniel Walker5e96da52010-05-12 13:43:28 -070054extern unsigned msm_num_clocks_7x01a;
55
Stephen Boydbd323442011-02-23 09:37:42 -080056extern struct clk_lookup msm_clocks_7x30[];
Daniel Walker1ed8d582010-05-05 07:49:05 -070057extern unsigned msm_num_clocks_7x30;
58
Stephen Boydbd323442011-02-23 09:37:42 -080059extern struct clk_lookup msm_clocks_8x50[];
Daniel Walkeracb241c2010-05-05 07:48:32 -070060extern unsigned msm_num_clocks_8x50;
61
Brian Swetlandbcc0f6a2008-09-10 14:00:53 -070062#endif