blob: 60a46493cc904bd2b1b7354bf661daf3ac01f2e3 [file] [log] [blame]
Duy Truong790f06d2013-02-13 16:38:12 -08001/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002 *
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#ifndef __ARCH_ARM_MACH_MSM_DEVICES_MSM7X2XA_H
13#define __ARCH_ARM_MACH_MSM_DEVICES_MSM7X2XA_H
14
15#define MSM_GSBI0_QUP_I2C_BUS_ID 0
16#define MSM_GSBI1_QUP_I2C_BUS_ID 1
17
18void __init msm_common_io_init(void);
19void __init msm_init_pmic_vibrator(void);
20void __init msm7x25a_kgsl_3d0_init(void);
21int __init msm7x2x_misc_init(void);
Suresh Vankadara20cd3be72012-01-18 00:34:06 +053022extern struct platform_device msm7x27a_device_vfe;
23extern struct platform_device msm7x27a_device_csic0;
24extern struct platform_device msm7x27a_device_csic1;
25extern struct platform_device msm7x27a_device_clkctl;
Trilok Soni88da2552012-02-13 21:01:24 +053026
27extern struct platform_device msm8625_device_csic0;
28extern struct platform_device msm8625_device_csic1;
29
Taniya Das43bcdd62011-12-02 17:33:27 +053030void __init msm8625_init_irq(void);
31void __init msm8625_map_io(void);
Santosh Sajjan374d6592012-01-19 23:16:46 +053032int ar600x_wlan_power(bool on);
Murali Nalajala41786ab2012-03-06 10:47:32 +053033void __init msm8x25_spm_device_init(void);
Murali Nalajalaff723ec2012-07-13 16:54:40 +053034void __init msm_pm_register_cpr_ops(void);
Sudhakara Rao Tentu38ad6e12012-03-30 15:25:18 -070035void __init msm8x25_kgsl_3d0_init(void);
tirupathireddy3311bbc2012-09-27 13:48:29 +053036void __iomem *core_reset_base(unsigned int);
Taniya Dascd1d0232012-07-03 17:50:47 +053037extern void setup_mm_for_reboot(void);
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070038#endif