summaryrefslogtreecommitdiff
path: root/include/soc/sprd/serial_sprd.h
blob: 1bf11250b1e63c5fb152abd1d1e00c82d58a2d6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __SERIAL_SPRD_H__
#define __SERIAL_SPRD_H__

/*
 * Spreadtrum Bluetooth host wake up type
 */
typedef enum bt_host_wakeup_type{
	BT_NO_WAKE_UP,
	BT_RX_WAKE_UP,
	BT_RTS_HIGH_WHEN_SLEEP,
}BT_HOST_WAKEUP_TYPE;

/*
 * Spreadtrum platform_data for serial
 */
struct serial_data{
	BT_HOST_WAKEUP_TYPE wakeup_type;
	int clk;
};

#endif