spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / mach-msm / devices.h
blob9545c196c6e87832400bbb5fab059cbda93ba5ba
1 /* linux/arch/arm/mach-msm/devices.h
3 * Copyright (C) 2008 Google, Inc.
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.
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.
16 #ifndef __ARCH_ARM_MACH_MSM_DEVICES_H
17 #define __ARCH_ARM_MACH_MSM_DEVICES_H
19 #include <linux/clkdev.h>
21 #include "clock.h"
23 extern struct platform_device msm_device_uart1;
24 extern struct platform_device msm_device_uart2;
25 extern struct platform_device msm_device_uart3;
27 extern struct platform_device msm8960_device_uart_gsbi2;
28 extern struct platform_device msm8960_device_uart_gsbi5;
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;
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;
39 extern struct platform_device msm_device_i2c;
41 extern struct platform_device msm_device_smd;
43 extern struct platform_device msm_device_nand;
45 extern struct platform_device msm_device_mddi0;
46 extern struct platform_device msm_device_mddi1;
47 extern struct platform_device msm_device_mdp;
49 extern struct clk_lookup msm_clocks_7x01a[];
50 extern unsigned msm_num_clocks_7x01a;
52 extern struct clk_lookup msm_clocks_7x30[];
53 extern unsigned msm_num_clocks_7x30;
55 extern struct clk_lookup msm_clocks_8x50[];
56 extern unsigned msm_num_clocks_8x50;
58 #endif