Brian Swetland | bcc0f6a | 2008-09-10 14:00:53 -0700 | [diff] [blame] | 1 | /* 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 Boyd | bd32344 | 2011-02-23 09:37:42 -0800 | [diff] [blame] | 19 | #include <linux/clkdev.h> |
| 20 | |
Daniel Walker | 5e96da5 | 2010-05-12 13:43:28 -0700 | [diff] [blame] | 21 | #include "clock.h" |
| 22 | |
Stephen Boyd | 7bce696 | 2013-03-04 15:08:27 -0800 | [diff] [blame] | 23 | extern struct platform_device msm_device_gpio_7201; |
| 24 | extern struct platform_device msm_device_gpio_7x30; |
| 25 | extern struct platform_device msm_device_gpio_8x50; |
| 26 | |
Brian Swetland | bcc0f6a | 2008-09-10 14:00:53 -0700 | [diff] [blame] | 27 | extern struct platform_device msm_device_uart1; |
| 28 | extern struct platform_device msm_device_uart2; |
| 29 | extern struct platform_device msm_device_uart3; |
| 30 | |
Stepan Moskovchenko | d056fca | 2011-01-27 12:12:07 -0800 | [diff] [blame] | 31 | extern struct platform_device msm8960_device_uart_gsbi2; |
| 32 | extern struct platform_device msm8960_device_uart_gsbi5; |
| 33 | |
Brian Swetland | bcc0f6a | 2008-09-10 14:00:53 -0700 | [diff] [blame] | 34 | extern struct platform_device msm_device_sdc1; |
| 35 | extern struct platform_device msm_device_sdc2; |
| 36 | extern struct platform_device msm_device_sdc3; |
| 37 | extern struct platform_device msm_device_sdc4; |
| 38 | |
| 39 | extern struct platform_device msm_device_hsusb; |
Pavankumar Kondeti | 7032d51 | 2010-12-08 13:37:07 +0530 | [diff] [blame] | 40 | extern struct platform_device msm_device_otg; |
| 41 | extern struct platform_device msm_device_hsusb_host; |
Brian Swetland | bcc0f6a | 2008-09-10 14:00:53 -0700 | [diff] [blame] | 42 | |
| 43 | extern struct platform_device msm_device_i2c; |
| 44 | |
| 45 | extern struct platform_device msm_device_smd; |
| 46 | |
| 47 | extern struct platform_device msm_device_nand; |
| 48 | |
Daniel Walker | 50bc0ef | 2010-12-13 14:35:11 -0800 | [diff] [blame] | 49 | extern struct platform_device msm_device_mddi0; |
| 50 | extern struct platform_device msm_device_mddi1; |
| 51 | extern struct platform_device msm_device_mdp; |
| 52 | |
Stephen Boyd | bd32344 | 2011-02-23 09:37:42 -0800 | [diff] [blame] | 53 | extern struct clk_lookup msm_clocks_7x01a[]; |
Daniel Walker | 5e96da5 | 2010-05-12 13:43:28 -0700 | [diff] [blame] | 54 | extern unsigned msm_num_clocks_7x01a; |
| 55 | |
Stephen Boyd | bd32344 | 2011-02-23 09:37:42 -0800 | [diff] [blame] | 56 | extern struct clk_lookup msm_clocks_7x30[]; |
Daniel Walker | 1ed8d58 | 2010-05-05 07:49:05 -0700 | [diff] [blame] | 57 | extern unsigned msm_num_clocks_7x30; |
| 58 | |
Stephen Boyd | bd32344 | 2011-02-23 09:37:42 -0800 | [diff] [blame] | 59 | extern struct clk_lookup msm_clocks_8x50[]; |
Daniel Walker | acb241c | 2010-05-05 07:48:32 -0700 | [diff] [blame] | 60 | extern unsigned msm_num_clocks_8x50; |
| 61 | |
Brian Swetland | bcc0f6a | 2008-09-10 14:00:53 -0700 | [diff] [blame] | 62 | #endif |