ARM: rockchip: rk3228: add grf definition
[firefly-linux-kernel-4.4.55.git] / include / linux / mi700.h
1 #include <linux/types.h>
2 #include <linux/ioctl.h>
3 #include <linux/miscdevice.h>
4
5 struct modem_dev
6 {
7         const char *name;
8         struct miscdevice miscdev;
9         struct work_struct work;
10 };
11
12 /* 耳机数据结构体 */
13 struct rk29_mi700_data {
14         struct device *dev;
15         int (*io_init)(void);
16         int (*io_deinit)(void);
17         unsigned int bp_power;
18         unsigned int bp_power_active_low;
19         unsigned int bp_reset;
20         unsigned int bp_reset_active_low;
21         unsigned int bp_wakeup_ap;
22         unsigned int ap_wakeup_bp;
23         unsigned int modem_power_en;
24         struct mutex bp_mutex;
25 };
26
27 #define MODEM_NAME "mi700"