blob: 60a1f60a6921e03dcdb068df6bcd712d6959f7fd [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13#ifndef __ARCH_ARM_MACH_MSM_DEVICES_MSM8X60_H
14#define __ARCH_ARM_MACH_MSM_DEVICES_MSM8X60_H
15
16#define MSM_GSBI3_QUP_I2C_BUS_ID 0
17#define MSM_GSBI4_QUP_I2C_BUS_ID 1
18#define MSM_GSBI9_QUP_I2C_BUS_ID 2
19#define MSM_GSBI8_QUP_I2C_BUS_ID 3
20#define MSM_GSBI7_QUP_I2C_BUS_ID 4
21#define MSM_GSBI12_QUP_I2C_BUS_ID 5
22#define MSM_SSBI1_I2C_BUS_ID 6
23#define MSM_SSBI2_I2C_BUS_ID 7
24#define MSM_SSBI3_I2C_BUS_ID 8
25
26#ifdef CONFIG_SPI_QUP
27extern struct platform_device msm_gsbi1_qup_spi_device;
28extern struct platform_device msm_gsbi10_qup_spi_device;
29#endif
30
31extern struct platform_device msm_bus_apps_fabric;
32extern struct platform_device msm_bus_sys_fabric;
33extern struct platform_device msm_bus_mm_fabric;
34extern struct platform_device msm_bus_sys_fpb;
35extern struct platform_device msm_bus_cpss_fpb;
36
37extern struct platform_device msm_device_smd;
38extern struct platform_device msm_device_gpio;
39extern struct platform_device msm_device_vidc;
40
41extern struct platform_device msm_charm_modem;
42
43#ifdef CONFIG_HW_RANDOM_MSM
44extern struct platform_device msm_device_rng;
45#endif
46
47void __init msm8x60_init_irq(void);
48void __init msm8x60_check_2d_hardware(void);
49
50#ifdef CONFIG_MSM_DSPS
51extern struct platform_device msm_dsps_device;
52#endif
53
54#if defined(CONFIG_MSM_RPM_STATS_LOG)
55extern struct platform_device msm_rpm_stat_device;
56#endif
57#endif