btmrvl: add platform specific wakeup interrupt support
authorXinming Hu <huxm@marvell.com>
Tue, 26 Apr 2016 13:57:27 +0000 (06:57 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 2 May 2016 17:26:15 +0000 (19:26 +0200)
commitbb7f4f0bcee6844632d7366d6abff4b9996ad454
tree7a3bf4a02c6b4a2a4ef6e79f940c7edf1ffdf15e
parent0065d1c5acdb60ee2c0e54585a29243718465bb7
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>
drivers/bluetooth/btmrvl_drv.h
drivers/bluetooth/btmrvl_main.c
drivers/bluetooth/btmrvl_sdio.c
drivers/bluetooth/btmrvl_sdio.h