Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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