Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3107864ybc; Mon, 18 Nov 2019 09:37:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwpyFKfZc3gYj6jqMDb3bCVd6md3HDjxh6ChXD4ECphpn216tqT4xZ9Bmc7VjalNMMlNR11 X-Received: by 2002:a1c:4c15:: with SMTP id z21mr210030wmf.132.1574098628067; Mon, 18 Nov 2019 09:37:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574098628; cv=none; d=google.com; s=arc-20160816; b=eqDj5wZSagp1LD6bLQTqljK5RPAVZ3jJnjh9Y1+hpRIxqr+vxER8MuAXKuz/8fqrOc 9gIuD8gPzJlkWEi8IK25I167GtgCtCRW2GolE3AcK5NQ6aFTUMEcOoskH/PCPUoroTRN T01O3x5KWuz7qPUiKsftUxfGfuT2IlZ8uG5RfPDehCNCNksgpR+AFWSLAU1eO1ZgwAry 72YMSX2JhWiKMKuM++iGhiOVQZFLJk2Odv/aLClc/D0yeENwSWmXHn1VI3fbqFlmzdnU 5+3LFTus1mLIs2oBaTJSjcidVZvLTI/vGSyah0Xd/zuUlslbB7weE47sX4LiZ2nYvFKK 19IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fgiG8DT5fPgARrDyuF+q220ThmwLgCP/WJyEtvcPUHs=; b=t4LMI0kL1vxJxL3AzkLWCMyKzpUuuegja/G9naQtdcWpCdqy9gTlbX9Zcm/NLIQVkq UxKXrf92Pvi754rG1NBEQ2KaM5alGP3QArfXchAYGFRsyYeQnUnNEMjl/K9NkgdYETWZ kYs2w9QXBydvXSzxbtxlA1/omIn4zdOEONEsYaJ4OPLhchTJAWVIQwEgxri6Mf8NkJrW 514Cy/GCKbTkrGuWigdoGBjslv+bxHCd+uAJQo53b6KYGp8FsRMH0N50ewVMbnm6p2V/ J4Q87FNPAS7N3Pim7c1pptVgXwttlrP2V/kT7rnT5FArK187c3EY6SAq4ZuIysAYkTBS HqxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TKjpiZLs; 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 y2si14723937ede.431.2019.11.18.09.36.35; Mon, 18 Nov 2019 09:37:08 -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=TKjpiZLs; 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 S1726336AbfKRRf1 (ORCPT + 99 others); Mon, 18 Nov 2019 12:35:27 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42040 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726706AbfKRRfZ (ORCPT ); Mon, 18 Nov 2019 12:35:25 -0500 Received: by mail-wr1-f67.google.com with SMTP id a15so20534466wrf.9 for ; Mon, 18 Nov 2019 09:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=fgiG8DT5fPgARrDyuF+q220ThmwLgCP/WJyEtvcPUHs=; b=TKjpiZLsVfjGHbNGCQvjk2b4eZXUn2SgdA/npAadsfs0xhr2L2N+B6Ck4kz4i/745E 5Ipnyggb4fqwN1POnazcjtbIjvPXpofSC82NWd5+FlSCFtLxRmZvm/5CbVMlV9evzieA p/GOrXLExSU3aKPBt1kkYXNWd7S9WhMgroA5f0mXjRhVxN70bwZb6/I1PGdyTT7XKzz7 D0WzcdkJ4B31weYKJ4G/Zrz/F8A7NgTkUpTy3eRr1jFv37f7tUQZnoD501M1n5YUGbGe PtMJY9oyjQ7sEWiFdZoiHPM1pdB+QUC/NDJHwY39pYnx8HKnnk4vt03ZXwbyqHyHZyse Aenw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=fgiG8DT5fPgARrDyuF+q220ThmwLgCP/WJyEtvcPUHs=; b=SOfbf+iMg9relqUjqoRHKR6KGk4Txge8JxWahqBuJYx2u2tW+wbSUHUIqB47H3qS+z zy3mK5c8KlgWUtYzysBB/6AC4NM8Sglr+kFbM1HPlNGQMSDy998GGLwjjNBT7XB3JzVN cfXHaW+rWmnxMWAbw6MQFUyP7lXRYMHJ69ZT/i9QnE6Q2aixbgpZStR381z5zHgaTuD4 n7Qr1vMxyF7dIMRuc8i0WR5zfpAIHKHT2Y3tMfM4doAFYIkpvaGf3ld21qdGF5puFfqB 8dcTZT9+SNPUFqHbPUh82YzBu3dhCgZWsKGz20P6Kdzwhe3LuWS0pQ6pRr4UDAoR20gM sAmQ== X-Gm-Message-State: APjAAAVxn2531eC2oS+CrWbS/HkVQm3Dw7xbABm8SjiL39dYK5hSTq8i 9ZPrPcHpnKUmrpTuztloKco= X-Received: by 2002:a5d:67c2:: with SMTP id n2mr31293733wrw.222.1574098523590; Mon, 18 Nov 2019 09:35:23 -0800 (PST) Received: from localhost ([37.238.189.2]) by smtp.gmail.com with ESMTPSA id n65sm70024wmf.28.2019.11.18.09.35.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2019 09:35:23 -0800 (PST) Date: Mon, 18 Nov 2019 20:35:20 +0300 From: Mohammad Rasim To: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Kevin Hilman , linux-amlogic@lists.infradead.org, Neil Armstrong , linux-bluetooth@vger.kernel.org, Johan Hedberg , Marcel Holtmann Subject: Re: [RFC PATCH 1/2] Add entry for BCM4335A0 UART bluetooth Message-ID: <20191118173520.wfznan64jcaawndk@manjaro.localdomain> References: <20191115165026.19376-1-mohammad.rasim96@gmail.com> <20191115165026.19376-2-mohammad.rasim96@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On 19/11/16 10:43AM, Andreas F?rber wrote: > Am 15.11.19 um 17:50 schrieb Mohammad Rasim: > > Signed-off-by: Mohammad Rasim > > Lacking a commit description. Please add a sentence. > > > --- > > 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 */ > > { } > > }; > > Beyond this patch: There appears to be no order in this table at all? > Not alphabetically, not numerically, not by comment. > > > > > diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c > > index 7646636f2d18..7b4bb5dbea1d 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" }, > > You can't use compatible strings without defining the binding first. Why > do you need it? If you do, use lowercase names. > I don't really need it per se, I can use any compatible (i've used bcm43438-bt before) but I thought I'd add a compatible so that the device dts can describe the exact model of the module, if that is ok I will update the broadcom-bluetooth.txt binding in the next version > > { }, > > }; > > MODULE_DEVICE_TABLE(of, bcm_bluetooth_of_match); > > Regards, > Andreas > > -- > SUSE Software Solutions Germany GmbH > Maxfeldstr. 5, 90409 N?rnberg, Germany > GF: Felix Imend?rffer > HRB 36809 (AG N?rnberg)