]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btnxpuart: Update firmware names
authorNeeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Fri, 14 Jun 2024 08:49:41 +0000 (14:19 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 01:34:37 +0000 (21:34 -0400)
commitcb24bb7e6f8ae569c699f569ac4b5093606dca49
tree2c017dc3b77093b46a7fc38aa0c303efc8d9066b
parent921825453873a15e8c83d6c171f0a6cf128fc963
Bluetooth: btnxpuart: Update firmware names

This updates the firmware names of 3 chipsets: w8987, w8997, w9098.
These changes are been done to standardize chip specific firmware
file names to be in sync with firmware names of newer chipsets.

The naming convention for BT-only files would be as follows:
For dual-radio WiFi+BT chipsets:
- <protocol-BT><chip-name>_bt_v<HW-version>.bin
For tri-radio WiFi+BT+15.4 chipsets:
- <protocol-BT><protocol-15.4><chip-name>_bt_v<HW-version>.bin

To maintain backward compatibility, this commit adds a provision to
request older firmware file name, if new firmware file name not found in
/lib/firmware/nxp/.

A new device tree property has been introduced called firmware-name, to
override the hardcoded firmware names (old and new) in the driver.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btnxpuart.c