devices.h 1.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* linux/arch/arm/mach-msm/devices.h
 *
 * Copyright (C) 2008 Google, Inc.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef __ARCH_ARM_MACH_MSM_DEVICES_H
#define __ARCH_ARM_MACH_MSM_DEVICES_H

S
Stephen Boyd 已提交
19 20
#include <linux/clkdev.h>

D
Daniel Walker 已提交
21 22
#include "clock.h"

23 24 25 26
extern struct platform_device msm_device_gpio_7201;
extern struct platform_device msm_device_gpio_7x30;
extern struct platform_device msm_device_gpio_8x50;

27 28 29 30
extern struct platform_device msm_device_uart1;
extern struct platform_device msm_device_uart2;
extern struct platform_device msm_device_uart3;

31 32 33
extern struct platform_device msm8960_device_uart_gsbi2;
extern struct platform_device msm8960_device_uart_gsbi5;

34 35 36 37 38 39
extern struct platform_device msm_device_sdc1;
extern struct platform_device msm_device_sdc2;
extern struct platform_device msm_device_sdc3;
extern struct platform_device msm_device_sdc4;

extern struct platform_device msm_device_hsusb;
40 41
extern struct platform_device msm_device_otg;
extern struct platform_device msm_device_hsusb_host;
42 43 44 45 46 47 48

extern struct platform_device msm_device_i2c;

extern struct platform_device msm_device_smd;

extern struct platform_device msm_device_nand;

D
Daniel Walker 已提交
49 50 51 52
extern struct platform_device msm_device_mddi0;
extern struct platform_device msm_device_mddi1;
extern struct platform_device msm_device_mdp;

S
Stephen Boyd 已提交
53
extern struct clk_lookup msm_clocks_7x01a[];
D
Daniel Walker 已提交
54 55
extern unsigned msm_num_clocks_7x01a;

S
Stephen Boyd 已提交
56
extern struct clk_lookup msm_clocks_7x30[];
57 58
extern unsigned msm_num_clocks_7x30;

S
Stephen Boyd 已提交
59
extern struct clk_lookup msm_clocks_8x50[];
60 61
extern unsigned msm_num_clocks_8x50;

62
#endif