summaryrefslogtreecommitdiff
path: root/include/soc/sprd/serial_sprd.h
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /include/soc/sprd/serial_sprd.h
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'include/soc/sprd/serial_sprd.h')
-rw-r--r--include/soc/sprd/serial_sprd.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/soc/sprd/serial_sprd.h b/include/soc/sprd/serial_sprd.h
new file mode 100644
index 00000000..1bf11250
--- /dev/null
+++ b/include/soc/sprd/serial_sprd.h
@@ -0,0 +1,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