Bluetooth: btusb: add QCA6174A compatible properties
authorBrian Norris <briannorris@chromium.org>
Fri, 22 Feb 2019 22:53:43 +0000 (14:53 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 27 Feb 2019 07:50:14 +0000 (08:50 +0100)
We may need to specify a GPIO wake pin for this device, so add a
compatible property for it.

There are at least to USB PID/VID variations of this chip: one with a
Lite-On ID and one with an Atheros ID.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c

index d4c8d989e7149e9d8ea735cf8cd3df8a11e78f20..ded198328f216066959825950ebfbe5aef29027d 100644 (file)
@@ -2917,6 +2917,8 @@ static irqreturn_t btusb_oob_wake_handler(int irq, void *priv)
 
 static const struct of_device_id btusb_match_table[] = {
        { .compatible = "usb1286,204e" },
+       { .compatible = "usbcf3,e300" }, /* QCA6174A */
+       { .compatible = "usb4ca,301a" }, /* QCA6174A (Lite-On) */
        { }
 };
 MODULE_DEVICE_TABLE(of, btusb_match_table);