mdm2.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* Copyright (c) 2011-2013, 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_MDM2_H
  13. #define _ARCH_ARM_MACH_MSM_MDM2_H
  14. #include <mach/../../sysmon.h>
  15. struct mdm_vddmin_resource {
  16. int rpm_id;
  17. int ap2mdm_vddmin_gpio;
  18. unsigned int modes;
  19. unsigned int drive_strength;
  20. int mdm2ap_vddmin_gpio;
  21. };
  22. struct mdm_platform_data {
  23. char *mdm_version;
  24. int ramdump_delay_ms;
  25. int ps_hold_delay_ms;
  26. int soft_reset_inverted;
  27. int early_power_on;
  28. int sfr_query;
  29. int no_powerdown_after_ramdumps;
  30. struct mdm_vddmin_resource *vddmin_resource;
  31. struct platform_device *peripheral_platform_device;
  32. unsigned int ramdump_timeout_ms;
  33. int image_upgrade_supported;
  34. struct gpiomux_setting *mdm2ap_status_gpio_run_cfg;
  35. int send_shdn;
  36. int cascading_ssr;
  37. int sysmon_subsys_id_valid;
  38. int sysmon_subsys_id;
  39. int no_a2m_errfatal_on_ssr;
  40. int no_reset_on_first_powerup;
  41. int kpd_not_inverted;
  42. char *subsys_name;
  43. };
  44. #endif