Skip to contentSkip to conversation

package/linux-firmware: Add options for ar301[12] bluetooth firmware.

PATCH New Nicolas Cavallari 2 participants 2 messages Nov 29, 2019 – Dec 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linux-firmware: Add options for ar301[12] bluetooth firmware.

This add two options for firmwares used by the ath3k firmware loader driver.

---
 package/linux-firmware/Config.in         | 10 ++++++++
 package/linux-firmware/linux-firmware.mk | 31 ++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
package/linux-firmware/Config.in +10 -0
index f2658a97da..9d142d2c54 100644
@@ -64,6 +64,16 @@ config BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174A_BT
 	help
 	  Firmware files for QCA Rome 6174A bluetooth support.
 
+config BR2_PACKAGE_LINUX_FIRMWARE_AR3011
+	bool "Qualcomm Atheros 3011"
+	help
+	  Firmware files for Atheros bluetooth chipset AR3011.
+
+config BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB
+	bool "Qualcomm Atheros 3012 (USB)"
+	help
+	  Firmware files for Atheros bluetooth chipset AR3012 on USB.
+
 config BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560
 	bool "TI CC2560"
 	help
package/linux-firmware/linux-firmware.mk +31 -0
index 5596651532..9d86ce57b2 100644
@@ -114,6 +114,37 @@ LINUX_FIRMWARE_FILES += \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
 endif
 
+# ar3011
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3011),y)
+LINUX_FIRMWARE_FILES += ath3k-1.fw
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
+endif
+
+# ar3012
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB),y)
+LINUX_FIRMWARE_FILES += \
+	ar3k/AthrBT_0x01020001.dfu \
+	ar3k/ramps_0x01020001_26.dfu \
+	ar3k/AthrBT_0x01020200.dfu \
+	ar3k/ramps_0x01020200_26.dfu \
+	ar3k/ramps_0x01020200_40.dfu \
+	ar3k/AthrBT_0x31010000.dfu \
+	ar3k/ramps_0x31010000_40.dfu \
+	ar3k/AthrBT_0x11020000.dfu \
+	ar3k/ramps_0x11020000_40.dfu \
+	ar3k/ramps_0x01020201_26.dfu \
+	ar3k/ramps_0x01020201_40.dfu \
+	ar3k/AthrBT_0x41020000.dfu \
+	ar3k/ramps_0x41020000_40.dfu \
+	ar3k/AthrBT_0x11020100.dfu \
+	ar3k/ramps_0x11020100_40.dfu \
+	ar3k/AthrBT_0x31010100.dfu \
+	ar3k/ramps_0x31010100_40.dfu \
+	ar3k/AthrBT_0x01020201.dfu
+LINUX_FIRMWARE_ALL_LICENSE_FILES += \
+	LICENCE.atheros_firmware LICENSE.QualcommAtheros_ar3k
+endif
+
 # ar6002
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002),y)
 LINUX_FIRMWARE_FILES += ath6k/AR6002
Signature · 1 line
2.24.0
#1 lore raw

PATCH 1/1 package/linux-firmware: Add options for ar301[12] bluetooth firmware.

Quoted 4 lines · On Fri, 29 Nov 2019 17:31:44 +0100 Nicolas Cavallari…

This add two options for firmwares used by the ath3k firmware loader driver.

Thanks, I've applied, but after doing two changes:

(1) Split into two commits, one for the AR3011 firmware and one for the AR3012 firmware. These are independent things, so they should be added by two independent commits

(2) Add the hash of the additional license file you're using for AR3012, LICENSE.QualcommAtheros_ar3k

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com