Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/linux-firmware: add WiFi and BT firmware for MT7920
@ 2026-05-25 16:40 Jan Čermák
  2026-05-30 22:02 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Čermák @ 2026-05-25 16:40 UTC (permalink / raw)
  To: buildroot; +Cc: Jan Čermák, Bernd Kuhls

Add firmware for the MediaTek MT7920 chip, which is handled by the
mt7921e driver. WiFi support was added in Linux 6.10 [1] and Bluetooth
support in Linux 6.9 [2]. The firmware files were added in [3] (WiFi)
and [4] (BT), included in linux-firmware since version 20241017.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4a40fcbfe3ab4846670b59b81c914ed7e7dac2b3
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1cb63d80fff6c4f501469e28a0eb6379639e0711
[3] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=3ce84a8dbf4a418cc982503596e481a1be84eab1
[4] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=7f9c1f1b1c0edd237c2d0b72fbc15e74be624b77

Signed-off-by: Jan Čermák <sairon@sairon.cz>
---
 package/linux-firmware/Config.in         | 10 ++++++++++
 package/linux-firmware/linux-firmware.mk | 13 +++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index 58ba60e9c3..ec13900dfb 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -94,6 +94,11 @@ config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7650
 	help
 	  Firmware files for MediaTek MT7650 bluetooth support
 
+config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7920_BT
+	bool "MediaTek MT7920"
+	help
+	  Firmware files for MediaTek MT7920 bluetooth support
+
 config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7921_BT
 	bool "MediaTek MT7921"
 	help
@@ -476,6 +481,11 @@ config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT76X2E
 	help
 	  MediaTek MT76x2e
 
+config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7920
+	bool "MediaTek MT7920"
+	help
+	  MediaTek MT7920
+
 config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7921
 	bool "MediaTek MT7921"
 	help
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index 8187d1feaf..407872e0d4 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -398,6 +398,19 @@ LINUX_FIRMWARE_FILES += mediatek/mt7662.bin mediatek/mt7662_rom_patch.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware
 endif
 
+# MT7920
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7920),y)
+LINUX_FIRMWARE_FILES += mediatek/WIFI_MT7961_patch_mcu_1a_2_hdr.bin \
+			mediatek/WIFI_RAM_CODE_MT7961_1a.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.mediatek
+endif
+
+# Mediatek MT7920 Bluetooth
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7920_BT),y)
+LINUX_FIRMWARE_FILES += mediatek/BT_RAM_CODE_MT7961_1a_2_hdr.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.mediatek
+endif
+
 # MT7921
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7921),y)
 LINUX_FIRMWARE_FILES += mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin \
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/linux-firmware: add WiFi and BT firmware for MT7920
  2026-05-25 16:40 [Buildroot] [PATCH] package/linux-firmware: add WiFi and BT firmware for MT7920 Jan Čermák
@ 2026-05-30 22:02 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-05-30 22:02 UTC (permalink / raw)
  To: Jan Čermák; +Cc: buildroot, Bernd Kuhls

On Mon, May 25, 2026 at 06:40:42PM +0200, Jan Čermák wrote:
> Add firmware for the MediaTek MT7920 chip, which is handled by the
> mt7921e driver. WiFi support was added in Linux 6.10 [1] and Bluetooth
> support in Linux 6.9 [2]. The firmware files were added in [3] (WiFi)
> and [4] (BT), included in linux-firmware since version 20241017.
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4a40fcbfe3ab4846670b59b81c914ed7e7dac2b3
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1cb63d80fff6c4f501469e28a0eb6379639e0711
> [3] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=3ce84a8dbf4a418cc982503596e481a1be84eab1
> [4] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=7f9c1f1b1c0edd237c2d0b72fbc15e74be624b77
> 
> Signed-off-by: Jan Čermák <sairon@sairon.cz>

Thanks a lot, applied to next!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-30 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-25 16:40 [Buildroot] [PATCH] package/linux-firmware: add WiFi and BT firmware for MT7920 Jan Čermák
2026-05-30 22:02 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox