Taniya Das | 2b7646b | 2013-01-15 11:28:14 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. |
Joel King | b6f0f61 | 2011-11-01 16:59:14 -0700 | [diff] [blame] | 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_MDM2_H |
| 14 | #define _ARCH_ARM_MACH_MSM_MDM2_H |
Ameya Thakur | 552e58a | 2013-01-30 11:33:22 -0800 | [diff] [blame] | 15 | #include "sysmon.h" |
Joel King | b6f0f61 | 2011-11-01 16:59:14 -0700 | [diff] [blame] | 16 | |
Joel King | ef39084 | 2012-05-23 16:42:48 -0700 | [diff] [blame] | 17 | struct mdm_vddmin_resource { |
| 18 | int rpm_id; |
| 19 | int ap2mdm_vddmin_gpio; |
| 20 | unsigned int modes; |
| 21 | unsigned int drive_strength; |
| 22 | int mdm2ap_vddmin_gpio; |
| 23 | }; |
| 24 | |
Joel King | b6f0f61 | 2011-11-01 16:59:14 -0700 | [diff] [blame] | 25 | struct mdm_platform_data { |
| 26 | char *mdm_version; |
Joel King | 415af51 | 2012-02-03 10:22:43 -0800 | [diff] [blame] | 27 | int ramdump_delay_ms; |
Taniya Das | 2b7646b | 2013-01-15 11:28:14 +0530 | [diff] [blame] | 28 | int ps_hold_delay_ms; |
Joel King | e92eb87 | 2012-05-06 09:30:24 -0700 | [diff] [blame] | 29 | int soft_reset_inverted; |
| 30 | int early_power_on; |
| 31 | int sfr_query; |
Joel King | 733377c | 2012-06-20 13:07:38 -0700 | [diff] [blame] | 32 | int no_powerdown_after_ramdumps; |
Joel King | ef39084 | 2012-05-23 16:42:48 -0700 | [diff] [blame] | 33 | struct mdm_vddmin_resource *vddmin_resource; |
Joel King | d8052c0 | 2012-02-03 12:33:31 -0800 | [diff] [blame] | 34 | struct platform_device *peripheral_platform_device; |
Ameya Thakur | c9a7a84 | 2012-06-24 22:47:52 -0700 | [diff] [blame] | 35 | const unsigned int ramdump_timeout_ms; |
Ameya Thakur | 43248fd | 2012-07-10 18:50:52 -0700 | [diff] [blame] | 36 | int image_upgrade_supported; |
Joel King | 269aa60 | 2012-07-23 08:07:35 -0700 | [diff] [blame] | 37 | struct gpiomux_setting *mdm2ap_status_gpio_run_cfg; |
Joel King | bf3e4b5 | 2012-09-26 09:10:34 -0700 | [diff] [blame] | 38 | int send_shdn; |
Ameya Thakur | 552e58a | 2013-01-30 11:33:22 -0800 | [diff] [blame] | 39 | int cascading_ssr; |
| 40 | int sysmon_subsys_id_valid; |
| 41 | enum subsys_id sysmon_subsys_id; |
Joel King | b6f0f61 | 2011-11-01 16:59:14 -0700 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | #endif |
| 45 | |