Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. |
| 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_MDM_H |
| 14 | #define _ARXH_ARM_MACH_MSM_MDM_H |
| 15 | |
| 16 | |
| 17 | struct charm_platform_data { |
| 18 | void (*charm_modem_on)(void); |
| 19 | void (*charm_modem_off)(void); |
| 20 | }; |
| 21 | |
| 22 | #define AP2MDM_STATUS 136 |
| 23 | #define MDM2AP_STATUS 134 |
| 24 | #define MDM2AP_WAKEUP 40 |
| 25 | #define MDM2AP_ERRFATAL 133 |
| 26 | #define AP2MDM_ERRFATAL 93 |
| 27 | |
| 28 | #define AP2MDM_PMIC_RESET_N 131 |
| 29 | #define AP2MDM_KPDPWR_N 132 |
| 30 | #define AP2PMIC_TMPNI_CKEN 141 |
Laura Abbott | d2a3bb5 | 2011-07-21 12:39:22 -0700 | [diff] [blame] | 31 | #define AP2MDM_WAKEUP 135 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 32 | |
| 33 | extern void (*charm_intentional_reset)(void); |
| 34 | |
| 35 | #endif |