devices-msm7x2xa.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* Copyright (c) 2011-2012, The Linux Foundation. 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. #ifndef __ARCH_ARM_MACH_MSM_DEVICES_MSM7X2XA_H
  13. #define __ARCH_ARM_MACH_MSM_DEVICES_MSM7X2XA_H
  14. #define MSM_GSBI0_QUP_I2C_BUS_ID 0
  15. #define MSM_GSBI1_QUP_I2C_BUS_ID 1
  16. void __init msm_common_io_init(void);
  17. void __init msm_init_pmic_vibrator(void);
  18. void __init msm7x25a_kgsl_3d0_init(void);
  19. int __init msm7x2x_misc_init(void);
  20. extern struct platform_device msm7x27a_device_vfe;
  21. extern struct platform_device msm7x27a_device_csic0;
  22. extern struct platform_device msm7x27a_device_csic1;
  23. extern struct platform_device msm7x27a_device_clkctl;
  24. extern struct platform_device msm8625_device_csic0;
  25. extern struct platform_device msm8625_device_csic1;
  26. void __init msm8625_init_irq(void);
  27. void __init msm8625_map_io(void);
  28. int ar600x_wlan_power(bool on);
  29. void __init msm8x25_spm_device_init(void);
  30. void __init msm_pm_register_cpr_ops(void);
  31. void __init msm8x25_kgsl_3d0_init(void);
  32. void __iomem *core_reset_base(unsigned int);
  33. extern void setup_mm_for_reboot(void);
  34. #endif