Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp943641ybc; Tue, 19 Nov 2019 11:48:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyE9YfR32aaVCJtAuk6ohSfp9p9w6Isom/YiOxQkuhWjoq+xmjcHH1o9rPoavR81ONcOESy X-Received: by 2002:a17:906:f24d:: with SMTP id gy13mr36964651ejb.159.1574192920435; Tue, 19 Nov 2019 11:48:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574192920; cv=none; d=google.com; s=arc-20160816; b=AhBsttVfsoQF3DM6/dFLddspzBlpj0quMO5oFYt7xgDIINWmhc77jaHRfbSlKServQ dc19ZXm6Z+DoABBcExms5b3och+qDeJwY1fLAlwa1Ybn/MIwdgScgGU5Z4kt4lCJd7Jq 9KMIzi9q2oqgkGE3pT3q9YPtYMaMNMZnrlusT15BbnYIoqt6T7vUNjCmsTLIv5OfMCNY FnV8gtdm1Kn4BJPEK3n678joztAYkzpodg2KRu67gEWuwKKtRRRma700G9916pUtHgeJ tG+C0prajwbtaZvOvlk5/kmQ2vs67FGnOW/kmIQAPzUIRq0L2hl2BVi4dsY2XqdoVPhX 1cmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dUeJQy60Ws4vwGxiaFjACtSjG8oIrIuzPKifgrc5ops=; b=TsMxzGeIYQlehHglhWJOCS3dW4H+dnb0Pstmc0FoujFEKRtDUzJk2BrAGCKGl97f9/ RqTDlcIPOzq39U5fC4yavcG2CEdJw1WJ660IzFwR/zTFLnlVX1iCkeRO81fpNutk0TGC QBfXXcyrCHrPhcSSN7FmO8qQhhACCf6xgAtxXAPaHgKgCW52IhtDt1Xg0oQsBQrN3r+B h9UvsajQezkl2x+HJXXtK1p1WYwtNIOL+Sjez7s1x7HWDhxcLevMPnb12Tif2oHDSbQk S5hvXtvwrA3iNFGf9VrFR5H7UQjgVwy7zVPg7o+LL8kX6rhHX2R72092ag+aTi0qKPNr teNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=It1oHMG2; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mj3si14193809ejb.381.2019.11.19.11.48.01; Tue, 19 Nov 2019 11:48:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=It1oHMG2; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726948AbfKSTqu (ORCPT + 99 others); Tue, 19 Nov 2019 14:46:50 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40257 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726792AbfKSTqu (ORCPT ); Tue, 19 Nov 2019 14:46:50 -0500 Received: by mail-wr1-f68.google.com with SMTP id q15so12546664wrw.7 for ; Tue, 19 Nov 2019 11:46:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dUeJQy60Ws4vwGxiaFjACtSjG8oIrIuzPKifgrc5ops=; b=It1oHMG2OfngIKRNudtt4wJf/25BpMMuIFm6qnbChTAO5c6Pen+P28bJ4TXubD1k0D LPoPEzNtom2aPymloDHKhmqqjp/KU/fgsnTe5lR6eDgOg9iBAwQWAFX9/b7MqnuFhcir G/ggdKNRGtth5vHu8TIFYhsyxtWW2Qocx/OpKwBxjKNMtEpWyBgoTdRhviLPy81omzHp HEkdPgjf1aEBN6dxAfC6GCtRrigVhgCkIAEfJevNtsOy4FvJNTtalFfa/YbF6vwfjp87 +8vIQN9mqShe4WcJdFgcfmJzcsWsuYumUlyUceVFsAQQmzae1i1w/uL9qv0DIjtMMPIw QkYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dUeJQy60Ws4vwGxiaFjACtSjG8oIrIuzPKifgrc5ops=; b=G2cF4wckQX83RvE1Pz+F3TpCy4Du0nH/QphOx4f+tBgusQJnt8EXIT0RlwxESk+QYe q4Vn1q4bDYHPq05uGfSrH3uYbbpWTnK05BbNH+qae3apHvQZE6qLKVtyYlpoqF1v4t7R 9D4DPGldO4ufWNceMghTZcZjxHbCd0xXzFViMka6p50Z/Qx3xZPs4Imci9dsI70Wj1AN 68WfORrwGiWQub6sPnkXLNnL8GKgawFJHQkj7ZHasUiwH0/A9wo9z+C5AnTnUzxlXIlG 87qjmJaAX3duaPHgGeGX9ko+DVAoxr1jELCoxI0Dlrpl6KchGTe1RbipxMDzkkGw98Tm M16w== X-Gm-Message-State: APjAAAURP4vmn4CcrH6cn6hAZ1XFGGf9XgfGkU65IeMXwZTQdTBgv9m2 oOKfpKrSnZ7A9XuouOIn921Wtd393mo= X-Received: by 2002:a5d:5262:: with SMTP id l2mr38638560wrc.315.1574192807454; Tue, 19 Nov 2019 11:46:47 -0800 (PST) Received: from localhost ([37.238.189.2]) by smtp.gmail.com with ESMTPSA id y16sm28278954wro.25.2019.11.19.11.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2019 11:46:46 -0800 (PST) From: Mohammad Rasim To: linux-bluetooth@vger.kernel.org, Johan Hedberg , Marcel Holtmann Cc: Mohammad Rasim Subject: [PATCH 2/2] Bluetooth: btbcm: Add entry for BCM4335A0 UART bluetooth Date: Tue, 19 Nov 2019 22:46:38 +0300 Message-Id: <20191119194638.4967-3-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119194638.4967-1-mohammad.rasim96@gmail.com> References: <20191119194638.4967-1-mohammad.rasim96@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch adds the device ID for the BCM4335A0 module (part of the AMPAK AP6335 WIFI/Bluetooth combo) hciconfig output: ``` hci1: Type: Primary Bus: UART BD Address: 43:35:B0:07:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:5079 acl:0 sco:0 events:567 errors:0 TX bytes:69065 acl:0 sco:0 commands:567 errors:0 Features: 0xbf 0xfe 0xcf 0xff 0xdf 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'alarm' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 4.0 (0x6) Revision: 0x161 LMP Version: 4.0 (0x6) Subversion: 0x4106 Manufacturer: Broadcom Corporation (15) ``` Signed-off-by: Mohammad Rasim --- drivers/bluetooth/btbcm.c | 1 + drivers/bluetooth/hci_bcm.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c index 2d2e6d862068..22464bf8cda3 100644 --- a/drivers/bluetooth/btbcm.c +++ b/drivers/bluetooth/btbcm.c @@ -339,6 +339,7 @@ static const struct bcm_subver_table bcm_uart_subver_table[] = { { 0x220e, "BCM20702A1" }, /* 001.002.014 */ { 0x4217, "BCM4329B1" }, /* 002.002.023 */ { 0x6106, "BCM4359C0" }, /* 003.001.006 */ + { 0x4106, "BCM4335A0" }, /* 002.001.006 */ { } }; diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index 7646636f2d18..7eba10b0ae6c 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -1422,6 +1422,7 @@ static const struct of_device_id bcm_bluetooth_of_match[] = { { .compatible = "brcm,bcm4345c5" }, { .compatible = "brcm,bcm4330-bt" }, { .compatible = "brcm,bcm43438-bt" }, + { .compatible = "brcm,bcm4335a0" }, { }, }; MODULE_DEVICE_TABLE(of, bcm_bluetooth_of_match); -- 2.24.0