]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: re-definition for board_id in struct qca_version
authortjiang@codeaurora.org <tjiang@codeaurora.org>
Tue, 16 Nov 2021 04:48:49 +0000 (12:48 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 24 Nov 2021 15:30:45 +0000 (16:30 +0100)
commit6a54528cc9f73d0b90f5b63f802b514f61e04f57
treeaf5b809fe7e47e15ead8e6eb23ba9ab407670ad7
parent6f099927d530645f9d8ad92d278d6ea4b3fbaa61
Bluetooth: btusb: re-definition for board_id in struct qca_version

The board ID should be split into two bytes.
The 1st byte is chip ID, and the 2nd byte is platform ID.
For example, board ID 0x010A, 0x01 is platform ID. 0x0A is chip ID.
we have several platforms, and platform IDs are continuously added.
We would not distinguish different chips if we get these mixed up.
Platform ID:
0x00 is for Mobile
0x01 is for X86
0x02 is for Automotive
0x03 is for Consumer electronic

Signed-off-by: Tim Jiang <tjiang@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c