blob: fd63fd28ff324028e7f1eb1641c224b42bfcfdc8 [file] [log] [blame]
Joel Kinge92eb872012-05-06 09:30:24 -07001/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
Joel Kingb6f0f612011-11-01 16:59:14 -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
13#ifndef _ARCH_ARM_MACH_MSM_MDM2_H
14#define _ARCH_ARM_MACH_MSM_MDM2_H
15
Joel Kingef390842012-05-23 16:42:48 -070016struct mdm_vddmin_resource {
17 int rpm_id;
18 int ap2mdm_vddmin_gpio;
19 unsigned int modes;
20 unsigned int drive_strength;
21 int mdm2ap_vddmin_gpio;
22};
23
Joel Kingb6f0f612011-11-01 16:59:14 -070024struct mdm_platform_data {
25 char *mdm_version;
Joel King415af512012-02-03 10:22:43 -080026 int ramdump_delay_ms;
Joel Kinge92eb872012-05-06 09:30:24 -070027 int soft_reset_inverted;
28 int early_power_on;
29 int sfr_query;
Joel King733377c2012-06-20 13:07:38 -070030 int no_powerdown_after_ramdumps;
Joel Kingef390842012-05-23 16:42:48 -070031 struct mdm_vddmin_resource *vddmin_resource;
Joel Kingd8052c02012-02-03 12:33:31 -080032 struct platform_device *peripheral_platform_device;
Ameya Thakurc9a7a842012-06-24 22:47:52 -070033 const unsigned int ramdump_timeout_ms;
Ameya Thakur43248fd2012-07-10 18:50:52 -070034 int image_upgrade_supported;
Joel King269aa602012-07-23 08:07:35 -070035 struct gpiomux_setting *mdm2ap_status_gpio_run_cfg;
Joel Kingbf3e4b52012-09-26 09:10:34 -070036 int send_shdn;
Joel Kingb6f0f612011-11-01 16:59:14 -070037};
38
39#endif
40