Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2630507ybc; Mon, 18 Nov 2019 02:08:52 -0800 (PST) X-Google-Smtp-Source: APXvYqze/ityZv6WsC6WgAis6FPfkNoMys/FRG/6+Ug2g1jwMtVc4EG2E09KY+v+JvYHbUltDbPJ X-Received: by 2002:a1c:3b44:: with SMTP id i65mr27103693wma.1.1574071732195; Mon, 18 Nov 2019 02:08:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574071732; cv=none; d=google.com; s=arc-20160816; b=lnFVI765GypDrhNqqrElM46UZHbG8PJJEnAi2Q93xRkxlqKexqkR/5MaC0dJ5HMcIj RxT+NNQs9daBdYAuH7idQnhJvGSd9HqablMAs+Xc9lJyepGjLVa8jmWI9DvnuGHD4pyN po9uR5s2tYNGcIrQb7M8zR3RREcUIkh2S1iekzXLMeb30LojljVyZ0UKVwR0eybmPCgm RuxT/ttNk7QHUuJPRuK2neDqOk8+TyHZI3IXIuML7rF+YEUefrdheBbA3URkWbi4dbtE Q9xntsoDsvo2KOSWj/IquqbdOem7TF61v887haGKObR/U+9J7hCfeHLALB3WXXswmGka Dakw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature; bh=uHDOMZ37yNgCR7vTGPsGK7epgcWZ/WmdIAqGlnpnBD8=; b=XxIYBz77WMAR7hY3HVVxyxOvJmGyKHimyC6Ent67MoskYEOnNhD6PvNNe2tBAbN1bZ VL7DqGXU7rDG/lnH3YieQRCHc8ZZ4lOD/HK+WykyBnFYplaHJmEpsMr0gCmAKtVLCYQh X5pfPSnYQ2Ww8bGFdAVGSmZt0FWgO2AP6j44ROn0VfjNUZo3KWySYCLIZBL6D/0C4ohw /fiz2O52r1uq+kZns+IzMgynE4wF4fKcW7afONJmZ2TIvZt1LeruQ2t3jlxpMEDELxmD HUCeujZdO5/1HLuXNOqhvavEtV+g4THFRx1I6A2zRm1JirfQ/Gbe4sedxAMx1FlrwiXQ MCWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1rFC3N+s; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v30si2229002edb.132.2019.11.18.02.08.14; Mon, 18 Nov 2019 02:08:52 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1rFC3N+s; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726822AbfKRKFD (ORCPT + 99 others); Mon, 18 Nov 2019 05:05:03 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39741 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726759AbfKRKFC (ORCPT ); Mon, 18 Nov 2019 05:05:02 -0500 Received: by mail-wr1-f65.google.com with SMTP id l7so18652816wrp.6 for ; Mon, 18 Nov 2019 02:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=uHDOMZ37yNgCR7vTGPsGK7epgcWZ/WmdIAqGlnpnBD8=; b=1rFC3N+s0Tubu8STaAwRxgoSAy2c+Js/SotPR7rhzKjy51lyPInmz4/gWcbZUS28KL lOIkzf6WP4zOQntrgTMrfMp45cllMkJt27I563cLtyaCqL+f0QrONW4nI/t8OewZHVLS wwUZL6D8maNkaCYaarSUyIYV7hzLUEMraICw021RqpkdurIvpfkddV1XegZNpTCr/8+c 3EDKgyA+LU8cOFhvV4m4Thjp/m7saUjNuJP7obvA892/Dmw28BVQybWBBA1Kh/pbmKHN MhPXnDi6nbff/Cic8pctB/11r1JyfxEh7dFU/eeh3aST7CAg7gdDDYxSxidjA1INfYf5 RcDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=uHDOMZ37yNgCR7vTGPsGK7epgcWZ/WmdIAqGlnpnBD8=; b=VauPKMz2mQIOp3EH5a4suisDS2ueJC7JebvvwWpfY1iSpLBktSV0moJlvzGfZGmKXi lopz4eBjw1So8Hjjs9Gnfr2GgSIlWjxmFdM1IMRHoqC//2uJ7h5dPvTWP9UpDkjXkvYa T8LGQgEO+BaTN1T38SaFE67KLLCjvyunpYXS0nVqWrp7X9A+8giI8petWFp2hf2hvh8d YHWaVVRvHoDuDMUoqaIUE+sVJjfmyJ4h9cbyj9nH2/5wPjaiStJCXhsi0CJLjc7Tix2T lvU8Z1Ix+i+DiPdDS6yNXwhvDPVupQCcQnp5BByL2l7sRrBX04JvSGSe6ASNbXiyjcet j9YQ== X-Gm-Message-State: APjAAAXd7tOeMdoci2pZpGIKbbxcRl3iNdt/uDA5k84cjOnEU3ACmYBg lqgUBPxZFkyHAUYwDHoJ6N77/w== X-Received: by 2002:adf:b1cb:: with SMTP id r11mr20165524wra.246.1574071498805; Mon, 18 Nov 2019 02:04:58 -0800 (PST) Received: from [192.168.1.62] (176-150-251-154.abo.bbox.fr. [176.150.251.154]) by smtp.gmail.com with ESMTPSA id g11sm20029644wmh.27.2019.11.18.02.04.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Nov 2019 02:04:58 -0800 (PST) Subject: Re: [RFC PATCH 4/4] Bluetooth: btbcm: Add entry for BCM4335A0 UART bluetooth To: Mohammad Rasim , linux-amlogic@lists.infradead.org, linux-bluetooth@vger.kernel.org, Johan Hedberg , Marcel Holtmann Cc: Kevin Hilman , Martin Blumenstingl References: <20191117175606.5050-1-mohammad.rasim96@gmail.com> <20191117175606.5050-5-mohammad.rasim96@gmail.com> From: Neil Armstrong Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= mQENBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAG0KE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT6JATsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7DoVwuUkjHfIRXdslbrxi4pk5VKU6ZP9AKsN NtMZntB8WrBTtkAZfZbTF7850uwd3eU5cN/7N1Q6g0JQihE7w4GlIkEpQ8vwSg5W7hkx3yQ6 2YzrUZh/b7QThXbNZ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W4trmui NIJCOku8SYansq34QzYM0x3UFRwff+45zNBEVzctSnremg1mVgrzOfXU8rt+4N1b2MxorPF8 619aCwVP7U16qNSBaqiAJr4e5SNEnoAq18+1Gp8QsFG0ARY8xp+qaKBByWES7lRi3QbqAKZf yOHS6gmYo9gBmuAhc65/VtHMJtxwjpUeN4Bcs9HUpDMDVHdfeRa73wM+wY5potfQ5zkSp0Jp bxnv/cRBH6+c43stTffprd//4Hgz+nJcCgZKtCYIAPkUxABC85ID2CidzbraErVACmRoizhT KR2OiqSLW2x4xdmSiFNcIWkWJB6Qdri0Fzs2dHe8etD1HYaht1ZhZ810s7QOL7JwypO8dscN KTEkyoTGn6cWj0CX+PeP4xp8AR8ot4d0BhtUY34UPzjE1/xyrQFAdnLd0PP4wXxdIUuRs0+n WLY9Aou/vC1LAdlaGsoTVzJ2gX4fkKQIWhX0WVk41BSFeDKQ3RQ2pnuzwedLO94Bf6X0G48O VsbXrP9BZ6snXyHfebPnno/te5XRqZTL9aJOytB/1iUna+1MAwBxGFPvqeEUUyT+gx1l3Acl ZaTUOEkgIor5losDrePdPgE= Organization: Baylibre Message-ID: Date: Mon, 18 Nov 2019 11:04:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191117175606.5050-5-mohammad.rasim96@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On 17/11/2019 18:56, Mohammad Rasim wrote: > 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 */ Ack for this one > { } > }; > > 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" }, This could be omitted if the I/F is the same as "brcm,bcm43438-bt". > { }, > }; > MODULE_DEVICE_TABLE(of, bcm_bluetooth_of_match); > Neil