Bluetooth: btusb: Configure Marvell to use one of the pins for oob wakeup
authorRajat Jain <rajatja@google.com>
Wed, 1 Feb 2017 22:24:10 +0000 (14:24 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Feb 2017 16:21:59 +0000 (17:21 +0100)
commita4ccc9e33d2f01532bcceb621ea06bbf4db6efac
treea548dd6b8a401569d24b180d70ab0c434f3aec01
parentfd913ef7ce619467c6b0644af48ba1fec499c623
Bluetooth: btusb: Configure Marvell to use one of the pins for oob wakeup

The Marvell devices may have many gpio pins, and hence for wakeup
on these out-of-band pins, the chip needs to be told which pin is
to be used for wakeup, using an hci command.

Thus, we read the pin number etc from the device tree node and send
a command to the chip.

Signed-off-by: Rajat Jain <rajatja@google.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Documentation/devicetree/bindings/net/btusb.txt
Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt [moved from Documentation/devicetree/bindings/net/marvell-bt-sd8xxx.txt with 50% similarity]
drivers/bluetooth/btusb.c