aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/lte_modem_bootloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/lte_modem_bootloader.h')
-rw-r--r--include/linux/platform_data/lte_modem_bootloader.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/linux/platform_data/lte_modem_bootloader.h b/include/linux/platform_data/lte_modem_bootloader.h
new file mode 100644
index 00000000000..27a0450d40a
--- /dev/null
+++ b/include/linux/platform_data/lte_modem_bootloader.h
@@ -0,0 +1,40 @@
+/* Lte modem bootloader support for Samsung Tuna Board.
+ *
+ * Copyright (C) 2011 Google, Inc.
+ * Copyright (C) 2011 Samsung Electronics.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __LTE_MODEM_BOOTLOADER_H
+#define __LTE_MODEM_BOOTLOADER_H
+
+#define LTE_MODEM_BOOTLOADER_DRIVER_NAME "lte_modem_bootloader"
+
+#define IOCTL_LTE_MODEM_XMIT_BOOT _IOW('o', 0x23, unsigned int)
+#define IOCTL_LTE_MODEM_LTE2AP_STATUS _IOR('o', 0x24, unsigned int)
+
+#define AIRPLAIN_MODE_TEST
+
+#ifdef AIRPLAIN_MODE_TEST
+#define IOCTL_LTE_MODEM_AIRPLAIN_ON _IOWR('o', 0x25, unsigned int)
+#define IOCTL_LTE_MODEM_AIRPLAIN_OFF _IOWR('o', 0x26, unsigned int)
+#endif
+
+struct lte_modem_bootloader_param {
+ char __user *buf;
+ int len;
+};
+
+struct lte_modem_bootloader_platform_data {
+ const char *name;
+ unsigned int gpio_lte2ap_status;
+};
+#endif/* LTE_MODEM_BOOTLOADER_H */