Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1912706ybc; Sun, 17 Nov 2019 09:58:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxIWMMRE187j+biVImsdJQbkT2K3CL5UAkKdyohv1mc8VNT8DIOcPG9PNdzDHROore7hiJM X-Received: by 2002:a17:906:4d58:: with SMTP id b24mr19672124ejv.277.1574013482423; Sun, 17 Nov 2019 09:58:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574013482; cv=none; d=google.com; s=arc-20160816; b=Rvh46yEsW6iCfsV5UKbpCs/FjoAzEeWq8hwt1VvR6U8f4yUMp6zRyJuwocwC5K2pn7 v73jHOr/AC793T5+0rtwnEvfed6eh6cdjTJ1zWfsPFORXa3U2Y6tZmfWghnqDFgu6u4v F1SFnXpmHTr077KQ+kUOFKM8LBVI1huW6x9ndewWTB4PSTZkC7iXzDzPW4ra+C9PZgB8 loTWbHuDMyhzzuofay4ziMyop0gj5ljGFORBaAZyavhlYejsqOdRjdJqjoy2lFUWenif DHpjz42OHF4TfFHaihU1w74SOcK+SluZUOcQjvzj8rYAHa/mFjG+YLchqOxnIolV/Iel yXdw== 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=5xrlHyn/zKHye+GAnh7De8qb9y10xddfAIfezFOlqYo=; b=bkyU7Sv20TUChvzY7uMDtxjK6RiMkkOtGEw4Y0FnW+aB1+AsNdFhvIuWRli+bsu1Cp QiALJ8S1Sb+rbMFrYy1R2O9V1V08JNqfP162O34BtePcEv7dz9Og79+nJyRwXUk+P/cy 8onMQM0WY25NHpExW3p+EcJ+rh3qiHy/xlpQaDPNL6rIOR0jJOeW6ca48WZuiCNDc+01 WSGLUGl7Th6t64Prr9xrvoF24R9MDxfU+BjwE9rnJKzdfO6dQZPo1D6eWCAMPuiKB0rb rIoBkst8zrdhkcd/R+nJD1U69+wRT2VjYgYq9+eV5MxJVP/pJMcRJ6NtXEs0DMrIXFCe pPcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PpFVHO2O; 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 x12si9733979eju.50.2019.11.17.09.57.12; Sun, 17 Nov 2019 09:58:02 -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=PpFVHO2O; 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 S1726082AbfKQR43 (ORCPT + 99 others); Sun, 17 Nov 2019 12:56:29 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:45008 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbfKQR42 (ORCPT ); Sun, 17 Nov 2019 12:56:28 -0500 Received: by mail-wr1-f65.google.com with SMTP id f2so16769257wrs.11 for ; Sun, 17 Nov 2019 09:56:27 -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=5xrlHyn/zKHye+GAnh7De8qb9y10xddfAIfezFOlqYo=; b=PpFVHO2OzcW+yW+E90oxLBuFpIw+nu3TOOdkf1Xe2dnqWz3iZbrHdLXwphAwrb2ekm 5fpyjk81zVFkW/VG5LtZ1e4Io1WjnSN3ibXw15+TVZAIj3c2CrsNf4FFLu0vFzpzC0hs mPagAINrysa7uVt4IbFKUy5/WJ+DSGvfrE4B1h6suSayHS3ekEQFaSS7TaXyDRCDd0+q 18RprW5WFCaMoKIl3ovvlgc8TPcFGG6hX0jF9Sr0dGkvqEgx86Y4W1u4jIsZ7Jqp8cxv HwBSYHFckP+fFOuMlBfzVyrwdHk55yDKahXcfEC96x9Cp91j+yPrN+ohYEIOSblrCGPB jE/Q== 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=5xrlHyn/zKHye+GAnh7De8qb9y10xddfAIfezFOlqYo=; b=HY55fGHk9P4s3SDMr8bejDBwLxXRl628KUeWPrgfZSyhOxafWRDqhkBm+UoVwIjW7d VoNlhzYOIc4/DCdfUmdhNY8MsXggy063DAHdlWRlOjzR/4zIYY4t73n97CIGXm/j7/4G R3H6z+gLl4NMpRR5vuNpCKi1t0CbkCIZxzRAGmrl8fAwLkR21Ss/9vkuIhmfuO36xX/g WkP6kfBKIE7AnoVY/5KEy+jduOXQI07gwSkH1wIyNFWNQAw4HgfeAoZWBCdlpKLun6Ek 9WosUaqi6P07ICbdH5iShBOItO/+IY+QxunD+YK4KWoOYaBE4EjmfzaH09B+RvzCDhh6 YDBg== X-Gm-Message-State: APjAAAVj3Y7u1v5oeQlNi0Rqmld3gB65kq1PYbETmY6lLFIcNE9OzO1L 5FbLsLgkdSjI9xdrF+e3uJU= X-Received: by 2002:a5d:4684:: with SMTP id u4mr24866517wrq.352.1574013386499; Sun, 17 Nov 2019 09:56:26 -0800 (PST) Received: from localhost ([37.238.189.25]) by smtp.gmail.com with ESMTPSA id t185sm19395198wmf.45.2019.11.17.09.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 09:56:26 -0800 (PST) From: Mohammad Rasim To: linux-amlogic@lists.infradead.org, linux-bluetooth@vger.kernel.org, Johan Hedberg , Marcel Holtmann Cc: Mohammad Rasim , Kevin Hilman , Neil Armstrong , Martin Blumenstingl Subject: [RFC PATCH 4/4] Bluetooth: btbcm: Add entry for BCM4335A0 UART bluetooth Date: Sun, 17 Nov 2019 20:56:06 +0300 Message-Id: <20191117175606.5050-5-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191117175606.5050-1-mohammad.rasim96@gmail.com> References: <20191117175606.5050-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.23.0