diff mbox series

[v2,1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names

Message ID 20240926040757.375999-1-neeraj.sanjaykale@nxp.com
State Accepted
Commit 0d439d9f96390ccff1ce98d58a1a2d00572efa27
Headers show
Series [v2,1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names | expand

Commit Message

Neeraj Sanjay Kale Sept. 26, 2024, 4:07 a.m. UTC
This updates all FW names by dropping the _v0 suffix.
Its been decided that all NXP BT/ WiFi FW names won't support _v0 suffix.
The suffix would be kept for next HW versions such as v1, v2 and so on,
which do not have backward compatible FW.

This change affects W8987, IW416 and IW615 chipsets, out of which new FW
files for W8987 and IW615 are yet to be released to broad market.

For IW416, old and new FW names are added to maintain backward
compatibility for existing customers.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
---
v2: Add a change for renaming IW615 to IW610 as a patch series.
---
 drivers/bluetooth/btnxpuart.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org Sept. 26, 2024, 8:30 p.m. UTC | #1
Hello:

This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Thu, 26 Sep 2024 09:37:56 +0530 you wrote:
> This updates all FW names by dropping the _v0 suffix.
> Its been decided that all NXP BT/ WiFi FW names won't support _v0 suffix.
> The suffix would be kept for next HW versions such as v1, v2 and so on,
> which do not have backward compatible FW.
> 
> This change affects W8987, IW416 and IW615 chipsets, out of which new FW
> files for W8987 and IW615 are yet to be released to broad market.
> 
> [...]

Here is the summary with links:
  - [v2,1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names
    https://git.kernel.org/bluetooth/bluetooth-next/c/0d9899d4df63
  - [v2,2/2] Bluetooth: btnxpuart: Rename IW615 to IW610
    https://git.kernel.org/bluetooth/bluetooth-next/c/394cf44ded5e

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
index 7c2030cec10e..19ab468498ac 100644
--- a/drivers/bluetooth/btnxpuart.c
+++ b/drivers/bluetooth/btnxpuart.c
@@ -34,16 +34,17 @@ 
 /* NXP HW err codes */
 #define BTNXPUART_IR_HW_ERR		0xb0
 
-#define FIRMWARE_W8987		"uart8987_bt_v0.bin"
+#define FIRMWARE_W8987		"uart8987_bt.bin"
 #define FIRMWARE_W8987_OLD	"uartuart8987_bt.bin"
 #define FIRMWARE_W8997		"uart8997_bt_v4.bin"
 #define FIRMWARE_W8997_OLD	"uartuart8997_bt_v4.bin"
 #define FIRMWARE_W9098		"uart9098_bt_v1.bin"
 #define FIRMWARE_W9098_OLD	"uartuart9098_bt_v1.bin"
-#define FIRMWARE_IW416		"uartiw416_bt_v0.bin"
+#define FIRMWARE_IW416		"uartiw416_bt.bin"
+#define FIRMWARE_IW416_OLD	"uartiw416_bt_v0.bin"
 #define FIRMWARE_IW612		"uartspi_n61x_v1.bin.se"
-#define FIRMWARE_IW615		"uartspi_iw610_v0.bin"
-#define FIRMWARE_SECURE_IW615	"uartspi_iw610_v0.bin.se"
+#define FIRMWARE_IW615		"uartspi_iw610.bin"
+#define FIRMWARE_SECURE_IW615	"uartspi_iw610.bin.se"
 #define FIRMWARE_IW624		"uartiw624_bt.bin"
 #define FIRMWARE_SECURE_IW624	"uartiw624_bt.bin.se"
 #define FIRMWARE_AW693		"uartaw693_bt.bin"
@@ -971,6 +972,9 @@  static char *nxp_get_old_fw_name_from_chipid(struct hci_dev *hdev, u16 chipid,
 	case CHIP_ID_W9098:
 		fw_name_old = FIRMWARE_W9098_OLD;
 		break;
+	case CHIP_ID_IW416:
+		fw_name_old = FIRMWARE_IW416_OLD;
+		break;
 	}
 	return fw_name_old;
 }