brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · f546b1f Raw
45 lines · plain
1Generic Bluetooth controller over USB (btusb driver)2---------------------------------------------------3 4Required properties:5 6  - compatible : should comply with the format "usbVID,PID" specified in7		 Documentation/devicetree/bindings/usb/usb-device.yaml8		 At the time of writing, the only OF supported devices9		 (more may be added later) are:10 11		  "usb1286,204e" (Marvell 8997)12		  "usbcf3,e300" (Qualcomm QCA6174A)13		  "usb4ca,301a" (Qualcomm QCA6174A (Lite-On))14 15 16Also, vendors that use btusb may have device additional properties, e.g:17Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt18 19Optional properties:20 21  - interrupt-names: (see below)22  - interrupts : The interrupt specified by the name "wakeup" is the interrupt23		 that shall be used for out-of-band wake-on-bt. Driver will24		 request this interrupt for wakeup. During system suspend, the25		 irq will be enabled so that the bluetooth chip can wakeup host26		 platform out of band. During system resume, the irq will be27		 disabled to make sure unnecessary interrupt is not received.28 29Example:30 31Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt:32 33&usb_host1_ehci {34    #address-cells = <1>;35    #size-cells = <0>;36 37    mvl_bt1: bt@1 {38	compatible = "usb1286,204e";39	reg = <1>;40	interrupt-parent = <&gpio0>;41	interrupt-names = "wakeup";42	interrupts = <3 IRQ_TYPE_LEVEL_LOW>;43    };44};45