* [PATCH v1 1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset
@ 2024-07-04 13:20 Neeraj Sanjay Kale
2024-07-04 13:20 ` [PATCH v1 2/2] Bluetooth: btnxpuart: Add support for IW615 chipset Neeraj Sanjay Kale
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Neeraj Sanjay Kale @ 2024-07-04 13:20 UTC (permalink / raw)
To: marcel, luiz.dentz
Cc: linux-bluetooth, linux-kernel, amitkumar.karwar, rohit.fule,
neeraj.sanjaykale, sherry.sun, ziniu.wang_1, haibo.chen, LnxRevLi
This adds support for AW693 A1 chipset with it's bootloader signature
and firmware file.
No firmware name change needed for AW693 A0 chipset.
Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
---
drivers/bluetooth/btnxpuart.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
index da18fd4f54f3..e81c995748da 100644
--- a/drivers/bluetooth/btnxpuart.c
+++ b/drivers/bluetooth/btnxpuart.c
@@ -46,6 +46,8 @@
#define FIRMWARE_SECURE_IW624 "uartiw624_bt.bin.se"
#define FIRMWARE_AW693 "uartaw693_bt.bin"
#define FIRMWARE_SECURE_AW693 "uartaw693_bt.bin.se"
+#define FIRMWARE_AW693_A1 "uartaw693_bt_v1.bin"
+#define FIRMWARE_SECURE_AW693_A1 "uartaw693_bt_v1.bin.se"
#define FIRMWARE_HELPER "helper_uart_3000000.bin"
#define CHIP_ID_W9098 0x5c03
@@ -53,7 +55,8 @@
#define CHIP_ID_IW612 0x7601
#define CHIP_ID_IW624a 0x8000
#define CHIP_ID_IW624c 0x8001
-#define CHIP_ID_AW693 0x8200
+#define CHIP_ID_AW693a0 0x8200
+#define CHIP_ID_AW693a1 0x8201
#define FW_SECURE_MASK 0xc0
#define FW_OPEN 0x00
@@ -906,7 +909,7 @@ 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_AW693:
+ case CHIP_ID_AW693a0:
if ((loader_ver & FW_SECURE_MASK) == FW_OPEN)
fw_name = FIRMWARE_AW693;
else if ((loader_ver & FW_SECURE_MASK) != FW_AUTH_ILLEGAL)
@@ -914,6 +917,14 @@ 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_AW693a1:
+ if ((loader_ver & FW_SECURE_MASK) == FW_OPEN)
+ fw_name = FIRMWARE_AW693_A1;
+ else if ((loader_ver & FW_SECURE_MASK) != FW_AUTH_ILLEGAL)
+ fw_name = FIRMWARE_SECURE_AW693_A1;
+ else
+ bt_dev_err(hdev, "Illegal loader version %02x", loader_ver);
+ break;
default:
bt_dev_err(hdev, "Unknown chip signature %04x", chipid);
break;
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH v1 2/2] Bluetooth: btnxpuart: Add support for IW615 chipset
2024-07-04 13:20 [PATCH v1 1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset Neeraj Sanjay Kale
@ 2024-07-04 13:20 ` Neeraj Sanjay Kale
2024-07-04 13:58 ` [v1,1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset bluez.test.bot
2024-07-09 15:00 ` [PATCH v1 1/2] " patchwork-bot+bluetooth
2 siblings, 0 replies; 4+ messages in thread
From: Neeraj Sanjay Kale @ 2024-07-04 13:20 UTC (permalink / raw)
To: marcel, luiz.dentz
Cc: linux-bluetooth, linux-kernel, amitkumar.karwar, rohit.fule,
neeraj.sanjaykale, sherry.sun, ziniu.wang_1, haibo.chen, LnxRevLi
This adds support for IW615 chipset with it's bootloader signature
and firmware file.
Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
---
drivers/bluetooth/btnxpuart.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
index e81c995748da..e9c2f2f7acc6 100644
--- a/drivers/bluetooth/btnxpuart.c
+++ b/drivers/bluetooth/btnxpuart.c
@@ -42,6 +42,8 @@
#define FIRMWARE_W9098_OLD "uartuart9098_bt_v1.bin"
#define FIRMWARE_IW416 "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_IW624 "uartiw624_bt.bin"
#define FIRMWARE_SECURE_IW624 "uartiw624_bt.bin.se"
#define FIRMWARE_AW693 "uartaw693_bt.bin"
@@ -57,6 +59,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 FW_SECURE_MASK 0xc0
#define FW_OPEN 0x00
@@ -925,6 +929,15 @@ 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:
+ if ((loader_ver & FW_SECURE_MASK) == FW_OPEN)
+ fw_name = FIRMWARE_IW615;
+ else if ((loader_ver & FW_SECURE_MASK) != FW_AUTH_ILLEGAL)
+ fw_name = FIRMWARE_SECURE_IW615;
+ else
+ bt_dev_err(hdev, "Illegal loader version %02x", loader_ver);
+ break;
default:
bt_dev_err(hdev, "Unknown chip signature %04x", chipid);
break;
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [v1,1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset
2024-07-04 13:20 [PATCH v1 1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset Neeraj Sanjay Kale
2024-07-04 13:20 ` [PATCH v1 2/2] Bluetooth: btnxpuart: Add support for IW615 chipset Neeraj Sanjay Kale
@ 2024-07-04 13:58 ` bluez.test.bot
2024-07-09 15:00 ` [PATCH v1 1/2] " patchwork-bot+bluetooth
2 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2024-07-04 13:58 UTC (permalink / raw)
To: linux-bluetooth, neeraj.sanjaykale
[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=868459
---Test result---
Test Summary:
CheckPatch PASS 0.96 seconds
GitLint PASS 0.39 seconds
SubjectPrefix PASS 0.11 seconds
BuildKernel PASS 31.41 seconds
CheckAllWarning PASS 33.73 seconds
CheckSparse PASS 39.61 seconds
CheckSmatch PASS 105.93 seconds
BuildKernel32 PASS 29.86 seconds
TestRunnerSetup PASS 546.30 seconds
TestRunner_l2cap-tester PASS 20.41 seconds
TestRunner_iso-tester PASS 35.91 seconds
TestRunner_bnep-tester PASS 4.93 seconds
TestRunner_mgmt-tester FAIL 116.37 seconds
TestRunner_rfcomm-tester PASS 8.46 seconds
TestRunner_sco-tester PASS 15.21 seconds
TestRunner_ioctl-tester PASS 8.06 seconds
TestRunner_mesh-tester PASS 6.07 seconds
TestRunner_smp-tester PASS 7.00 seconds
TestRunner_userchan-tester PASS 5.08 seconds
IncrementalBuild PASS 33.04 seconds
Details
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 492, Passed: 488 (99.2%), Failed: 2, Not Run: 2
Failed Test Cases
LL Privacy - Add Device 5 (2 Devices to RL) Failed 0.176 seconds
LL Privacy - Add Device 7 (AL is full) Failed 0.203 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset
2024-07-04 13:20 [PATCH v1 1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset Neeraj Sanjay Kale
2024-07-04 13:20 ` [PATCH v1 2/2] Bluetooth: btnxpuart: Add support for IW615 chipset Neeraj Sanjay Kale
2024-07-04 13:58 ` [v1,1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset bluez.test.bot
@ 2024-07-09 15:00 ` patchwork-bot+bluetooth
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+bluetooth @ 2024-07-09 15:00 UTC (permalink / raw)
To: Neeraj Sanjay Kale
Cc: marcel, luiz.dentz, linux-bluetooth, linux-kernel,
amitkumar.karwar, rohit.fule, 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, 4 Jul 2024 18:50:57 +0530 you wrote:
> This adds support for AW693 A1 chipset with it's bootloader signature
> and firmware file.
>
> No firmware name change needed for AW693 A0 chipset.
>
> Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
>
> [...]
Here is the summary with links:
- [v1,1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset
https://git.kernel.org/bluetooth/bluetooth-next/c/bb05292409dd
- [v1,2/2] Bluetooth: btnxpuart: Add support for IW615 chipset
https://git.kernel.org/bluetooth/bluetooth-next/c/203641085e98
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] 4+ messages in thread
end of thread, other threads:[~2024-07-09 15:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04 13:20 [PATCH v1 1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset Neeraj Sanjay Kale
2024-07-04 13:20 ` [PATCH v1 2/2] Bluetooth: btnxpuart: Add support for IW615 chipset Neeraj Sanjay Kale
2024-07-04 13:58 ` [v1,1/2] Bluetooth: btnxpuart: Add support for AW693 A1 chipset bluez.test.bot
2024-07-09 15:00 ` [PATCH v1 1/2] " patchwork-bot+bluetooth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.