Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp177653imd; Wed, 31 Oct 2018 16:53:07 -0700 (PDT) X-Google-Smtp-Source: AJdET5eS8ycWa+KHr6UFEKemmjvpxUX3GsuV8vjZIrQA3GaAMK6PdCSe7mhIW1JNwreHSD6/+s9Y X-Received: by 2002:a17:902:9a47:: with SMTP id x7-v6mr5390265plv.316.1541029986961; Wed, 31 Oct 2018 16:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541029986; cv=none; d=google.com; s=arc-20160816; b=oaTEl3Q9JnWOwSKflOvMQ3GytJMR+xUbvEI1btBPttmS5nJbkWvBkPRoER3qxABRkC lQHaOCryG0yrYmr+o1HejwkqN7Dsp4Ke+xVrzS0C9ISN/9w6z3L/InPxoxGdEm6/vPzB ttHOjoJk1M31hdhqLBxSCHDgwL419QWMCQnvd7BOYZi8bREys5kcfARpjj84GYHkLh8/ a1iosL1gX0NSBzgB4n40RbHAow8xs8SGdpVrTO7zJQs/tiwbeEjEhe99q8JwOHurgHlS 9ZXDxwIURDKauFe2U8ql+cQrtVFVA9XgWop1gz2KzvB4DbXv6dmHSX0jVPgDYQ5FTALR 6yvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=CNfkZN8MOrELtiPq9+Q8r4w0qqb3mqU+6AAvaDq/a/w=; b=m4F3Wxjislr+oZam9M8Psz4gjOPXUT5cY3/QI0eayyl4WL5q2vO3kr38K6yZRXT9yd Up+oBV6NXXY27K+DVW0GVqNJAx0F+Kx6a6eGsGGVROSsSR3Da5y21gggGwEeK6j8Mjyy txmLuAxUcv8flSd248x3DMUJaPoA53Qvnko7k2GsrMEgF558aUFAyPloNGoMd9v+fQkb UJQmT28Z6fLZsm8rUbAOEqeepYzoyD7sUp+JCbXNhb9VYvUKb9vSbX1bmznuRRCS9Shg Qz00q1E6s/KPipqeiHPDCHQBhFDPhIbaQi0OIGQEilU39TNm+KPX24l0Wx5Dkk5HMFvu wHhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="cxnr7m/U"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g35-v6si28085991pgm.514.2018.10.31.16.52.46; Wed, 31 Oct 2018 16:53:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@kernel.org header.s=default header.b="cxnr7m/U"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728109AbeKAIGf (ORCPT + 99 others); Thu, 1 Nov 2018 04:06:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:53504 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728040AbeKAIGe (ORCPT ); Thu, 1 Nov 2018 04:06:34 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B278020838; Wed, 31 Oct 2018 23:06:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541027184; bh=rG4g6nUsKCq0+j9skxf6lMLY2Qbnu4BHw8qfLExOQ7g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cxnr7m/UOrru5T7f4CHhmPBnvYibSMWvXdhM02IXZV8vsVcg9rn+dzDTCUjnWQPl+ wc7ly96/DaoN3wWcnMFTm0GBIkpWUeIgAvSsa6+NaGigIqjUZbBLhIhtgCTlSE/2wo 2Vt+xTD5a9n9u/KUb0Nig3b8dpm2Fb2aKmpVt2sw= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt , Marcel Holtmann , Sasha Levin Subject: [PATCH AUTOSEL 4.19 046/146] Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth Date: Wed, 31 Oct 2018 19:04:01 -0400 Message-Id: <20181031230541.28822-46-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181031230541.28822-1-sashal@kernel.org> References: <20181031230541.28822-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christian Hewitt [ Upstream commit a357ea098c9605f60d92a66a9073f56ce25726da ] This patch adds the device ID for the AMPAK AP6335 combo module used in the 1st generation WeTek Hub Android/LibreELEC HTPC box. The WiFI chip identifies itself as BCM4339, while Bluetooth identifies itself as BCM4335 (rev C0): ``` [ 4.864248] Bluetooth: hci0: BCM: chip id 86 [ 4.866388] Bluetooth: hci0: BCM: features 0x2f [ 4.889317] Bluetooth: hci0: BCM4335C0 [ 4.889332] Bluetooth: hci0: BCM4335C0 (003.001.009) build 0000 [ 9.778383] Bluetooth: hci0: BCM4335C0 (003.001.009) build 0268 ``` Output from hciconfig: ``` hci0: Type: Primary Bus: UART BD Address: 43:39:00:00:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:7567 acl:234 sco:0 events:386 errors:0 TX bytes:53844 acl:77 sco:0 commands:304 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'HUB' Class: 0x0c0000 Service Classes: Rendering, Capturing Device Class: Miscellaneous, HCI Version: 4.0 (0x6) Revision: 0x10c LMP Version: 4.0 (0x6) Subversion: 0x6109 Manufacturer: Broadcom Corporation (15) ``` Signed-off-by: Christian Hewitt Signed-off-by: Marcel Holtmann Signed-off-by: Sasha Levin --- drivers/bluetooth/btbcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c index 99cde1f9467d..e3e4d929e74f 100644 --- a/drivers/bluetooth/btbcm.c +++ b/drivers/bluetooth/btbcm.c @@ -324,6 +324,7 @@ static const struct bcm_subver_table bcm_uart_subver_table[] = { { 0x4103, "BCM4330B1" }, /* 002.001.003 */ { 0x410e, "BCM43341B0" }, /* 002.001.014 */ { 0x4406, "BCM4324B3" }, /* 002.004.006 */ + { 0x6109, "BCM4335C0" }, /* 003.001.009 */ { 0x610c, "BCM4354" }, /* 003.001.012 */ { 0x2122, "BCM4343A0" }, /* 001.001.034 */ { 0x2209, "BCM43430A1" }, /* 001.002.009 */ -- 2.17.1