]> 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)
commitf39394e64d31653760bba4d7af8b77fa17d935de
treea548dd6b8a401569d24b180d70ab0c434f3aec01
parent044ba51a8813f4429766d0e1987af7a449071778
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