summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_drv.h
diff options
context:
space:
mode:
authorXinming Hu <huxm@marvell.com>2016-04-26 06:57:27 -0700
committerMarcel Holtmann <marcel@holtmann.org>2016-05-02 19:26:15 +0200
commitbb7f4f0bcee6844632d7366d6abff4b9996ad454 (patch)
tree7a3bf4a02c6b4a2a4ef6e79f940c7edf1ffdf15e /drivers/bluetooth/btmrvl_drv.h
parent0065d1c5acdb60ee2c0e54585a29243718465bb7 (diff)
downloadblackbird-op-linux-bb7f4f0bcee6844632d7366d6abff4b9996ad454.tar.gz
blackbird-op-linux-bb7f4f0bcee6844632d7366d6abff4b9996ad454.zip
btmrvl: add platform specific wakeup interrupt support
On some arm-based platforms, we need to configure platform specific parameters by device tree node and also define our node as a child node of parent SDIO host controller. This patch parses these parameters from device tree. It includes calibration data download to firmware, wakeup pin configured to firmware, and soc specific wake up gpio, which will be set as wakeup interrupt pin. Signed-off-by: Xinming Hu <huxm@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_drv.h')
-rw-r--r--drivers/bluetooth/btmrvl_drv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h
index 05904732e6f1..f742384b53f7 100644
--- a/drivers/bluetooth/btmrvl_drv.h
+++ b/drivers/bluetooth/btmrvl_drv.h
@@ -23,6 +23,17 @@
#include <linux/bitops.h>
#include <linux/slab.h>
#include <net/bluetooth/bluetooth.h>
+#include <linux/err.h>
+#include <linux/gpio.h>
+#include <linux/gfp.h>
+#include <linux/interrupt.h>
+#include <linux/io.h>
+#include <linux/of_gpio.h>
+#include <linux/of_platform.h>
+#include <linux/platform_device.h>
+#include <linux/pm_runtime.h>
+#include <linux/slab.h>
+#include <linux/of_irq.h>
#define BTM_HEADER_LEN 4
#define BTM_UPLD_SIZE 2312
OpenPOWER on IntegriCloud