Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6267535rwb; Tue, 9 Aug 2022 12:05:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR54B4bxMff5JpP/Gq6kDjRCB3FBmGeYlfHGVZTknHAMGMTZ1dT+oaIlCEfuHfIUMVNkcsu0 X-Received: by 2002:a05:6402:358a:b0:43d:aa71:3033 with SMTP id y10-20020a056402358a00b0043daa713033mr23044857edc.248.1660071908103; Tue, 09 Aug 2022 12:05:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660071908; cv=none; d=google.com; s=arc-20160816; b=IdBqNrxOiIcnIPJoISDkIjfBJGmdBYYGvDD2J0d3IqOsW2MpnBbeHHqjzZ49hO9rOm WMRyzSEO3+vHiHCVl8dIDBS0kf0gHiMdp2ihxupuzBy/gwWEBnRXGzHep/1g5U0YIq9v j2QjN70ZL3eCY+A57A+EEpNMzMe09gIrN1+dZaxrqJV2c9ze24dhgT3Y53+ZkpqAS3PO qPThSn5ogD6w8rUkb3JKyl1jMLtsLMlwA7dBWiw3BlD8ckAZO9nfp55Qac/PEzTCQyS0 fWcEMRAw7ZPCKT6PYdDjog3Ndg9NMTPFTY+/5D5hPs5XszskgQ6c+syq/S78i0VjhG4q Stfw== 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=ufmSXQKbs239QVLz/3qWXINL8q7bnVT6wu1jSLqWdCE=; b=tjNDodC//WCkibn54p76glRSCGtJE4663zN6BpRrTO+tinllot3+AuiM9dqntirOks iqBlETW7RVireHID8JlnaZ71Oe1pDZ4wS3KemVVVWWoDfw2KQbImOM+wB/O+T4idnThw vRKift2zp9lYLhYhP+rEWS7TybqH45FrWRUFuRKnnn46kORbPl67lz0a5GviW3dmk/zR hTGJ02pgd09RdxTb1C72XLDU3IDbDO2iD3BaddyKpSN/oRHrTXuksk9z64I7XKJD98yj rjDQ09qaAPbTxC3hj4DKcqaV8vaeRRR23b41jT88o1vlPhXy6ZtnIutDwunWZSAD5CdD Bk0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SV2HavKk; 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 dp21-20020a170906c15500b00731110cfdb8si2570802ejc.934.2022.08.09.12.04.41; Tue, 09 Aug 2022 12:05:08 -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=SV2HavKk; 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 S245369AbiHISPN (ORCPT + 99 others); Tue, 9 Aug 2022 14:15:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245310AbiHISMX (ORCPT ); Tue, 9 Aug 2022 14:12:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAFB32BB11; Tue, 9 Aug 2022 11:05:25 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 9894D6119E; Tue, 9 Aug 2022 18:05:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2A21C433D7; Tue, 9 Aug 2022 18:05:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660068317; bh=BX35b+r4zsQoztcqLpFxKseQW33NkBN5iCEIZWBi8PQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SV2HavKk5C3gCv9hH/Alm7hSX9v+EmBA/eQSamiFlaK00dy/t7Zr8XfPc5B/VWCqD 7IQgGzNjxgyplwe71DCPpoXq6gsiv4sYKN90zDmX4tTCK3aYslZ5eQn6cBSS4xc8eZ 543xIdPP/Eqb15Q8Pdi/yoSwaUHK1/GHFzMkOVDw= 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.15 19/30] Bluetooth: hci_bcm: Add BCM4349B1 variant Date: Tue, 9 Aug 2022 20:00:44 +0200 Message-Id: <20220809175515.008778653@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809175514.276643253@linuxfoundation.org> References: <20220809175514.276643253@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 @@ -453,6 +453,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 @@ -1515,6 +1515,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" }, { },