Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3400155img; Mon, 25 Mar 2019 09:30:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrrkOXnstUypJt53hX1TQEztoCd/UF0AL9gZwa+kCWuZgmY55sBacB9FbpEjPrj9M0oSqv X-Received: by 2002:a17:902:2e83:: with SMTP id r3mr8600525plb.153.1553531452873; Mon, 25 Mar 2019 09:30:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553531452; cv=none; d=google.com; s=arc-20160816; b=BGL7xiMCOiZuFOIToBPrP4itubO2XWkKW2XGNd7TzwQUBiuQeKxxnlLKQx6pECn96f nX5y6OSflBBNGBuJU8l9oMa4F9TxnEWFKyQKhjzWJ5Rgc9kNOvgHoAPrQvQcJJ24ZMNP Zjc4Gm0b/96ltle3H2cALe9da9ihppUtXeUSkJipklnbGPsWN8VwuoOWoejlq7j/f/cK qFtbYk8+FOBnp378oG1i9Z3X3nRupw/h+iTWWCWoHgJvBovqYifsP9j/zmKJguxbgCjN PX57g6jBIhm78t3bKz00FuLVc5GobfQ3DYCAJgP0hXt+9QUdNgxyIxDpzRPUipZq+fOf gHTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fKA+/wTp0okAnhyMF1ccWYL4MyNqU1Yv+j11H+WCHyU=; b=EGcqqH5N3hFdLoICO5ajitge1F3NtvzTmnfHJwh/+HOsjpFACaDFd0HbrjPVjIQ8uJ PNrvPxPhGAadXJFIiAU1A5KQoaAVe+gTpB4OK1Lfeibu8yAikZ/H3I2dNnGFA8XQQRRC B5G+tclmEqmeoFm3r86V/LukkVMSOGAUH+I2f5pSSLLvMXhGwncGDHP0biUKmM98XIVP bkWhU8QaSCcBC4Sj0gWWrq2sSdf2FNSDuMjxb9bSSkhBH0Wd13M8h5hdVjqWaCMVFoc/ F5J6x4abHyaZdvZ+fTJv7XuFSx77m8B1OTsL3y073vTeMgPC3cEq4BkjQzuZsWq+kA4R 3m7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JNyPp0jO; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si13766195pfj.186.2019.03.25.09.30.37; Mon, 25 Mar 2019 09:30:52 -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=@chromium.org header.s=google header.b=JNyPp0jO; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729606AbfCYQ3i (ORCPT + 99 others); Mon, 25 Mar 2019 12:29:38 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:35024 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbfCYQ3h (ORCPT ); Mon, 25 Mar 2019 12:29:37 -0400 Received: by mail-pg1-f194.google.com with SMTP id g8so6857254pgf.2 for ; Mon, 25 Mar 2019 09:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fKA+/wTp0okAnhyMF1ccWYL4MyNqU1Yv+j11H+WCHyU=; b=JNyPp0jOx2S75Y7uSySiXbWEWf9+0C6llPOPqzr07Ohx5rLI1VFnl6haf+yH/4oByN xF0HT54fbIy18RH/LCu5BKZ2WJNfpZ395olAJzqAi6oK4kSdJtEGIq7lqT5dpyg0p7F2 pHoFChnelpu4KpIN2WPhqqHGx4YjpOIDcXFNQ= 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:in-reply-to:user-agent; bh=fKA+/wTp0okAnhyMF1ccWYL4MyNqU1Yv+j11H+WCHyU=; b=Y37SepWaFD2NOzPWY8NBE0QeW4tlRAnY8d4OxTcR26DtufsXoxYrM5d/oTS3/7DNVA 40aAkrmkiBWIqV9+a+JV2lvHL/ik0djAbtJCZpBS39+QXwUrZoIYTiXzb1++GeuvH49x Qp0Fn1zSVuNr1SVl4Wa4BlhzyIPTFnAHGjpyL73EmIQVUdzkRiYdv5z8rREBOEgfWSAb fL1wHo8uHjEpEBzj/BaOJb6iLEIyTBtjxpGI3yrQkMxchXsarJnH/qyNZhdMSFAPe0+C ZYg9WlwLz58U9x5naGVCNFey0Lt49Awakc0zUqVwIb0OCUAbpbmL3dmynukTJgU5YkrQ bmfQ== X-Gm-Message-State: APjAAAXrcELNsbiOYL7n0SVCjGLfKj23bx/FSo8weKh2kx26Z/iSpA7G R1/pFudiAKSca49agaxhrihYgg== X-Received: by 2002:a62:482:: with SMTP id 124mr22339586pfe.191.1553531376100; Mon, 25 Mar 2019 09:29:36 -0700 (PDT) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id z127sm21482979pgb.77.2019.03.25.09.29.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 09:29:35 -0700 (PDT) Date: Mon, 25 Mar 2019 09:29:35 -0700 From: Matthias Kaehlcke To: Harish Bandi Cc: marcel@holtmann.org, johan.hedberg@gmail.com, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, bgodavar@codeaurora.org, anubhavg@codeaurora.org, devicetree@vger.kernel.org, mark.rutland@arm.com, robh+dt@kernel.org Subject: Re: [PATCH v4 2/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip WCN3998 Message-ID: <20190325162935.GW112750@google.com> References: <1553513800-27611-1-git-send-email-c-hbandi@codeaurora.org> <1553513800-27611-3-git-send-email-c-hbandi@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1553513800-27611-3-git-send-email-c-hbandi@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 25, 2019 at 05:06:40PM +0530, Harish Bandi wrote: > This patch enables regulators for the Qualcomm Bluetooth WCN3998 > controller. > > Signed-off-by: Harish Bandi > --- > Changes in V4: > - Removed new compatible WCN3998 > - changed wcn3990 to wcn399* to represent wcn399* family > --- > Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > index 824c0e2..de9cefa 100644 > --- a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > +++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > @@ -11,20 +11,21 @@ Required properties: > - compatible: should contain one of the following: > * "qcom,qca6174-bt" > * "qcom,wcn3990-bt" > + * "qcom,wcn3998-bt" > > Optional properties for compatible string qcom,qca6174-bt: > > - enable-gpios: gpio specifier used to enable chip > - clocks: clock provided to the controller (SUSCLK_32KHZ) > > -Required properties for compatible string qcom,wcn3990-bt: > +Required properties for compatible string qcom,wcn399*-bt: I think in Linux drivers the use of 'x' is more common as a wildcard for a single letter than an asterisk. It is also in line with the function name in the driver, so I would suggest to keep thinkgs consistent and call it wcn399x everywhere. > > - vddio-supply: VDD_IO supply regulator handle. > - vddxo-supply: VDD_XO supply regulator handle. > - vddrf-supply: VDD_RF supply regulator handle. > - vddch0-supply: VDD_CH0 supply regulator handle. > > -Optional properties for compatible string qcom,wcn3990-bt: > +Optional properties for compatible string qcom,wcn399*-bt: > > - max-speed: see Documentation/devicetree/bindings/serial/slave-device.txt > > @@ -44,7 +45,7 @@ serial@7570000 { > > serial@898000 { > bluetooth { > - compatible = "qcom,wcn3990-bt"; > + compatible = "qcom,wcn399*-bt"; Typically wildcards aren't used in DT examples as Marcel already mentioned on v3. IMO the wildcard degrades the value of the example, rather than enhancing it. I think just listing the compatible string is enough, no need for an wcn3998/x specific example since it's essentialy the same as wcn3990. Thanks Matthias