Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6268232rwb; Tue, 9 Aug 2022 12:05:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR687C3jbwb6iJflkIS7uuvJaSwTkQzw5wptkAYYSlKbmQwjlsY7pCI2pe1bdkXvktKi7Ra+ X-Received: by 2002:a17:906:3bd2:b0:731:3f03:1697 with SMTP id v18-20020a1709063bd200b007313f031697mr10363922ejf.289.1660071943281; Tue, 09 Aug 2022 12:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660071943; cv=none; d=google.com; s=arc-20160816; b=O5LgqMRQy0qYwxa1PIUbs8psOnixKIYy0LLptdEa6yrC8NN6ThsKxvsTvyoHT+GPxU WjY/zsSlli8qKXBgqKd9EpUuM0CfRcdY4XpIYcRUUsuwRtMlGe9ZVp48l7v6EsH+4qM8 iUlsc6W3laOO9C8LN4rR/yxQFvwn/1jL2DviCE5KZJn0oslvCPYs5Mss4zn4LOhCsY2I Ub0RzOENTZ0dynN0Zkz4FjpuRPekJ8wqDArIyzUeW26Q7NYnWDdDbDxrC1MvBct7ZLto iu2IWyXP1G9V8d6u7G8abxZnNQ0nE/kv2owvX3j9bQUo93ziFGzQTLgv7SFp8BDwOa3M 14SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+o7VusAsmId0dd4YO/845QPGGv3zi1mn4pV1zd1G0wU=; b=LrNzdX5FDoQG+VARhCkkZJtPwkyryoDFl+/ntiJn683fbsF0UfH8NYsm81Cn2PImAH RUCA0Mt9qkdt8HaKAdzYxnaHTRWuor5WXW5ifbD/MDYJR+FqRi3L+x/Br60j76wxVBXv c9mew7RjMW+9pK2FNN6djGpkM0h/IUCONr1iu9sOwV1nMag22EW5pKV9n/Rf9/YUGUug vROZbspIOthLMi4S38ai2BqTT1a8ywttfz6nnEcTNjW95UERNubckcnHVfYXUJjXpe8v Uds8/K52whtaavtCojUbHmoSN103n9iAKTfPR2zl57lkQflaPt62NK7YiCYz1tf3bvGN xvXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="B/wVlgOd"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a509f8a000000b0043e898f7840si9023316edf.449.2022.08.09.12.05.04; Tue, 09 Aug 2022 12:05:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="B/wVlgOd"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345614AbiHISOh (ORCPT + 99 others); Tue, 9 Aug 2022 14:14:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345476AbiHISLI (ORCPT ); Tue, 9 Aug 2022 14:11:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B732A966; Tue, 9 Aug 2022 11:04:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1F3CBB817AE; Tue, 9 Aug 2022 18:04:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 663C2C433B5; Tue, 9 Aug 2022 18:04:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660068266; bh=IU2D0ADdP+geLve5N2tWSOG+Jv17iYaaPpAHfQXzLiM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B/wVlgOdyng76GoNrpRYRwyMhDolLjUYCwPgRx1OqUw/+ee8dh8nxbyCzlDNx6T75 em7rC0FQzYxWC4r+8s28+bgDPgL9p44dmI/bkwxk4D1R9bo/eg7Yz4f6pp8s9qCk8D OvTb1pjcWFhJmfp6C8eywQpiHrhIpsggSlqRqeAw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ahmad Fatoum , Linus Walleij , Marcel Holtmann Subject: [PATCH 5.10 13/23] Bluetooth: hci_bcm: Add BCM4349B1 variant Date: Tue, 9 Aug 2022 20:00:31 +0200 Message-Id: <20220809175513.338294706@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809175512.853274191@linuxfoundation.org> References: <20220809175512.853274191@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ahmad Fatoum commit 4f17c2b6694d0c4098f33b07ee3a696976940aa5 upstream. The BCM4349B1, aka CYW/BCM89359, is a WiFi+BT chip and its Bluetooth portion can be controlled over serial. Two subversions are added for the chip, because ROM firmware reports 002.002.013 (at least for the chips I have here), while depending on patchram firmware revision, either 002.002.013 or 002.002.014 is reported. Signed-off-by: Ahmad Fatoum Reviewed-by: Linus Walleij Signed-off-by: Marcel Holtmann Signed-off-by: Greg Kroah-Hartman --- drivers/bluetooth/btbcm.c | 2 ++ drivers/bluetooth/hci_bcm.c | 1 + 2 files changed, 3 insertions(+) --- a/drivers/bluetooth/btbcm.c +++ b/drivers/bluetooth/btbcm.c @@ -401,6 +401,8 @@ static const struct bcm_subver_table bcm { 0x6606, "BCM4345C5" }, /* 003.006.006 */ { 0x230f, "BCM4356A2" }, /* 001.003.015 */ { 0x220e, "BCM20702A1" }, /* 001.002.014 */ + { 0x420d, "BCM4349B1" }, /* 002.002.013 */ + { 0x420e, "BCM4349B1" }, /* 002.002.014 */ { 0x4217, "BCM4329B1" }, /* 002.002.023 */ { 0x6106, "BCM4359C0" }, /* 003.001.006 */ { 0x4106, "BCM4335A0" }, /* 002.001.006 */ --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -1489,6 +1489,7 @@ static const struct of_device_id bcm_blu { .compatible = "brcm,bcm4345c5" }, { .compatible = "brcm,bcm4330-bt" }, { .compatible = "brcm,bcm43438-bt", .data = &bcm43438_device_data }, + { .compatible = "brcm,bcm4349-bt", .data = &bcm43438_device_data }, { .compatible = "brcm,bcm43540-bt", .data = &bcm4354_device_data }, { .compatible = "brcm,bcm4335a0" }, { },