From patchwork Wed Sep 6 19:16:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1830520 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rgsb75Nmkz1yhc for ; Thu, 7 Sep 2023 05:17:55 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qdy21-0007Iw-B6; Wed, 06 Sep 2023 19:17:41 +0000 Received: from mail-oa1-f48.google.com ([209.85.160.48]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qdy1x-0007IR-Mj for kernel-team@lists.ubuntu.com; Wed, 06 Sep 2023 19:17:37 +0000 Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-1d544a4a2f2so62791fac.3 for ; Wed, 06 Sep 2023 12:17:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694027856; x=1694632656; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eC87Ky3b3Ws5F5dSsq0XL5AG1/yeJajL3ukWgXwJweg=; b=mAxvXnDg+HerzCHSFvTAM2O7aRG6wDuTbhNVfgv1ldKPeBFYYwrUmUTun+jbVbLF23 8Nrt607ZLtz4OdXoFIyMNXIQpsV0JisvpS4LpJdxzABS+ynYjJDvKfz168fowQjj+tEi dBFfUJmhELbO4j5WVJx7fESUoHYJbPYKf//IbI8Q1QVPDI8wiybVuoJvAdRIIQlJ0f2v KeI7O3QzPx3XbWyKh+SDTAJFp+mNJdN4RLJJxLjs+gUFocsp4jc/M+9GYYbDdRFwuQxs BNmGBShq1hF5cuRki53NtBw7wFrEniyaWYwu1v9243R83wcY1vDF8ZHy4JPb/xwhlkHY K1Fg== X-Gm-Message-State: AOJu0Yxy4JUjyIB5x0Wsna5njxVQYI7NaZqIp6e85M4y3xUacSpD85yY qErImPJwGoVgKTwv5CYEDGFK6tvZjRc= X-Google-Smtp-Source: AGHT+IEqFrYHsS6MYsKaIcptuukt/UJrzrGLddUcL/04U5jJIGNkicZPIG/fJPDCvKXmJ10pCnD2Dg== X-Received: by 2002:a05:6870:e6c5:b0:1be:d49b:a3c5 with SMTP id s5-20020a056870e6c500b001bed49ba3c5mr21992278oak.29.1694027855974; Wed, 06 Sep 2023 12:17:35 -0700 (PDT) Received: from localhost.localdomain (125-229-129-140.hinet-ip.hinet.net. [125.229.129.140]) by smtp.gmail.com with ESMTPSA id l194-20020a633ecb000000b0054fe7736ac1sm11526512pga.76.2023.09.06.12.17.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 12:17:35 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/2][SRU][Mantic] Bluetooth: btintel: Add support for Gale Peak Date: Thu, 7 Sep 2023 03:16:49 +0800 Message-Id: <20230906191650.247118-2-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230906191650.247118-1-vicamo.yang@canonical.com> References: <20230906191650.247118-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.160.48; envelope-from=vicamo@gmail.com; helo=mail-oa1-f48.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Kiran K BugLink: https://bugs.launchpad.net/bugs/2028065 Add hardware variant(0x1c) for Gale Peak core (CNVi). Signed-off-by: Kiran K Signed-off-by: Luiz Augusto von Dentz (cherry picked from commit 8fd791afddca273817232a0bc5260a309754330b) Signed-off-by: You-Sheng Yang --- drivers/bluetooth/btintel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c index d9349ba48281e..69f4f48c64159 100644 --- a/drivers/bluetooth/btintel.c +++ b/drivers/bluetooth/btintel.c @@ -470,6 +470,7 @@ static int btintel_version_info_tlv(struct hci_dev *hdev, case 0x18: /* Slr */ case 0x19: /* Slr-F */ case 0x1b: /* Mgr */ + case 0x1c: /* Gale Peak (GaP) */ break; default: bt_dev_err(hdev, "Unsupported Intel hardware variant (0x%x)", @@ -2528,6 +2529,7 @@ static void btintel_set_msft_opcode(struct hci_dev *hdev, u8 hw_variant) case 0x18: case 0x19: case 0x1b: + case 0x1c: hci_set_msft_opcode(hdev, 0xFC1E); break; default: @@ -2742,6 +2744,7 @@ static int btintel_setup_combined(struct hci_dev *hdev) case 0x18: case 0x19: case 0x1b: + case 0x1c: /* Display version information of TLV type */ btintel_version_info_tlv(hdev, &ver_tlv);