* [PATCH v2 1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names
@ 2024-09-26 4:07 Neeraj Sanjay Kale
2024-09-26 4:07 ` [PATCH v2 2/2] Bluetooth: btnxpuart: Rename IW615 to IW610 Neeraj Sanjay Kale
2024-09-26 20:30 ` [PATCH v2 1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Neeraj Sanjay Kale @ 2024-09-26 4:07 UTC (permalink / raw)
To: marcel, luiz.dentz
Cc: linux-bluetooth, linux-kernel, amitkumar.karwar, rohit.fule,
neeraj.sanjaykale, yuzhi.jin, sherry.sun, ziniu.wang_1,
haibo.chen, LnxRevLi
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(-)
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;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] Bluetooth: btnxpuart: Rename IW615 to IW610
2024-09-26 4:07 [PATCH v2 1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names Neeraj Sanjay Kale
@ 2024-09-26 4:07 ` Neeraj Sanjay Kale
2024-09-26 20:30 ` [PATCH v2 1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: Neeraj Sanjay Kale @ 2024-09-26 4:07 UTC (permalink / raw)
To: marcel, luiz.dentz
Cc: linux-bluetooth, linux-kernel, amitkumar.karwar, rohit.fule,
neeraj.sanjaykale, yuzhi.jin, sherry.sun, ziniu.wang_1,
haibo.chen, LnxRevLi
This changes the chip name of IW615 to IW610.
IW610 (formerly called IW615) is yet to be released to broad market,
hence there is no issue of backward compatibility.
Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
---
drivers/bluetooth/btnxpuart.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
index 19ab468498ac..2b8a07c745c9 100644
--- a/drivers/bluetooth/btnxpuart.c
+++ b/drivers/bluetooth/btnxpuart.c
@@ -43,8 +43,8 @@
#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.bin"
-#define FIRMWARE_SECURE_IW615 "uartspi_iw610.bin.se"
+#define FIRMWARE_IW610 "uartspi_iw610.bin"
+#define FIRMWARE_SECURE_IW610 "uartspi_iw610.bin.se"
#define FIRMWARE_IW624 "uartiw624_bt.bin"
#define FIRMWARE_SECURE_IW624 "uartiw624_bt.bin.se"
#define FIRMWARE_AW693 "uartaw693_bt.bin"
@@ -60,8 +60,8 @@
#define CHIP_ID_IW624c 0x8001
#define CHIP_ID_AW693a0 0x8200
#define CHIP_ID_AW693a1 0x8201
-#define CHIP_ID_IW615a0 0x8800
-#define CHIP_ID_IW615a1 0x8801
+#define CHIP_ID_IW610a0 0x8800
+#define CHIP_ID_IW610a1 0x8801
#define FW_SECURE_MASK 0xc0
#define FW_OPEN 0x00
@@ -947,12 +947,12 @@ static char *nxp_get_fw_name_from_chipid(struct hci_dev *hdev, u16 chipid,
else
bt_dev_err(hdev, "Illegal loader version %02x", loader_ver);
break;
- case CHIP_ID_IW615a0:
- case CHIP_ID_IW615a1:
+ case CHIP_ID_IW610a0:
+ case CHIP_ID_IW610a1:
if ((loader_ver & FW_SECURE_MASK) == FW_OPEN)
- fw_name = FIRMWARE_IW615;
+ fw_name = FIRMWARE_IW610;
else if ((loader_ver & FW_SECURE_MASK) != FW_AUTH_ILLEGAL)
- fw_name = FIRMWARE_SECURE_IW615;
+ fw_name = FIRMWARE_SECURE_IW610;
else
bt_dev_err(hdev, "Illegal loader version %02x", loader_ver);
break;
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names
2024-09-26 4:07 [PATCH v2 1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names Neeraj Sanjay Kale
2024-09-26 4:07 ` [PATCH v2 2/2] Bluetooth: btnxpuart: Rename IW615 to IW610 Neeraj Sanjay Kale
@ 2024-09-26 20:30 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2024-09-26 20:30 UTC (permalink / raw)
To: Neeraj Sanjay Kale
Cc: marcel, luiz.dentz, linux-bluetooth, linux-kernel,
amitkumar.karwar, rohit.fule, yuzhi.jin, sherry.sun, ziniu.wang_1,
haibo.chen, LnxRevLi
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-26 20:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-26 4:07 [PATCH v2 1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names Neeraj Sanjay Kale
2024-09-26 4:07 ` [PATCH v2 2/2] Bluetooth: btnxpuart: Rename IW615 to IW610 Neeraj Sanjay Kale
2024-09-26 20:30 ` [PATCH v2 1/2] Bluetooth: btnxpuart: Drop _v0 suffix from FW names patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox