]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite04f77ca04cd0ae7aa03b027a0b6613650b4afe2
treea548dd6b8a401569d24b180d70ab0c434f3aec01
parentee28eb220be0caf2f1c7bfaa623420385fee909c
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 [new file with mode: 0644]
Documentation/devicetree/bindings/net/marvell-bt-sd8xxx.txt [deleted file]
drivers/bluetooth/btusb.c