aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mdm_private.h
diff options
context:
space:
mode:
authorsbrissen <sbrissen@hotmail.com>2013-06-21 07:40:19 -0400
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-06-25 17:05:03 +0200
commitcb93f68cb9ab19d9647962568b4c895548a869e8 (patch)
tree489bbfb6351db1d685e81c3d8c9c118544b68be4 /arch/arm/mach-exynos/mdm_private.h
parent5b3cb3ccc3df3b6106b5ae91f1ca77fcb1d99064 (diff)
downloadkernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.zip
kernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.tar.gz
kernel_samsung_smdk4412-cb93f68cb9ab19d9647962568b4c895548a869e8.tar.bz2
smdk4412: add i925/p4noteltevzw support
Change-Id: I17d3befd6a6538c16db0675253927068a09085c6
Diffstat (limited to 'arch/arm/mach-exynos/mdm_private.h')
-rw-r--r--arch/arm/mach-exynos/mdm_private.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/arch/arm/mach-exynos/mdm_private.h b/arch/arm/mach-exynos/mdm_private.h
index 6dbcfa4..d632c8f 100644
--- a/arch/arm/mach-exynos/mdm_private.h
+++ b/arch/arm/mach-exynos/mdm_private.h
@@ -36,7 +36,9 @@ struct mdm_modem_drv {
unsigned ap2mdm_soft_reset_gpio;
unsigned ap2mdm_pmic_pwr_en_gpio;
unsigned mdm2ap_pblrdy;
-
+#ifdef CONFIG_SIM_DETECT
+ unsigned sim_detect_gpio;
+#endif
int proto_is_dload;
int mdm_errfatal_irq;
@@ -47,9 +49,16 @@ struct mdm_modem_drv {
enum charm_boot_type boot_type;
int mdm_debug_on;
int mdm_unexpected_reset_occurred;
-
+#ifdef CONFIG_SIM_DETECT
+ int sim_state;
+ bool sim_changed;
+ wait_queue_head_t wq;
+#endif
struct mdm_ops *ops;
struct mdm_platform_data *pdata;
+
+ bool sim_shutdown_req;
+ bool sim_irq;
};
int mdm_common_create(struct platform_device *pdev,
@@ -61,7 +70,10 @@ void mdm_peripheral_disconnect(struct mdm_modem_drv *mdm_drv);
void notify_modem_fatal(void);
void request_autopm_lock(int status);
-
+bool mdm_check_main_connect(const char *);
+#ifdef CONFIG_SIM_DETECT
+void get_sim_state_at_boot(void);
+#endif
extern unsigned int lpcharge;
extern void ctrl_bridge_stop_all(void);
extern void rmnet_usb_ctrl_stop_all(void);