aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mdm_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/mdm_private.h')
-rw-r--r--arch/arm/mach-exynos/mdm_private.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mdm_private.h b/arch/arm/mach-exynos/mdm_private.h
index 206bd8b..6dbcfa4 100644
--- a/arch/arm/mach-exynos/mdm_private.h
+++ b/arch/arm/mach-exynos/mdm_private.h
@@ -17,6 +17,7 @@ struct mdm_modem_drv;
struct mdm_ops {
void (*power_on_mdm_cb)(struct mdm_modem_drv *mdm_drv);
+ void (*reset_mdm_cb)(struct mdm_modem_drv *mdm_drv);
void (*normal_boot_done_cb)(struct mdm_modem_drv *mdm_drv);
void (*power_down_mdm_cb)(struct mdm_modem_drv *mdm_drv);
void (*debug_state_changed_cb)(int value);
@@ -31,8 +32,12 @@ struct mdm_modem_drv {
unsigned ap2mdm_status_gpio;
unsigned mdm2ap_wakeup_gpio;
unsigned ap2mdm_wakeup_gpio;
- unsigned ap2mdm_pmic_reset_n_gpio;
unsigned ap2mdm_kpdpwr_n_gpio;
+ unsigned ap2mdm_soft_reset_gpio;
+ unsigned ap2mdm_pmic_pwr_en_gpio;
+ unsigned mdm2ap_pblrdy;
+
+ int proto_is_dload;
int mdm_errfatal_irq;
int mdm_status_irq;
@@ -41,6 +46,7 @@ struct mdm_modem_drv {
int mdm_ram_dump_status;
enum charm_boot_type boot_type;
int mdm_debug_on;
+ int mdm_unexpected_reset_occurred;
struct mdm_ops *ops;
struct mdm_platform_data *pdata;
@@ -51,6 +57,13 @@ int mdm_common_create(struct platform_device *pdev,
int mdm_common_modem_remove(struct platform_device *pdev);
void mdm_common_modem_shutdown(struct platform_device *pdev);
void mdm_common_set_debug_state(int value);
+void mdm_peripheral_disconnect(struct mdm_modem_drv *mdm_drv);
+
+void notify_modem_fatal(void);
+void request_autopm_lock(int status);
+extern unsigned int lpcharge;
+extern void ctrl_bridge_stop_all(void);
+extern void rmnet_usb_ctrl_stop_all(void);
#endif