Change-Id: I754250669891307b0deab2bdab1bd01512713f79 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
28 lines
629 B
C
28 lines
629 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
||
#include <linux/types.h>
|
||
#include <linux/ioctl.h>
|
||
#include <linux/miscdevice.h>
|
||
|
||
struct modem_dev
|
||
{
|
||
const char *name;
|
||
struct miscdevice miscdev;
|
||
struct work_struct work;
|
||
};
|
||
|
||
/* 耳机数æ<C2B0>®ç»“æž„ä½?*/
|
||
struct rk29_sc6610_data {
|
||
struct device *dev;
|
||
int (*io_init)(void);
|
||
int (*io_deinit)(void);
|
||
unsigned int bp_power;
|
||
unsigned int bp_power_active_low;
|
||
unsigned int bp_reset;
|
||
unsigned int bp_reset_active_low;
|
||
unsigned int bp_wakeup_ap;
|
||
unsigned int ap_wakeup_bp;
|
||
unsigned int modem_power_en;
|
||
unsigned int modem_assert;
|
||
};
|
||
|
||
#define MODEM_NAME "SC6610"
|