aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mdm_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/mdm_device.c')
-rw-r--r--arch/arm/mach-exynos/mdm_device.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mdm_device.c b/arch/arm/mach-exynos/mdm_device.c
index f5af03c..6c41e46 100644
--- a/arch/arm/mach-exynos/mdm_device.c
+++ b/arch/arm/mach-exynos/mdm_device.c
@@ -56,6 +56,15 @@ static struct resource mdm_resources[] = {
.name = "AP2MDM_WAKEUP",
.flags = IORESOURCE_IO,
},
+#ifdef CONFIG_SIM_DETECT
+ {
+ .start = GPIO_SIM_DETECT,
+ .end = GPIO_SIM_DETECT,
+ .name = "SIM_DETECT",
+ .flags = IORESOURCE_IO,
+ },
+#endif
+
};
#ifdef CONFIG_MDM_HSIC_PM
@@ -99,7 +108,7 @@ struct platform_device mdm_pm_device = {
static struct mdm_platform_data mdm_platform_data = {
.mdm_version = "3.0",
- .ramdump_delay_ms = 2000,
+ .ramdump_delay_ms = 3000,
.early_power_on = 1,
.sfr_query = 0,
.vddmin_resource = NULL,
@@ -110,6 +119,10 @@ static struct mdm_platform_data mdm_platform_data = {
.peripheral_platform_device_ohci = &s5p_device_ohci,
#endif
.ramdump_timeout_ms = 120000,
+#if defined(CONFIG_MACH_P4NOTE) && defined(CONFIG_QC_MODEM) \
+ && defined(CONFIG_SIM_DETECT)
+ .sim_polarity = 0,
+#endif
};
static int exynos_frequency_lock(struct device *dev)