devices-msm8x60.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /* Copyright (c) 2010-2011, 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. */
  13. #ifndef __ARCH_ARM_MACH_MSM_DEVICES_MSM8X60_H
  14. #define __ARCH_ARM_MACH_MSM_DEVICES_MSM8X60_H
  15. #define MSM_GSBI3_QUP_I2C_BUS_ID 0
  16. #define MSM_GSBI4_QUP_I2C_BUS_ID 1
  17. #define MSM_GSBI9_QUP_I2C_BUS_ID 2
  18. #define MSM_GSBI8_QUP_I2C_BUS_ID 3
  19. #define MSM_GSBI7_QUP_I2C_BUS_ID 4
  20. #define MSM_GSBI12_QUP_I2C_BUS_ID 5
  21. #define MSM_SSBI1_I2C_BUS_ID 6
  22. #define MSM_SSBI2_I2C_BUS_ID 7
  23. #define MSM_SSBI3_I2C_BUS_ID 8
  24. #ifdef CONFIG_SND_SOC_MSM8660_APQ
  25. extern struct platform_device msm_pcm;
  26. extern struct platform_device msm_pcm_routing;
  27. extern struct platform_device msm_cpudai0;
  28. extern struct platform_device msm_cpudai1;
  29. extern struct platform_device msm_cpudai_hdmi_rx;
  30. extern struct platform_device msm_cpudai_bt_rx;
  31. extern struct platform_device msm_cpudai_bt_tx;
  32. extern struct platform_device msm_cpudai_fm_rx;
  33. extern struct platform_device msm_cpudai_fm_tx;
  34. extern struct platform_device msm_cpu_fe;
  35. extern struct platform_device msm_stub_codec;
  36. extern struct platform_device msm_voice;
  37. extern struct platform_device msm_voip;
  38. extern struct platform_device msm_lpa_pcm;
  39. extern struct platform_device msm_pcm_hostless;
  40. #endif
  41. #ifdef CONFIG_SPI_QUP
  42. extern struct platform_device msm_gsbi1_qup_spi_device;
  43. extern struct platform_device msm_gsbi10_qup_spi_device;
  44. #endif
  45. extern struct platform_device msm_bus_apps_fabric;
  46. extern struct platform_device msm_bus_sys_fabric;
  47. extern struct platform_device msm_bus_mm_fabric;
  48. extern struct platform_device msm_bus_sys_fpb;
  49. extern struct platform_device msm_bus_cpss_fpb;
  50. extern struct platform_device msm_bus_def_fab;
  51. extern struct platform_device msm_device_smd;
  52. extern struct platform_device msm_device_gpio;
  53. extern struct platform_device msm_device_vidc;
  54. extern struct platform_device apq8064_msm_device_vidc;
  55. extern struct platform_device msm_charm_modem;
  56. extern struct platform_device msm_device_tz_log;
  57. #ifdef CONFIG_HW_RANDOM_MSM
  58. extern struct platform_device msm_device_rng;
  59. #endif
  60. void __init msm8x60_init_irq(void);
  61. void __init msm8x60_check_2d_hardware(void);
  62. #ifdef CONFIG_MSM_DSPS
  63. extern struct platform_device msm_dsps_device;
  64. #endif
  65. #if defined(CONFIG_MSM_RPM_STATS_LOG)
  66. extern struct platform_device msm_rpm_stat_device;
  67. #endif
  68. #endif