OSDN Git Service

Bluetooth: hci_bcm: enable IRQ capability from devicetree
authorGuillaume La Roque <glaroque@baylibre.com>
Wed, 15 Jan 2020 10:12:43 +0000 (11:12 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 15 Jan 2020 21:32:31 +0000 (22:32 +0100)
commitf25a96c8eb46b86744540ade61c2dbc844c23dbd
treed6a6b229b27c88200af6d513cbdbb3c647a2f885
parent2fe465e69dc13f7b6bf8248d08bd16844c1ce545
Bluetooth: hci_bcm: enable IRQ capability from devicetree

Add support for getting IRQ directly from DT instead of relying on
converting a GPIO to IRQ. This is needed for platforms with GPIO
controllers that that do not support gpiod_to_irq().

Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c