yuezonghe | 824eb0c | 2024-06-27 02:32:26 -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 | |
| 19 | #include <linux/clkdev.h> |
| 20 | |
| 21 | #include "clock.h" |
| 22 | |
| 23 | extern struct platform_device msm_device_uart1; |
| 24 | extern struct platform_device msm_device_uart2; |
| 25 | extern struct platform_device msm_device_uart3; |
| 26 | |
| 27 | extern struct platform_device msm8960_device_uart_gsbi2; |
| 28 | extern struct platform_device msm8960_device_uart_gsbi5; |
| 29 | |
| 30 | extern struct platform_device msm_device_sdc1; |
| 31 | extern struct platform_device msm_device_sdc2; |
| 32 | extern struct platform_device msm_device_sdc3; |
| 33 | extern struct platform_device msm_device_sdc4; |
| 34 | |
| 35 | extern struct platform_device msm_device_hsusb; |
| 36 | extern struct platform_device msm_device_otg; |
| 37 | extern struct platform_device msm_device_hsusb_host; |
| 38 | |
| 39 | extern struct platform_device msm_device_i2c; |
| 40 | |
| 41 | extern struct platform_device msm_device_smd; |
| 42 | |
| 43 | extern struct platform_device msm_device_nand; |
| 44 | |
| 45 | extern struct platform_device msm_device_mddi0; |
| 46 | extern struct platform_device msm_device_mddi1; |
| 47 | extern struct platform_device msm_device_mdp; |
| 48 | |
| 49 | extern struct clk_lookup msm_clocks_7x01a[]; |
| 50 | extern unsigned msm_num_clocks_7x01a; |
| 51 | |
| 52 | extern struct clk_lookup msm_clocks_7x30[]; |
| 53 | extern unsigned msm_num_clocks_7x30; |
| 54 | |
| 55 | extern struct clk_lookup msm_clocks_8x50[]; |
| 56 | extern unsigned msm_num_clocks_8x50; |
| 57 | |
| 58 | #endif |