package/linux-firmware: add RTL87XX/RTL88XX Bluetooth firmware
authorStefan Agner <stefan@agner.ch>
Fri, 19 Mar 2021 09:38:07 +0000 (10:38 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 19 Mar 2021 20:15:09 +0000 (21:15 +0100)
Add firmware files for Realtek 87XX and 88XX Bluetooth chipsets. Those
are supported by the upstream Realtek Bluetooth driver CONFIG_BT_RTL.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index a41310ff2a9ee300e282bd34a04b91318807b368..ba3322fa189f952a1c1a01113f294131bb5fef02 100644 (file)
@@ -79,6 +79,16 @@ config BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB
        help
          Firmware files for Atheros bluetooth chipset AR3012 on USB.
 
+config BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT
+       bool "Realtek 87xx Bluetooth"
+       help
+         Realtek 8723a/8723b/8723bs/8723d/8723ds/8761a
+
+config BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT
+       bool "Realtek 88xx Bluetooth"
+       help
+         Realtek 8821a/8821c/8822b/8822cs/8822cu/8852au
+
 config BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560
        bool "TI CC2560"
        help
index 6652758c87e44b256ee7915b75e78779e536088b..edb0f405940a7e35df75f2355b4455923d1a46f6 100644 (file)
@@ -65,6 +65,27 @@ LINUX_FIRMWARE_FILES += qca/rampatch_usb_00000302.bin qca/nvm_usb_00000302.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom
 endif
 
+# Realtek 87xx Bluetooth
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT),y)
+LINUX_FIRMWARE_FILES += \
+       rtl_bt/rtl8723a_fw.bin rtl_bt/rtl8723b_fw.bin \
+       rtl_bt/rtl8723bs_config-OBDA8723.bin \
+       rtl_bt/rtl8723bs_fw.bin rtl_bt/rtl8723d_config.bin \
+       rtl_bt/rtl8723d_fw.bin rtl_bt/rtl8761a_fw.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
+endif
+
+# Realtek 88xx Bluetooth
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT),y)
+LINUX_FIRMWARE_FILES += \
+       rtl_bt/rtl8812ae_fw.bin rtl_bt/rtl8821a_fw.bin \
+       rtl_bt/rtl8821c_config.bin rtl_bt/rtl8821c_fw.bin \
+       rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin \
+       rtl_bt/rtl8822cs_config.bin rtl_bt/rtl8822cs_fw.bin \
+       rtl_bt/rtl8822cu_config.bin rtl_bt/rtl8822cu_fw.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
+endif
+
 # rt2501/rt61
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y)
 LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin