Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: btintel: Add DSBR support for ScP

Add DSBR support for Scorpious Peak cores.

Refer commit eb9e749c0182 ("Bluetooth: btintel: Allow configuring drive
strength of BRI") for details about DSBR.

Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Kiran K and committed by
Luiz Augusto von Dentz
bb3569ac 461159ec

+6
+5
drivers/bluetooth/btintel.c
··· 2757 2757 /* DSBR command needs to be sent for, 2758 2758 * 1. BlazarI or BlazarIW + B0 step product in IML image. 2759 2759 * 2. Gale Peak2 or BlazarU in OP image. 2760 + * 3. Scorpious Peak in IML image. 2760 2761 */ 2761 2762 2762 2763 switch (cnvi) { ··· 2771 2770 case BTINTEL_CNVI_BLAZARU: 2772 2771 if (ver->img_type == BTINTEL_IMG_OP && 2773 2772 hdev->bus == HCI_USB) 2773 + break; 2774 + return 0; 2775 + case BTINTEL_CNVI_SCP: 2776 + if (ver->img_type == BTINTEL_IMG_IML) 2774 2777 break; 2775 2778 return 0; 2776 2779 default:
+1
drivers/bluetooth/btintel.h
··· 56 56 #define BTINTEL_CNVI_BLAZARIW 0x901 57 57 #define BTINTEL_CNVI_GAP 0x910 58 58 #define BTINTEL_CNVI_BLAZARU 0x930 59 + #define BTINTEL_CNVI_SCP 0xA00 59 60 60 61 #define BTINTEL_IMG_BOOTLOADER 0x01 /* Bootloader image */ 61 62 #define BTINTEL_IMG_IML 0x02 /* Intermediate image */